48#define _COMPONENT ACPI_TABLES
54static ACPI_PHYSICAL_ADDRESS
60#if (!ACPI_REDUCED_HARDWARE)
83 if (AcpiGbl_ReducedHardware)
88 else if (AcpiGbl_FADT.XFacs &&
89 (!AcpiGbl_FADT.Facs || !AcpiGbl_Use32BitFacsAddresses))
95 else if (AcpiGbl_FADT.Facs)
130 if (AcpiGbl_OriginalDsdtHeader.Length != AcpiGbl_DSDT->Length ||
131 AcpiGbl_OriginalDsdtHeader.Checksum != AcpiGbl_DSDT->Checksum)
134 "The DSDT has been corrupted or replaced - "
135 "old, new headers below"));
142 AcpiGbl_OriginalDsdtHeader.Length = AcpiGbl_DSDT->Length;
143 AcpiGbl_OriginalDsdtHeader.Checksum = AcpiGbl_DSDT->Checksum;
170 TableDesc = &AcpiGbl_RootTableList.Tables[TableIndex];
184 &AcpiGbl_RootTableList.Tables[AcpiGbl_DsdtIndex],
189 "Forced DSDT copy: length 0x%05X copied locally, original unmapped",
213static ACPI_PHYSICAL_ADDRESS
243#if ACPI_MACHINE_WIDTH == 32
249 "64-bit Physical Address in XSDT is too large (0x%8.8X%8.8X),"
254 return ((ACPI_PHYSICAL_ADDRESS) (Address64));
278 ACPI_PHYSICAL_ADDRESS RsdpAddress)
310 !AcpiGbl_DoNotUseXsdt)
354 "Invalid table length 0x%X in RSDT/XSDT",
Length));
381 for (
i = 0;
i < TableCount;
i++)
400 &AcpiGbl_RootTableList.Tables[TableIndex].Signature,
403 AcpiGbl_FadtIndex = TableIndex;
466 "Table %p, Validation count overflows\n", TableDesc));
470 *OutTable = TableDesc->
Pointer;
509 "Table %p, Validation count underflows\n", TableDesc));
unsigned long long UINT64
#define ACPI_INIT_FUNCTION
#define AE_INVALID_TABLE_LENGTH
#define ACPI_FORMAT_UINT64(i)
#define ACPI_MOVE_64_TO_64(d, s)
#define ACPI_MODULE_NAME(Name)
#define ACPI_WARNING(plist)
#define ACPI_BIOS_WARNING(plist)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_BIOS_ERROR(plist)
#define ACPI_ERROR(plist)
void * AcpiOsMapMemory(ACPI_PHYSICAL_ADDRESS Where, ACPI_SIZE Length)
void AcpiOsUnmapMemory(void *LogicalAddress, ACPI_SIZE Size)
void AcpiTbInvalidateTable(ACPI_TABLE_DESC *TableDesc)
ACPI_STATUS AcpiTbValidateTable(ACPI_TABLE_DESC *TableDesc)
void AcpiTbPrintTableHeader(ACPI_PHYSICAL_ADDRESS Address, ACPI_TABLE_HEADER *Header)
void AcpiTbUninstallTable(ACPI_TABLE_DESC *TableDesc)
void AcpiTbInitTableDescriptor(ACPI_TABLE_DESC *TableDesc, ACPI_PHYSICAL_ADDRESS Address, UINT8 Flags, ACPI_TABLE_HEADER *Table)
void AcpiTbParseFadt(void)
ACPI_STATUS AcpiTbInstallStandardTable(ACPI_PHYSICAL_ADDRESS Address, UINT8 Flags, ACPI_TABLE_HEADER *Table, BOOLEAN Reload, BOOLEAN Override, UINT32 *TableIndex)
#define ACPI_TABLE_ORIGIN_INTERNAL_VIRTUAL
#define ACPI_RSDT_ENTRY_SIZE
#define ACPI_MAX_TABLE_VALIDATIONS
#define ACPI_XSDT_ENTRY_SIZE
#define ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL
#define ACPI_CAST_INDIRECT_PTR(t, p)
#define ACPI_COMPARE_NAMESEG(a, b)
#define ACPI_ADD_PTR(t, a, b)
#define ACPI_CAST_PTR(t, p)
#define ACPI_PTR_TO_PHYSADDR(i)
ACPI_STATUS AcpiUtVerifyChecksum(ACPI_TABLE_HEADER *Table, UINT32 Length)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define memcpy(s1, s2, n)
_In_ ULONG _In_ ULONG _In_ ULONG Length
ACPI_TABLE_HEADER * Pointer
UINT64 XsdtPhysicalAddress
UINT32 RsdtPhysicalAddress
ACPI_STATUS ACPI_INIT_FUNCTION AcpiTbParseRootTable(ACPI_PHYSICAL_ADDRESS RsdpAddress)
void AcpiTbCheckDsdtHeader(void)
ACPI_STATUS AcpiTbGetTable(ACPI_TABLE_DESC *TableDesc, ACPI_TABLE_HEADER **OutTable)
ACPI_STATUS AcpiTbInitializeFacs(void)
ACPI_TABLE_HEADER * AcpiTbCopyDsdt(UINT32 TableIndex)
void AcpiTbPutTable(ACPI_TABLE_DESC *TableDesc)
static ACPI_PHYSICAL_ADDRESS AcpiTbGetRootTableEntry(UINT8 *TableEntry, UINT32 TableEntrySize)
ACPI_STATUS AcpiGetTableByIndex(UINT32 TableIndex, ACPI_TABLE_HEADER **OutTable)
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList
_Must_inspect_result_ typedef _In_ ULONG TableEntry