Last active
September 17, 2018 04:22
-
-
Save naoki9911/27a35478dc6b0b2c99932edef99ba60b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct uefi_madt { | |
uchar sig[4]; | |
uint len; | |
uchar rev; | |
uchar chksum; | |
uchar oem_id[6]; | |
uchar oem_table[8]; | |
uint oem_rev; | |
uint creator_id; | |
uint creator_rev; | |
uint lapic_addr; | |
uint flags; | |
}; | |
struct __attribute__((packed)) uefi_lapic { | |
uchar entry_type; | |
uchar record_len; | |
uchar processor_id; | |
uchar lapic_id; | |
uint flags; | |
}; | |
struct __attribute__((packed)) uefi_ioapic { | |
uchar entry_type; | |
uchar record_len; | |
uchar ioapic_id; | |
uchar reserved; | |
uint ioapic_addr; | |
uint global_sys_intr_base; | |
}; | |
struct __attribute__((packed)) uefi_iso { | |
uchar entry_type; | |
uchar record_len; | |
uchar bus_src; | |
uchar irq_src; | |
uint gsi; | |
uchar flags[2]; | |
}; | |
struct __attribute__((packed)) uefi_non_maskable_intr { | |
uchar entry_type; | |
uchar record_len; | |
uchar acpi_processor_id; | |
uchar flags[2]; | |
uchar lint; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment