diff options
Diffstat (limited to 'source/include')
| -rw-r--r-- | source/include/acglobal.h | 4 | ||||
| -rw-r--r-- | source/include/acoutput.h | 6 | ||||
| -rw-r--r-- | source/include/acpixf.h | 2 | ||||
| -rw-r--r-- | source/include/acstruct.h | 5 | ||||
| -rw-r--r-- | source/include/actbl.h | 1 | ||||
| -rw-r--r-- | source/include/actypes.h | 6 | 
6 files changed, 16 insertions, 8 deletions
| diff --git a/source/include/acglobal.h b/source/include/acglobal.h index 3c2a4ed4ce0e..b21c92bdeb98 100644 --- a/source/include/acglobal.h +++ b/source/include/acglobal.h @@ -317,11 +317,7 @@ ACPI_GLOBAL (BOOLEAN,                   AcpiGbl_DisableMemTracking);   *   ****************************************************************************/ -#if !defined (ACPI_NO_METHOD_EXECUTION) || defined (ACPI_CONSTANT_EVAL_ONLY)  #define NUM_PREDEFINED_NAMES            10 -#else -#define NUM_PREDEFINED_NAMES            9 -#endif  ACPI_GLOBAL (ACPI_NAMESPACE_NODE,       AcpiGbl_RootNodeStruct);  ACPI_GLOBAL (ACPI_NAMESPACE_NODE *,     AcpiGbl_RootNode); diff --git a/source/include/acoutput.h b/source/include/acoutput.h index 358ff55a08bf..2a4d31574bc7 100644 --- a/source/include/acoutput.h +++ b/source/include/acoutput.h @@ -216,7 +216,8 @@  #define ACPI_LV_RESOURCES           0x00010000  #define ACPI_LV_USER_REQUESTS       0x00020000  #define ACPI_LV_PACKAGE             0x00040000 -#define ACPI_LV_VERBOSITY1          0x0007FF40 | ACPI_LV_ALL_EXCEPTIONS +#define ACPI_LV_EVALUATION          0x00080000 +#define ACPI_LV_VERBOSITY1          0x000FFF40 | ACPI_LV_ALL_EXCEPTIONS  /* Trace verbosity level 2 [Function tracing and memory allocation] */ @@ -285,6 +286,7 @@  #define ACPI_DB_INTERRUPTS          ACPI_DEBUG_LEVEL (ACPI_LV_INTERRUPTS)  #define ACPI_DB_USER_REQUESTS       ACPI_DEBUG_LEVEL (ACPI_LV_USER_REQUESTS)  #define ACPI_DB_PACKAGE             ACPI_DEBUG_LEVEL (ACPI_LV_PACKAGE) +#define ACPI_DB_EVALUATION          ACPI_DEBUG_LEVEL (ACPI_LV_EVALUATION)  #define ACPI_DB_MUTEX               ACPI_DEBUG_LEVEL (ACPI_LV_MUTEX)  #define ACPI_DB_EVENTS              ACPI_DEBUG_LEVEL (ACPI_LV_EVENTS) @@ -292,7 +294,7 @@  /* Defaults for DebugLevel, debug and normal */ -#define ACPI_DEBUG_DEFAULT          (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT | ACPI_LV_REPAIR) +#define ACPI_DEBUG_DEFAULT          (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT | ACPI_LV_EVALUATION | ACPI_LV_REPAIR)  #define ACPI_NORMAL_DEFAULT         (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT | ACPI_LV_REPAIR)  #define ACPI_DEBUG_ALL              (ACPI_LV_AML_DISASSEMBLE | ACPI_LV_ALL_EXCEPTIONS | ACPI_LV_ALL) diff --git a/source/include/acpixf.h b/source/include/acpixf.h index 27e9aa7f298d..24deae67851a 100644 --- a/source/include/acpixf.h +++ b/source/include/acpixf.h @@ -154,7 +154,7 @@  /* Current ACPICA subsystem version in YYYYMMDD format */ -#define ACPI_CA_VERSION                 0x20181031 +#define ACPI_CA_VERSION                 0x20181213  #include "acconfig.h"  #include "actypes.h" diff --git a/source/include/acstruct.h b/source/include/acstruct.h index 9c55d357ec58..177057266edf 100644 --- a/source/include/acstruct.h +++ b/source/include/acstruct.h @@ -205,6 +205,8 @@ typedef struct acpi_walk_state      ACPI_PARSE_STATE                ParserState;        /* Current state of parser */      UINT32                          PrevArgTypes;      UINT32                          ArgCount;           /* push for fixed or var args */ +    UINT16                          MethodNestingDepth; +    UINT8                           MethodIsNested;      struct acpi_namespace_node      Arguments[ACPI_METHOD_NUM_ARGS];        /* Control method arguments */      struct acpi_namespace_node      LocalVariables[ACPI_METHOD_NUM_LOCALS]; /* Control method locals */ @@ -219,7 +221,8 @@ typedef struct acpi_walk_state      struct acpi_namespace_node      *MethodCallNode;    /* Called method Node*/      ACPI_PARSE_OBJECT               *MethodCallOp;      /* MethodCall Op if running a method */      union acpi_operand_object       *MethodDesc;        /* Method descriptor if running a method */ -    struct acpi_namespace_node      *MethodNode;        /* Method node if running a method. */ +    struct acpi_namespace_node      *MethodNode;        /* Method node if running a method */ +    char                            *MethodPathname;    /* Full pathname of running method */      ACPI_PARSE_OBJECT               *Op;                /* Current parser op */      const ACPI_OPCODE_INFO          *OpInfo;            /* Info on current opcode */      ACPI_PARSE_OBJECT               *Origin;            /* Start of walk [Obsolete] */ diff --git a/source/include/actbl.h b/source/include/actbl.h index 58a9b73455fb..f6a2f7c50b1c 100644 --- a/source/include/actbl.h +++ b/source/include/actbl.h @@ -182,6 +182,7 @@  #define ACPI_SIG_XSDT           "XSDT"      /* Extended  System Description Table */  #define ACPI_SIG_SSDT           "SSDT"      /* Secondary System Description Table */  #define ACPI_RSDP_NAME          "RSDP"      /* Short name for RSDP, not signature */ +#define ACPI_OEM_NAME           "OEM"       /* Short name for OEM, not signature */  /* diff --git a/source/include/actypes.h b/source/include/actypes.h index 4d2438c9ec69..396fb52440ac 100644 --- a/source/include/actypes.h +++ b/source/include/actypes.h @@ -678,6 +678,10 @@ typedef UINT64                          ACPI_INTEGER;  #define ACPI_VALIDATE_RSDP_SIG(a)       (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_SIG_RSDP, 8))  #define ACPI_MAKE_RSDP_SIG(dest)        (memcpy (ACPI_CAST_PTR (char, (dest)), ACPI_SIG_RSDP, 8)) +/* Support for OEMx signature (x can be any character) */ +#define ACPI_IS_OEM_SIG(a)        (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_OEM_NAME, 3) &&\ +                                      strnlen (a, ACPI_NAME_SIZE) == ACPI_NAME_SIZE) +  /*   * Algorithm to obtain access bit width.   * Can be used with AccessWidth of ACPI_GENERIC_ADDRESS and AccessSize of @@ -1512,6 +1516,8 @@ typedef enum  #define ACPI_OSI_WIN_10_RS1             0x0E  #define ACPI_OSI_WIN_10_RS2             0x0F  #define ACPI_OSI_WIN_10_RS3             0x10 +#define ACPI_OSI_WIN_10_RS4             0x11 +#define ACPI_OSI_WIN_10_RS5             0x12  /* Definitions of getopt */ | 
