I am trying to refactor the acpi server to use acpica as a library. I have written some new RPCs for the acpi server for enabling acpi, sleeping, and requesting irq for a pci device. The latter still needs work for LNK -> _CRS and _SRS methods.
Currently, we only need to enable acpi mode when shutting down the machine. Damien