Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

acpitabl.h File Reference

#include <pshpack1.h>
#include <poppack.h>

Go to the source code of this file.

Classes

struct  _RSDP
struct  _DESCRIPTION_HEADER
struct  _FACS
struct  _GEN_ADDR
struct  _FADT
struct  _MAPIC
struct  _APICTABLE
struct  _PROCLOCALAPIC
struct  _IOAPIC
struct  ISA_VECTOR
struct  IO_NMISOURCE
struct  LOCAL_NMISOURCE
struct  _SMARTBATTTABLE
struct  _RSDT
struct  _DSDT
struct  PROC_LOCAL_APIC
struct  _DEBUG_PORT_TABLE

Defines

#define RSDP_SIGNATURE   0x2052545020445352
#define RSDP_SEARCH_RANGE_BEGIN   0xE0000
#define RSDP_SEARCH_RANGE_END   0xFFFFF
#define RSDP_SEARCH_RANGE_LENGTH   (RSDP_SEARCH_RANGE_END-RSDP_SEARCH_RANGE_BEGIN+1)
#define RSDP_SEARCH_INTERVAL   16
#define ACPI_MAX_SIGNATURE   4
#define ACPI_MAX_OEM_ID   6
#define ACPI_MAX_TABLE_ID   8
#define ACPI_MAX_TABLE_STRINGS   ACPI_MAX_SIGNATURE + ACPI_MAX_OEM_ID + ACPI_MAX_TABLE_ID
#define FACS_SIGNATURE   0x53434146
#define GL_PENDING_BIT   0x00
#define GL_PENDING   (1 << GL_PENDING_BIT)
#define GL_OWNER_BIT   0x01
#define GL_OWNER   (1 << GL_OWNER_BIT)
#define GL_NON_RESERVED_BITS_MASK   (GL_PENDING+GL_OWNED)
#define FACS_S4BIOS_SUPPORTED_BIT   0
#define FACS_S4BIOS_SUPPORTED   (1 << FACS_S4BIOS_SUPPORTED_BIT)
#define FADT_SIGNATURE   0x50434146
#define WRITEBACKINVALIDATE_WORKS_BIT   0
#define WRITEBACKINVALIDATE_WORKS   (1 << WRITEBACKINVALIDATE_WORKS_BIT)
#define WRITEBACKINVALIDATE_DOESNT_INVALIDATE_BIT   1
#define WRITEBACKINVALIDATE_DOESNT_INVALIDATE   (1 << WRITEBACKINVALIDATE_DOESNT_INVALIDATE_BIT)
#define SYSTEM_SUPPORTS_C1_BIT   2
#define SYSTEM_SUPPORTS_C1   (1 << SYSTEM_SUPPORTS_C1_BIT)
#define P_LVL2_UP_ONLY_BIT   3
#define P_LVL2_UP_ONLY   (1 << P_LVL2_UP_ONLY_BIT)
#define PWR_BUTTON_GENERIC_BIT   4
#define PWR_BUTTON_GENERIC   (1 << PWR_BUTTON_GENERIC_BIT)
#define SLEEP_BUTTON_GENERIC_BIT   5
#define SLEEP_BUTTON_GENERIC   (1 << SLEEP_BUTTON_GENERIC_BIT)
#define RTC_WAKE_GENERIC_BIT   6
#define RTC_WAKE_GENERIC   (1 << RTC_WAKE_GENERIC_BIT)
#define RTC_WAKE_FROM_S4_BIT   7
#define RTC_WAKE_FROM_S4   (1 << RTC_WAKE_FROM_S4_BIT)
#define TMR_VAL_EXT_BIT   8
#define TMR_VAL_EXT   (1 << TMR_VAL_EXT_BIT)
#define DCK_CAP_BIT   9
#define DCK_CAP   (1 << DCK_CAP_BIT)
#define RESET_CAP_BIT   10
#define RESET_CAP   (1 << RESET_CAP_BIT)
#define C2_MAX_LATENCY   100
#define C3_MAX_LATENCY   1000
#define LEGACY_DEVICES   1
#define I8042   2
#define ANYSIZE_ARRAY   1
#define PCAT_COMPAT_BIT   0
#define PCAT_COMPAT   (1 << PCAT_COMPAT_BIT)
#define PROCESSOR_LOCAL_APIC   0
#define IO_APIC   1
#define ISA_VECTOR_OVERRIDE   2
#define IO_NMI_SOURCE   3
#define LOCAL_NMI_SOURCE   4
#define PROCESSOR_LOCAL_APIC_LENGTH   8
#define IO_APIC_LENGTH   12
#define ISA_VECTOR_OVERRIDE_LENGTH   10
#define IO_NMI_SOURCE_LENGTH   8
#define LOCAL_NMI_SOURCE_LENGTH   6
#define PO_BITS   3
#define POLARITY_HIGH   1
#define POLARITY_LOW   3
#define POLARITY_CONFORMS_WITH_BUS   0
#define EL_BITS   0xc
#define EL_BIT_SHIFT   2
#define EL_EDGE_TRIGGERED   4
#define EL_LEVEL_TRIGGERED   0xc
#define EL_CONFORMS_WITH_BUS   0
#define PLAF_ENABLED_BIT   0
#define PLAF_ENABLED   (1 << PLAF_ENABLED_BIT)
#define RSDT_SIGNATURE   0x54445352
#define min(a, b)   (((a) < (b)) ? (a) : (b))
#define NumTableEntriesFromRSDTPointer(p)   (p->Header.Length-min(p->Header.Length,sizeof(DESCRIPTION_HEADER)))/4
#define APIC_SIGNATURE   0x43495041
#define DSDT_SIGNATURE   0x54445344
#define SSDT_SIGNATURE   0x54445353
#define PSDT_SIGNATURE   0x54445350
#define SBST_SIGNATURE   0x54534253
#define DBGP_SIGNATURE   0x50474244

