acpi: remove duplicate definition in sys/lapic.c

This commit is contained in:
xvanc 2023-09-13 10:18:09 -05:00 committed by mintsuki
parent 90b82dc43f
commit cdac49ebfb
2 changed files with 9 additions and 16 deletions

View File

@ -130,6 +130,15 @@ struct madt_x2apic {
uint32_t acpi_processor_uid; uint32_t acpi_processor_uid;
} __attribute__((packed)); } __attribute__((packed));
struct madt_io_apic {
uint8_t type;
uint8_t length;
uint8_t apic_id;
uint8_t reserved;
uint32_t address;
uint32_t gsib;
} __attribute__((packed));
struct madt_gicc { struct madt_gicc {
struct madt_header header; struct madt_header header;
uint8_t reserved1[2]; uint8_t reserved1[2];

View File

@ -9,22 +9,6 @@
#include <lib/acpi.h> #include <lib/acpi.h>
#include <mm/pmm.h> #include <mm/pmm.h>
struct madt {
struct sdt header;
uint32_t local_controller_addr;
uint32_t flags;
char madt_entries_begin[];
} __attribute__((packed));
struct madt_io_apic {
uint8_t type;
uint8_t length;
uint8_t apic_id;
uint8_t reserved;
uint32_t address;
uint32_t gsib;
} __attribute__((packed));
struct dmar { struct dmar {
struct sdt header; struct sdt header;
uint8_t host_address_width; uint8_t host_address_width;