diff --git a/reactos/drivers/bus/acpi/acpi.xml b/reactos/drivers/bus/acpi/acpi.xml index 009ffc22f11..f1c193d7ece 100644 --- a/reactos/drivers/bus/acpi/acpi.xml +++ b/reactos/drivers/bus/acpi/acpi.xml @@ -1,6 +1,7 @@ include ospm/include + ntoskrnl hal diff --git a/reactos/drivers/bus/acpi/include/acconfig.h b/reactos/drivers/bus/acpi/include/acconfig.h index ee666ec9907..c31e16f7dd9 100644 --- a/reactos/drivers/bus/acpi/include/acconfig.h +++ b/reactos/drivers/bus/acpi/include/acconfig.h @@ -148,6 +148,5 @@ #define HI_RSDP_WINDOW_SIZE 0x20000 #define RSDP_SCAN_STEP 16 - #endif /* _ACCONFIG_H */ diff --git a/reactos/drivers/bus/acpi/include/actypes.h b/reactos/drivers/bus/acpi/include/actypes.h index b0a488d7412..67a45370214 100644 --- a/reactos/drivers/bus/acpi/include/actypes.h +++ b/reactos/drivers/bus/acpi/include/actypes.h @@ -156,7 +156,6 @@ typedef char NATIVE_CHAR; #define ACPI_UINT64_MAX (UINT64) 0xFFFFFFFFFFFFFFFF #endif - #ifdef DEFINE_ALTERNATE_TYPES /* * Types used only in translated source diff --git a/reactos/drivers/bus/acpi/include/platform/types.h b/reactos/drivers/bus/acpi/include/platform/types.h index ea9905bb3b3..952bb543f95 100644 --- a/reactos/drivers/bus/acpi/include/platform/types.h +++ b/reactos/drivers/bus/acpi/include/platform/types.h @@ -15,4 +15,8 @@ #include +typedef UCHAR UINT8; +typedef USHORT UINT16; +typedef ULONGLONG UINT64; + #endif /* __INCLUDE_ACPI_TYPES_H */ diff --git a/reactos/drivers/bus/acpi/ospm/osl.c b/reactos/drivers/bus/acpi/ospm/osl.c index 2cbae8ac881..65751b38ae5 100644 --- a/reactos/drivers/bus/acpi/ospm/osl.c +++ b/reactos/drivers/bus/acpi/ospm/osl.c @@ -27,6 +27,11 @@ #define NDEBUG #include +/* NDK FIXME */ +NTSTATUS +STDCALL +NtVdmControl (ULONG ControlCode, PVOID ControlData); + static PKINTERRUPT AcpiInterrupt; static BOOLEAN AcpiInterruptHandlerRegistered = FALSE; static OSD_HANDLER AcpiIrqHandler = NULL;