Typedefs

typedef _RSDP RSDP
typedef RSDPPRSDP
typedef _DESCRIPTION_HEADER DESCRIPTION_HEADER
typedef DESCRIPTION_HEADERPDESCRIPTION_HEADER
typedef _FACS FACS
typedef FACSPFACS
typedef _GEN_ADDR GEN_ADDR
typedef _GEN_ADDRPGEN_ADDR
typedef _FADT FADT
typedef FADTPFADT
typedef _MAPIC MAPIC
typedef MAPICPMAPIC
typedef _APICTABLE APICTABLE
typedef APICTABLEPAPICTABLE
typedef _PROCLOCALAPIC PROCLOCALAPIC
typedef PROCLOCALAPICPPROCLOCALAPIC
typedef _IOAPIC IOAPIC
typedef IOAPICPIOAPIC
typedef * PISA_VECTOR
typedef * PIO_NMISOURCE
typedef * PLOCAL_NMISOURCE
typedef _SMARTBATTTABLE SMARTBATTTABLE
typedef SMARTBATTTABLEPSMARTBATTTABLE
typedef _RSDT RSDT
typedef RSDTPRSDT
typedef _DSDT DSDT
typedef DSDTPDSDT
typedef * PPROC_LOCAL_APIC
typedef _DEBUG_PORT_TABLE DEBUG_PORT_TABLE
typedef _DEBUG_PORT_TABLEPDEBUG_PORT_TABLE

Variables

PROC_LOCAL_APIC HalpProcLocalApicTable []


Define Documentation

#define ACPI_MAX_OEM_ID   6
 

Definition at line 68 of file acpitabl.h.

#define ACPI_MAX_SIGNATURE   4
 

Definition at line 67 of file acpitabl.h.

#define ACPI_MAX_TABLE_ID   8
 

Definition at line 69 of file acpitabl.h.

