1
Fork 0
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:
Andreas Kling 2020-05-23 13:11:51 +02:00
parent 7379c589c7
commit b8af5cd8da
2 changed files with 8 additions and 19 deletions

View file

@ -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;