kexts: acpi: add DEFINE_KEXT
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <socks/printk.h>
|
#include <socks/printk.h>
|
||||||
#include <socks/device.h>
|
#include <socks/device.h>
|
||||||
|
#include <socks/kext.h>
|
||||||
#include <socks/libc/stdio.h>
|
#include <socks/libc/stdio.h>
|
||||||
|
|
||||||
static kern_status_t acpi_bus_scan(struct device *dev)
|
static kern_status_t acpi_bus_scan(struct device *dev)
|
||||||
@@ -26,3 +27,5 @@ kern_status_t acpi_init(void)
|
|||||||
|
|
||||||
return KERN_OK;
|
return KERN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DEFINE_KEXT("net.doorstuck.socks.acpi", NULL, NULL, KEXT_NO_DEPENDENCIES);
|
||||||
|
|||||||
@@ -226,5 +226,4 @@ void irq_ack(unsigned int vec)
|
|||||||
|
|
||||||
outportb(0x20, 0x20);
|
outportb(0x20, 0x20);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user