30 LOG_ERR(
"failed to initialize local APICs\n");
35 LOG_ERR(
"failed to initialize APIC timer\n");
40 LOG_ERR(
"failed to initialize IO APICs\n");
55MODULE_INFO(
"APIC Driver",
"Kai Norberg",
"A driver for the APIC, local APIC and IOAPIC", OS_VERSION,
"MIT",
"PNP0003");
uint64_t _module_procedure(const module_event_t *event)
#define PERCPU_INIT()
Initialize all percpu variables within the current modules .percpu section.
#define PERCPU_DEINIT()
Deinitialize all percpu variables within the current modules .percpu section.
uint64_t ioapic_all_init(void)
Initialize all IO APICs found in the system.
uint64_t lapic_global_init(void)
Global initialization for the local APICs.
uint64_t apic_timer_init(void)
Initialize the APIC timer.
#define LOG_ERR(format,...)
#define MODULE_INFO(_name, _author, _description, _version, _licence, _deviceTypes)
Macro to define module information.
@ MODULE_EVENT_DEVICE_ATTACH
@ MODULE_EVENT_DEVICE_DETACH
#define ERR
Integer error value.