mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
build acpi with w32api
svn path=/trunk/; revision=15594
This commit is contained in:
parent
cd37d4427a
commit
7717d6cb1a
5 changed files with 10 additions and 2 deletions
|
@ -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">
|
||||
|
|
|
@ -148,6 +148,5 @@
|
|||
#define HI_RSDP_WINDOW_SIZE 0x20000
|
||||
#define RSDP_SCAN_STEP 16
|
||||
|
||||
|
||||
#endif /* _ACCONFIG_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
|
||||
|
|
|
@ -15,4 +15,8 @@
|
|||
|
||||
#include <ddk/ntddk.h>
|
||||
|
||||
typedef UCHAR UINT8;
|
||||
typedef USHORT UINT16;
|
||||
typedef ULONGLONG UINT64;
|
||||
|
||||
#endif /* __INCLUDE_ACPI_TYPES_H */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue