9560b6dea8
- 99% of the code is Intel's ACPICA. The license is compliant with BSD and GNU and virtually all systems that use ACPI use this code, For instance it is part of the Linux kernel. - The only minix specific files are acpi.c osminixxf.c platform/acminix.h and include/minix/acpi.h - At the moment the driver does not register interrupt hooks which I believe is mainly for handling PnP, events like "battery level is low" and power management. Should not be difficult to add it if need be. - The interface to the outside world is virtually non-existent except a trivial message based service for PCI driver to query which device is connected to what IRQ line. This will evolve as more components start using this driver. VM, Scheduler and IOMMU are the possible users right now. - because of dependency on a native 64bit (long long, part of c99) it is compiled only with a gnu-like compilers which in case of Minix includes gcc llvm-gcc and clang
19 lines
530 B
Makefile
19 lines
530 B
Makefile
# Makefile for all device drivers.
|
|
#
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
# memory driver must be last for ramdisk image
|
|
.if ${COMPILER_TYPE} == "gnu"
|
|
SUBDIR = acpi
|
|
.endif
|
|
|
|
SUBDIR+= ahci amddev atl2 at_wini audio bios_wini dec21140A dp8390 dpeth \
|
|
e1000 filter floppy fxp hello lance log orinoco pci printer \
|
|
random readclock rtl8139 rtl8169 sb16 ti1225 tty \
|
|
.WAIT ramdisk .WAIT memory
|
|
|
|
# memory driver must be last for ramdisk image
|
|
IMAGE_SUBDIR= at_wini bios_wini floppy log tty pci .WAIT ramdisk .WAIT memory
|
|
|
|
.include <bsd.subdir.mk>
|