Define acpi structs as static
This commit is contained in:
parent
5231930543
commit
1fef8ada29
@ -12,7 +12,7 @@ struct acpi
|
|||||||
enum uint APIC_SIGNATURE = 0x43495041u;
|
enum uint APIC_SIGNATURE = 0x43495041u;
|
||||||
enum uint XSDT_SIGNATURE = 0x54445358u;
|
enum uint XSDT_SIGNATURE = 0x54445358u;
|
||||||
|
|
||||||
struct XsdtHeader
|
static struct XsdtHeader
|
||||||
{
|
{
|
||||||
uint signature;
|
uint signature;
|
||||||
uint length;
|
uint length;
|
||||||
@ -23,16 +23,16 @@ struct acpi
|
|||||||
uint oem_revision;
|
uint oem_revision;
|
||||||
uint creator_id;
|
uint creator_id;
|
||||||
uint creator_revision;
|
uint creator_revision;
|
||||||
};
|
}
|
||||||
|
|
||||||
struct Xsdt
|
static struct Xsdt
|
||||||
{
|
{
|
||||||
XsdtHeader header;
|
XsdtHeader header;
|
||||||
uint _pad;
|
uint _pad;
|
||||||
ulong[0] tables;
|
ulong[0] tables;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct MadtHeader
|
static struct MadtHeader
|
||||||
{
|
{
|
||||||
uint signature;
|
uint signature;
|
||||||
uint length;
|
uint length;
|
||||||
@ -47,7 +47,7 @@ struct acpi
|
|||||||
uint flags;
|
uint flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct MadtEntry
|
static struct MadtEntry
|
||||||
{
|
{
|
||||||
ubyte type;
|
ubyte type;
|
||||||
ubyte length;
|
ubyte length;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user