mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-13 10:04:04 +01:00
Create union for uint32 signature with SignatureAs4Char. Useful in gdb.
This commit is contained in:
parent
f70da719e5
commit
c9794ad85d
@ -24,7 +24,10 @@ typedef struct {
|
||||
/// The common ACPI description table header. This structure prefaces most ACPI tables.
|
||||
///
|
||||
typedef struct {
|
||||
union {
|
||||
UINT32 Signature;
|
||||
CHAR8 SignatureAs4Char[4];
|
||||
};
|
||||
UINT32 Length;
|
||||
UINT8 Revision;
|
||||
UINT8 Checksum;
|
||||
|
@ -154,7 +154,10 @@ class ACPI_DROP_TABLE
|
||||
{
|
||||
public:
|
||||
ACPI_DROP_TABLE *Next;
|
||||
UINT32 Signature;
|
||||
union {
|
||||
UINT32 Signature = 0;
|
||||
char SignatureAs4Chars[4];
|
||||
};
|
||||
UINT32 Length;
|
||||
UINT64 TableId;
|
||||
INPUT_ITEM MenuItem = INPUT_ITEM();
|
||||
@ -811,7 +814,10 @@ public:
|
||||
class ACPIDropTablesClass
|
||||
{
|
||||
public:
|
||||
UINT32 Signature = 0;
|
||||
union {
|
||||
UINT32 Signature = 0;
|
||||
char SignatureAs4Chars[4];
|
||||
};
|
||||
UINT64 TableId = 0;
|
||||
UINT32 TabLength = 0;
|
||||
bool OtherOS = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user