mirror of
https://github.com/acpica/acpica/
synced 2025-01-19 16:09:19 +03:00
allow Linux to define ACPI_DEBUG but not have to define
ACPI_DISASSEMBLER date 2002.07.26.18.17.00; author agrover; state Exp;
This commit is contained in:
parent
9c80408829
commit
cc7dda842c
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: aclocal.h - Internal data types used across the ACPI subsystem
|
||||
* $Revision: 1.172 $
|
||||
* $Revision: 1.173 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -659,7 +659,7 @@ ACPI_STATUS (*ACPI_EXECUTE_OP) (
|
||||
*/
|
||||
typedef struct acpi_opcode_info
|
||||
{
|
||||
#ifdef ACPI_DISASSEMBLER
|
||||
#if defined(ACPI_DISASSEMBLER) || defined(ACPI_DEBUG)
|
||||
NATIVE_CHAR *Name; /* Opcode name (disassembler/debug only) */
|
||||
#endif
|
||||
UINT32 ParseArgs; /* Grammar/Parse time arguments */
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: acmacros.h - C macros for the entire subsystem.
|
||||
* $Revision: 1.125 $
|
||||
* $Revision: 1.126 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -378,11 +378,15 @@
|
||||
/*
|
||||
* Macros for the master AML opcode table
|
||||
*/
|
||||
#ifdef ACPI_DISASSEMBLER
|
||||
#if defined(ACPI_DISASSEMBLER) || defined (ACPI_DEBUG)
|
||||
#define ACPI_OP(Name,PArgs,IArgs,ObjType,Class,Type,Flags) {Name,PArgs,IArgs,Flags,ObjType,Class,Type}
|
||||
#define ACPI_DISASM_ONLY_MEMBERS(a) a;
|
||||
#else
|
||||
#define ACPI_OP(Name,PArgs,IArgs,ObjType,Class,Type,Flags) {PArgs,IArgs,Flags,ObjType,Class,Type}
|
||||
#endif
|
||||
|
||||
#ifdef ACPI_DISASSEMBLER
|
||||
#define ACPI_DISASM_ONLY_MEMBERS(a) a;
|
||||
#else
|
||||
#define ACPI_DISASM_ONLY_MEMBERS(a)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user