#define ACPI_MAX_TABLE_STRINGS   ACPI_MAX_SIGNATURE + ACPI_MAX_OEM_ID + ACPI_MAX_TABLE_ID
 

Definition at line 70 of file acpitabl.h.

#define ANYSIZE_ARRAY   1
 

Definition at line 226 of file acpitabl.h.

Referenced by NtAdjustGroupsToken(), NtAdjustPrivilegesToken(), NtOpenObjectAuditAlarm(), NtPrivilegeCheck(), NtPrivilegedServiceAuditAlarm(), NtPrivilegeObjectAuditAlarm(), NtQueryInformationToken(), RtlAdjustPrivilege(), SepAdjustGroups(), SepAdjustPrivileges(), SePrivilegePolicyCheck(), and SeQueryInformationToken().

#define APIC_SIGNATURE   0x43495041
 

Definition at line 372 of file acpitabl.h.

#define C2_MAX_LATENCY   100
 

Definition at line 214 of file acpitabl.h.

#define C3_MAX_LATENCY   1000
 

Definition at line 215 of file acpitabl.h.

#define DBGP_SIGNATURE   0x50474244
 

Definition at line 377 of file acpitabl.h.

#define DCK_CAP   (1 << DCK_CAP_BIT)
 

Definition at line 205 of file acpitabl.h.

#define DCK_CAP_BIT   9
 

Definition at line 204 of file acpitabl.h.

#define DSDT_SIGNATURE   0x54445344
 

Definition at line 373 of file acpitabl.h.

Referenced by CmpFindACPITable().

#define EL_BIT_SHIFT   2
 

Definition at line 266 of file acpitabl.h.

#define EL_BITS   0xc
 

Definition at line 265 of file acpitabl.h.

#define EL_CONFORMS_WITH_BUS   0
 

Definition at line 269 of file acpitabl.h.

#define EL_EDGE_TRIGGERED   4
 

Definition at line 267 of file acpitabl.h.

#define EL_LEVEL_TRIGGERED   0xc
 

Definition at line 268 of file acpitabl.h.

#define FACS_S4BIOS_SUPPORTED   (1 << FACS_S4BIOS_SUPPORTED_BIT)
 

Definition at line 110 of file acpitabl.h.

#define FACS_S4BIOS_SUPPORTED_BIT   0
 

Definition at line 109 of file acpitabl.h.

#define FACS_SIGNATURE   0x53434146
 

Definition at line 72 of file acpitabl.h.

#define FADT_SIGNATURE   0x50434146
 

Definition at line 113 of file acpitabl.h.

Referenced by CmpFindACPITable().

#define GL_NON_RESERVED_BITS_MASK   (GL_PENDING+GL_OWNED)
 

Definition at line 95 of file acpitabl.h.

#define GL_OWNER   (1 << GL_OWNER_BIT)
 

Definition at line 93 of file acpitabl.h.

#define GL_OWNER_BIT   0x01
 

Definition at line 92 of file acpitabl.h.

#define GL_PENDING   (1 << GL_PENDING_BIT)
 

Definition at line 90 of file acpitabl.h.

#define GL_PENDING_BIT   0x00
 

Definition at line 89 of file acpitabl.h.

#define I8042   2
 

Definition at line 222 of file acpitabl.h.

#define IO_APIC   1
 

Definition at line 249 of file acpitabl.h.

#define IO_APIC_LENGTH   12
 

Definition at line 254 of file acpitabl.h.

#define IO_NMI_SOURCE   3
 

Definition at line 251 of file acpitabl.h.

#define IO_NMI_SOURCE_LENGTH   8
 

Definition at line 256 of file acpitabl.h.

#define ISA_VECTOR_OVERRIDE   2
 

Definition at line 250 of file acpitabl.h.

#define ISA_VECTOR_OVERRIDE_LENGTH   10
 

