34#include <kernel/devices/driver.h>
45 const char *
const compatible;
48#define ACPI_ID_MAX_LEN 8
55 char id[ACPI_ID_MAX_LEN];
61#define ACPI_DECLARE_DRIVER(_name, _driver) \
62 DECLARE_DRIVER(_name, _driver, acpi_driver_register)
67error_t
acpi_init(
struct multiboot_info *mbt);
error_t acpi_init(struct multiboot_info *mbt)
Initialize the ACPI environment.
Definition: acpi.c:29
void acpi_driver_register(struct acpi_driver *)
Register an ACPI device driver.
Definition: acpi.c:161
Per-bus device struct for ACPI devices.
Definition: acpi.h:53
Per-bus driver struct for ACPI drivers.
Definition: acpi.h:42
struct device_driver driver
The ACPI ID of the device compatible with this driver.
Definition: acpi.h:43
The basic device driver structure.
Definition: driver.h:77
Represents a device inside the kernel.
Definition: device.h:78