build acpi with w32api
Modified: trunk/reactos/drivers/bus/acpi/acpi.xml
Modified: trunk/reactos/drivers/bus/acpi/include/acconfig.h
Modified: trunk/reactos/drivers/bus/acpi/include/actypes.h
Modified: trunk/reactos/drivers/bus/acpi/include/platform/types.h
Modified: trunk/reactos/drivers/bus/acpi/ospm/osl.c
_____
Modified: trunk/reactos/drivers/bus/acpi/acpi.xml
--- trunk/reactos/drivers/bus/acpi/acpi.xml 2005-05-28 17:17:27 UTC
(rev 15593)
+++ trunk/reactos/drivers/bus/acpi/acpi.xml 2005-05-28 17:23:33 UTC
(rev 15594)
@@ -1,6 +1,7 @@
<module name="acpi" type="kernelmodedriver"
installbase="system32/drivers" installname="acpi.sys"
warnings="true">
<include base="acpi">include</include>
<include base="acpi">ospm/include</include>
+ <define name="__USE_W32API" />
<library>ntoskrnl</library>
<library>hal</library>
<directory name="dispatcher">
_____
Modified: trunk/reactos/drivers/bus/acpi/include/acconfig.h
--- trunk/reactos/drivers/bus/acpi/include/acconfig.h 2005-05-28
17:17:27 UTC (rev 15593)
+++ trunk/reactos/drivers/bus/acpi/include/acconfig.h 2005-05-28
17:23:33 UTC (rev 15594)
@@ -148,6 +148,5 @@
#define HI_RSDP_WINDOW_SIZE 0x20000
#define RSDP_SCAN_STEP 16
-
#endif /* _ACCONFIG_H */
_____
Modified: trunk/reactos/drivers/bus/acpi/include/actypes.h
--- trunk/reactos/drivers/bus/acpi/include/actypes.h 2005-05-28
17:17:27 UTC (rev 15593)
+++ trunk/reactos/drivers/bus/acpi/include/actypes.h 2005-05-28
17:23:33 UTC (rev 15594)
@@ -156,7 +156,6 @@
#define ACPI_UINT64_MAX (UINT64) 0xFFFFFFFFFFFFFFFF
#endif
-
#ifdef DEFINE_ALTERNATE_TYPES
/*
* Types used only in translated source
_____
Modified: trunk/reactos/drivers/bus/acpi/include/platform/types.h
--- trunk/reactos/drivers/bus/acpi/include/platform/types.h
2005-05-28 17:17:27 UTC (rev 15593)
+++ trunk/reactos/drivers/bus/acpi/include/platform/types.h
2005-05-28 17:23:33 UTC (rev 15594)
@@ -15,4 +15,8 @@
#include <ddk/ntddk.h>
+typedef UCHAR UINT8;
+typedef USHORT UINT16;
+typedef ULONGLONG UINT64;
+
#endif /* __INCLUDE_ACPI_TYPES_H */
_____
Modified: trunk/reactos/drivers/bus/acpi/ospm/osl.c
--- trunk/reactos/drivers/bus/acpi/ospm/osl.c 2005-05-28 17:17:27 UTC
(rev 15593)
+++ trunk/reactos/drivers/bus/acpi/ospm/osl.c 2005-05-28 17:23:33 UTC
(rev 15594)
@@ -27,6 +27,11 @@
#define NDEBUG
#include <debug.h>
+/* NDK FIXME */
+NTSTATUS
+STDCALL
+NtVdmControl (ULONG ControlCode, PVOID ControlData);
+
static PKINTERRUPT AcpiInterrupt;
static BOOLEAN AcpiInterruptHandlerRegistered = FALSE;
static OSD_HANDLER AcpiIrqHandler = NULL;
Show replies by date