Definition at line 255 of file acpitabl.h.

#define LEGACY_DEVICES   1
 

Definition at line 221 of file acpitabl.h.

#define LOCAL_NMI_SOURCE   4
 

Definition at line 252 of file acpitabl.h.

#define LOCAL_NMI_SOURCE_LENGTH   6
 

Definition at line 257 of file acpitabl.h.

#define min a,
 )     (((a) < (b)) ? (a) : (b))
 

Definition at line 366 of file acpitabl.h.

Referenced by _ClientEventCallback(), _ClientGetDDEHookData(), _GetMouseMovePointsEx(), _MapWindowPoints(), AllocConsole(), ArbGetNextAllocationRange(), CalcSBStuff2(), CcLogError(), CheckMenuRadioItem(), CmpGetInfData(), Compare(), ConsoleWindowProc(), CreateBitmapStrip(), DdeGetData(), DebugConvertToAnsi(), DefWindowProcWorker(), DoCreateScreenBuffer(), DrawBox(), DrawFrameControl(), DrawGrip(), DrawIt(), DrawMenuMark(), ECCalcChangeSelection(), ECCalcMarginForDBCSFont(), ECFindXORblks(), ECGetText(), ECImeComposition(), ECSetMargin(), ECSetText(), ECSize(), ECTabTheTextOut(), ECWord(), EditWndProc(), EnumDisplaySettingsEx(), FixupDdeExecuteIfNecessary(), GetActualNegA(), GetClassNameA(), GetDefaultWallpaperName(), GetScreenBufferInformation(), GetTaskName(), GetTitleFromLinkName(), GetWindowLimits(), HorizontalScroll(), InitSwitchWndInfo(), IntersectRect(), InvertPixels(), IopUnMarshalIds(), IopWriteToDisk(), IopWriteTriageDump(), LastFullVisible(), LBPage(), ListBoxWndProcWorker(), LoadLinkInfo(), LoadStringA(), LowReadSectors(), LowSetDiskLayout(), LowWriteSectors(), MLChangeSelection(), MLDrawText(), MLEditWndProc(), MLGetLine(), MLInsertText(), MLMouseToIch(), MLScroll(), MLSetCaretPosition(), MLSetSelection(), NextWordCallBack(), NtUserCreateWindowStation(), NtUserLoadKeyboardLayoutEx(), PositionConsoleWindow(), ProcessCreateConsoleWindow(), PropertiesUpdate(), ReallocCommandHistory(), RecreateRedirectionBitmap(), RemoteConnect(), RtlInitLargeAnsiString(), RtlInitLargeUnicodeString(), SetMinMetrics(), SetNCMetrics(), SetUpConsoleInfo(), SLChangeSelection(), SLDrawLine(), SLGetBlkEnd(), SLInsertText(), SLMouseMotion(), SLMouseToIch(), SLSetCaretPosition(), SoftModalMessageBox(), StreamScrollRegion(), SystemParametersInfo(), TextCopy(), UnionRect(), UpdateUserScreen(), VerticalScroll(), vProcessFontEntry(), W32WinStationDoConnect(), W32WinStationDoReconnect(), WWSB_ConsolePolyTextOut(), WWSB_DoSrvWriteConsole(), WWSB_WriteRegionToScreen(), WWSB_WriteToScreen(), xxxAdjustSize(), xxxAlterHilite(), xxxBNDrawText(), xxxCBShowListBoxWindow(), xxxCheckFullScreen(), xxxLBoxCtlDelete(), xxxLBPaint(), xxxLBSelRange(), xxxLBSetCurSel(), xxxLoadDesktopWallpaper(), xxxMNPositionHierarchy(), xxxMouseEventDirect(), xxxRemoteReconnect(), xxxSetLBScrollParms(), xxxSetWindowNCMetrics(), and zzzClipCursor().

#define NumTableEntriesFromRSDTPointer  )     (p->Header.Length-min(p->Header.Length,sizeof(DESCRIPTION_HEADER)))/4
 

