mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 09:09:43 +00:00
[ACPI.H]: Fix broken definition of RSDP_SIGNATURE
[ACPI.H]: Add BGRT_TABLE definition. svn path=/trunk/; revision=70538
This commit is contained in:
parent
d31cc46a14
commit
55ef8d7cd2
1 changed files with 32 additions and 2 deletions
|
@ -40,11 +40,26 @@ typedef struct _ACPI_BIOS_MULTI_NODE
|
|||
#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 @@ typedef struct _RSDP
|
|||
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 @@ typedef struct _ACPI_SRAT
|
|||
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue