mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:57:35 +00:00
Kernel: Simplify MP table parser a little bit more
Get rid of the ConfigurationTableEntryLength enum and just look at the sizeof() for each entry type.
This commit is contained in:
parent
7379c589c7
commit
b8af5cd8da
2 changed files with 8 additions and 19 deletions
|
@ -78,17 +78,6 @@ enum class ConfigurationTableEntryType {
|
|||
CompatibilityBusAddressSpaceModifier = 130
|
||||
};
|
||||
|
||||
enum class ConfigurationTableEntryLength {
|
||||
Processor = 20,
|
||||
Bus = 8,
|
||||
IOAPIC = 8,
|
||||
IO_Interrupt_Assignment = 8,
|
||||
Local_Interrupt_Assignment = 8,
|
||||
SystemAddressSpaceMapping = 20,
|
||||
BusHierarchyDescriptor = 8,
|
||||
CompatibilityBusAddressSpaceModifier = 8
|
||||
};
|
||||
|
||||
struct [[gnu::packed]] ExtEntryHeader
|
||||
{
|
||||
u8 entry_type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue