@Dietmar
A few edits had to be made.
Used -DWIN2K_COMPAT_SLIST_USAGE=1 switch when compiling.
Stubbed HeadlessDispatch.
Had acpi driver do ExInterlockedCompareExchange64 internally.
Commented out HaliIsVectorValid where present.
Needed to pass procinit explicitly to HalAcpiMachineStateInit in NotifyHalWithMachineStates.