Definition at line 369 of file acpitabl.h.

#define P_LVL2_UP_ONLY   (1 << P_LVL2_UP_ONLY_BIT)
 

Definition at line 183 of file acpitabl.h.

#define P_LVL2_UP_ONLY_BIT   3
 

Definition at line 182 of file acpitabl.h.

#define PCAT_COMPAT   (1 << PCAT_COMPAT_BIT)
 

Definition at line 245 of file acpitabl.h.

#define PCAT_COMPAT_BIT   0
 

Definition at line 244 of file acpitabl.h.

#define PLAF_ENABLED   (1 << PLAF_ENABLED_BIT)
 

Definition at line 295 of file acpitabl.h.

#define PLAF_ENABLED_BIT   0
 

Definition at line 294 of file acpitabl.h.

#define PO_BITS   3
 

Definition at line 261 of file acpitabl.h.

#define POLARITY_CONFORMS_WITH_BUS   0
 

Definition at line 264 of file acpitabl.h.

#define POLARITY_HIGH   1
 

Definition at line 262 of file acpitabl.h.

#define POLARITY_LOW   3
 

Definition at line 263 of file acpitabl.h.

#define PROCESSOR_LOCAL_APIC   0
 

Definition at line 248 of file acpitabl.h.

#define PROCESSOR_LOCAL_APIC_LENGTH   8
 

Definition at line 253 of file acpitabl.h.

#define PSDT_SIGNATURE   0x54445350
 

Definition at line 375 of file acpitabl.h.

#define PWR_BUTTON_GENERIC   (1 << PWR_BUTTON_GENERIC_BIT)
 

Definition at line 187 of file acpitabl.h.

#define PWR_BUTTON_GENERIC_BIT   4
 

Definition at line 186 of file acpitabl.h.

#define RESET_CAP   (1 << RESET_CAP_BIT)
 

Definition at line 209 of file acpitabl.h.

#define RESET_CAP_BIT   10
 

Definition at line 208 of file acpitabl.h.

#define RSDP_SEARCH_INTERVAL   16
 

Definition at line 47 of file acpitabl.h.

#define RSDP_SEARCH_RANGE_BEGIN   0xE0000
 

Definition at line 41 of file acpitabl.h.

#define RSDP_SEARCH_RANGE_END   0xFFFFF
 

Definition at line 45 of file acpitabl.h.

#define RSDP_SEARCH_RANGE_LENGTH   (RSDP_SEARCH_RANGE_END-RSDP_SEARCH_RANGE_BEGIN+1)
 

Definition at line 46 of file acpitabl.h.

#define RSDP_SIGNATURE   0x2052545020445352
 

Definition at line 26 of file acpitabl.h.

#define RSDT_SIGNATURE   0x54445352
 

Definition at line 348 of file acpitabl.h.

Referenced by CmpFindACPITable().

#define RTC_WAKE_FROM_S4   (1 << RTC_WAKE_FROM_S4_BIT)
 

Definition at line 197 of file acpitabl.h.

#define RTC_WAKE_FROM_S4_BIT   7
 

Definition at line 196 of file acpitabl.h.

#define RTC_WAKE_GENERIC   (1 << RTC_WAKE_GENERIC_BIT)
 

Definition at line 194 of file acpitabl.h.

#define RTC_WAKE_GENERIC_BIT   6
 

Definition at line 193 of file acpitabl.h.

#define SBST_SIGNATURE   0x54534253
 

Definition at line 376 of file acpitabl.h.

#define SLEEP_BUTTON_GENERIC   (1 << SLEEP_BUTTON_GENERIC_BIT)
 

Definition at line 190 of file acpitabl.h.

#define SLEEP_BUTTON_GENERIC_BIT   5
 

Definition at line 189 of file acpitabl.h.

