Author: ion
Date: Thu Jan 7 23:25:49 2016
New Revision: 70538
URL:
http://svn.reactos.org/svn/reactos?rev=70538&view=rev
Log:
[ACPI.H]: Fix broken definition of RSDP_SIGNATURE
[ACPI.H]: Add BGRT_TABLE definition.
Modified:
trunk/reactos/include/reactos/drivers/acpi/acpi.h
Modified: trunk/reactos/include/reactos/drivers/acpi/acpi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/drivers/ac…
==============================================================================
--- trunk/reactos/include/reactos/drivers/acpi/acpi.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/drivers/acpi/acpi.h [iso-8859-1] Thu Jan 7 23:25:49
2016
@@ -40,11 +40,26 @@
#define BOOT_SIGNATURE 'TOOB'
#define SRAT_SIGNATURE 'TARS'
#define WDRT_SIGNATURE 'TRDW'
+#define BGRT_SIGNATURE 0x54524742 // "BGRT"
//
// FADT Flags
//
-#define ACPI_TMR_VAL_EXT 0x100
+#define ACPI_TMR_VAL_EXT 0x100
+
+//
+// BGRT Flags
+//
+#define BGRT_STATUS_IMAGE_VALID 0x01
+
+//
+// BGRT Image Types
+//
+typedef enum _BGRT_IMAGE_TYPE
+{
+ BgrtImageTypeBitmap,
+ BgrtImageTypeMax
+} BGRT_IMAGE_TYPE, *PBGRT_IMAGE_TYPE;
//
// ACPI Generic Register Address
@@ -67,8 +82,12 @@
ULONGLONG Signature;
UCHAR Checksum;
UCHAR OEMID[6];
- UCHAR Reserved[1];
+ UCHAR Revision;
ULONG RsdtAddress;
+ ULONG Length;
+ PHYSICAL_ADDRESS XsdtAddress;
+ UCHAR XChecksum;
+ UCHAR Reserved[3];
} RSDP;
typedef RSDP *PRSDP;
@@ -219,4 +238,15 @@
ULONG Reserved[2];
} ACPI_SRAT, *PACPI_SRAT;
+typedef struct _BGRT_TABLE
+{
+ DESCRIPTION_HEADER Header;
+ USHORT Version;
+ UCHAR Status;
+ UCHAR ImageType;
+ ULONGLONG LogoAddress;
+ ULONG OffsetX;
+ ULONG OffsetY;
+} BGRT_TABLE, *PBGRT_TABLE;
+
/* EOF */