Print this page
update to acpica-unix2-20140114
update to acpica-unix2-20130927
acpica-unix2-20130823
PANKOVs restructure

*** 3,13 **** * Name: acdebug.h - ACPI/AML debugger * *****************************************************************************/ /* ! * Copyright (C) 2000 - 2011, Intel Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: --- 3,13 ---- * Name: acdebug.h - ACPI/AML debugger * *****************************************************************************/ /* ! * Copyright (C) 2000 - 2014, Intel Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met:
*** 45,73 **** #define __ACDEBUG_H__ #define ACPI_DEBUG_BUFFER_SIZE 0x4000 /* 16K buffer for return objects */ ! typedef struct CommandInfo { char *Name; /* Command Name */ UINT8 MinArgs; /* Minimum arguments required */ ! } COMMAND_INFO; ! typedef struct ArgumentInfo { char *Name; /* Argument Name */ ! } ARGUMENT_INFO; ! typedef struct acpi_execute_walk { UINT32 Count; UINT32 MaxCount; ! } ACPI_EXECUTE_WALK; #define PARAM_LIST(pl) pl #define DBTEST_OUTPUT_LEVEL(lvl) if (AcpiGbl_DbOpt_verbose) #define VERBOSE_PRINT(fp) DBTEST_OUTPUT_LEVEL(lvl) {\ --- 45,81 ---- #define __ACDEBUG_H__ #define ACPI_DEBUG_BUFFER_SIZE 0x4000 /* 16K buffer for return objects */ ! typedef struct acpi_db_command_info { char *Name; /* Command Name */ UINT8 MinArgs; /* Minimum arguments required */ ! } ACPI_DB_COMMAND_INFO; ! typedef struct acpi_db_command_help { + UINT8 LineCount; /* Number of help lines */ + char *Invocation; /* Command Invocation */ + char *Description; /* Command Description */ + + } ACPI_DB_COMMAND_HELP; + + typedef struct acpi_db_argument_info + { char *Name; /* Argument Name */ ! } ACPI_DB_ARGUMENT_INFO; ! typedef struct acpi_db_execute_walk { UINT32 Count; UINT32 MaxCount; ! } ACPI_DB_EXECUTE_WALK; #define PARAM_LIST(pl) pl #define DBTEST_OUTPUT_LEVEL(lvl) if (AcpiGbl_DbOpt_verbose) #define VERBOSE_PRINT(fp) DBTEST_OUTPUT_LEVEL(lvl) {\
*** 105,117 **** void AcpiDbDisplayTableInfo ( char *TableArg); void AcpiDbUnloadAcpiTable ( ! char *TableArg, ! char *InstanceArg); void AcpiDbSendNotify ( char *Name, UINT32 Value); --- 113,128 ---- void AcpiDbDisplayTableInfo ( char *TableArg); void + AcpiDbDisplayTemplate ( + char *BufferArg); + + void AcpiDbUnloadAcpiTable ( ! char *Name); void AcpiDbSendNotify ( char *Name, UINT32 Value);
*** 131,155 **** void AcpiDbDisplayResources ( char *ObjectArg); void AcpiDbDisplayGpes ( ! void); void AcpiDbDisplayHandlers ( void); void AcpiDbGenerateGpe ( char *GpeArg, ! char *BlockArg); /* * dbmethod - control method commands */ void AcpiDbSetMethodBreakpoint ( char *Location, --- 142,205 ---- void AcpiDbDisplayResources ( char *ObjectArg); + ACPI_HW_DEPENDENT_RETURN_VOID ( void AcpiDbDisplayGpes ( ! void)) void AcpiDbDisplayHandlers ( void); + ACPI_HW_DEPENDENT_RETURN_VOID ( void AcpiDbGenerateGpe ( char *GpeArg, ! char *BlockArg)) + ACPI_HW_DEPENDENT_RETURN_VOID ( + void + AcpiDbGenerateSci ( + void)) + void + AcpiDbExecuteTest ( + char *TypeArg); + + /* + * dbconvert - miscellaneous conversion routines + */ + ACPI_STATUS + AcpiDbHexCharToValue ( + int HexChar, + UINT8 *ReturnValue); + + ACPI_STATUS + AcpiDbConvertToPackage ( + char *String, + ACPI_OBJECT *Object); + + ACPI_STATUS + AcpiDbConvertToObject ( + ACPI_OBJECT_TYPE Type, + char *String, + ACPI_OBJECT *Object); + + UINT8 * + AcpiDbEncodePldBuffer ( + ACPI_PLD_INFO *PldInfo); + + void + AcpiDbDumpPldBuffer ( + ACPI_OBJECT *ObjDesc); + + + /* * dbmethod - control method commands */ void AcpiDbSetMethodBreakpoint ( char *Location,
*** 191,200 **** --- 241,254 ---- AcpiDbDumpNamespace ( char *StartArg, char *DepthArg); void + AcpiDbDumpNamespacePaths ( + void); + + void AcpiDbDumpNamespaceByOwner ( char *OwnerArg, char *DepthArg); ACPI_STATUS
*** 284,293 **** --- 338,352 ---- AcpiDbCreateExecutionThreads ( char *NumThreadsArg, char *NumLoopsArg, char *MethodNameArg); + void + AcpiDbDeleteObjects ( + UINT32 Count, + ACPI_OBJECT *Objects); + #ifdef ACPI_DBG_TRACK_ALLOCATIONS UINT32 AcpiDbGetCacheInfo ( ACPI_MEMORY_LIST *Cache); #endif
*** 297,307 **** * dbfileio - Debugger file I/O commands */ ACPI_OBJECT_TYPE AcpiDbMatchArgument ( char *UserArgument, ! ARGUMENT_INFO *Arguments); void AcpiDbCloseDebugFile ( void); --- 356,366 ---- * dbfileio - Debugger file I/O commands */ ACPI_OBJECT_TYPE AcpiDbMatchArgument ( char *UserArgument, ! ACPI_DB_ARGUMENT_INFO *Arguments); void AcpiDbCloseDebugFile ( void);
*** 337,347 **** --- 396,410 ---- char * AcpiDbGetFromHistory ( char *CommandNumArg); + char * + AcpiDbGetHistoryByIndex ( + UINT32 CommanddNum); + /* * dbinput - user front-end to the AML debugger */ ACPI_STATUS AcpiDbCommandDispatch (
*** 397,406 **** ACPI_NAMESPACE_NODE * AcpiDbLocalNsLookup ( char *Name); void ! AcpiDbUInt32ToHexString ( UINT32 Value, char *Buffer); #endif /* __ACDEBUG_H__ */ --- 460,469 ---- ACPI_NAMESPACE_NODE * AcpiDbLocalNsLookup ( char *Name); void ! AcpiDbUint32ToHexString ( UINT32 Value, char *Buffer); #endif /* __ACDEBUG_H__ */