#define SSDT_SIGNATURE   0x54445353
 

Definition at line 374 of file acpitabl.h.

#define SYSTEM_SUPPORTS_C1   (1 << SYSTEM_SUPPORTS_C1_BIT)
 

Definition at line 179 of file acpitabl.h.

#define SYSTEM_SUPPORTS_C1_BIT   2
 

Definition at line 178 of file acpitabl.h.

#define TMR_VAL_EXT   (1 << TMR_VAL_EXT_BIT)
 

Definition at line 201 of file acpitabl.h.

#define TMR_VAL_EXT_BIT   8
 

Definition at line 200 of file acpitabl.h.

#define WRITEBACKINVALIDATE_DOESNT_INVALIDATE   (1 << WRITEBACKINVALIDATE_DOESNT_INVALIDATE_BIT)
 

Definition at line 175 of file acpitabl.h.

#define WRITEBACKINVALIDATE_DOESNT_INVALIDATE_BIT   1
 

Definition at line 174 of file acpitabl.h.

#define WRITEBACKINVALIDATE_WORKS   (1 << WRITEBACKINVALIDATE_WORKS_BIT)
 

Definition at line 171 of file acpitabl.h.

#define WRITEBACKINVALIDATE_WORKS_BIT   0
 

Definition at line 170 of file acpitabl.h.


Typedef Documentation

typedef struct _APICTABLE APICTABLE
 

typedef struct _DEBUG_PORT_TABLE DEBUG_PORT_TABLE
 

typedef struct _DESCRIPTION_HEADER DESCRIPTION_HEADER
 

Referenced by CmpFindACPITable().

typedef struct _DSDT DSDT
 

typedef struct _FACS FACS
 

typedef struct _FADT FADT
 

typedef struct _GEN_ADDR GEN_ADDR
 

typedef struct _IOAPIC IOAPIC
 

typedef struct _MAPIC MAPIC
 

typedef APICTABLE* PAPICTABLE
 

Definition at line 278 of file acpitabl.h.

typedef struct _DEBUG_PORT_TABLE * PDEBUG_PORT_TABLE
 

typedef DESCRIPTION_HEADER* PDESCRIPTION_HEADER
 

Definition at line 63 of file acpitabl.h.

typedef DSDT* PDSDT
 

Definition at line 386 of file acpitabl.h.

typedef FACS* PFACS
 

Definition at line 85 of file acpitabl.h.

typedef FADT* PFADT
 

Definition at line 164 of file acpitabl.h.

Referenced by CmpFindACPITable().

typedef struct _GEN_ADDR * PGEN_ADDR
 

typedef * PIO_NMISOURCE
 

typedef IOAPIC* PIOAPIC
 

Definition at line 308 of file acpitabl.h.

typedef * PISA_VECTOR
 

typedef * PLOCAL_NMISOURCE
 

typedef MAPIC* PMAPIC
 

Definition at line 240 of file acpitabl.h.

typedef * PPROC_LOCAL_APIC
 

typedef PROCLOCALAPIC* PPROCLOCALAPIC
 

Definition at line 291 of file acpitabl.h.

typedef struct _PROCLOCALAPIC PROCLOCALAPIC
 

typedef RSDP* PRSDP
 

Definition at line 38 of file acpitabl.h.

typedef RSDT* PRSDT
 

Definition at line 357 of file acpitabl.h.

Referenced by CmpFindACPITable().

typedef SMARTBATTTABLE* PSMARTBATTTABLE
 

Definition at line 346 of file acpitabl.h.

typedef struct _RSDP RSDP
 

typedef struct _RSDT RSDT
 

typedef struct _SMARTBATTTABLE SMARTBATTTABLE
 


Variable Documentation

PROC_LOCAL_APIC HalpProcLocalApicTable[]
 

Definition at line 400 of file acpitabl.h.


Generated on Sat May 15 19:42:50 2004 for test by doxygen 1.3.7