Author: tkreuzer
Date: Mon May 31 15:54:38 2010
New Revision: 47489
URL:
http://svn.reactos.org/svn/reactos?rev=47489&view=rev
Log:
[ACPI]
- Add some missing NTAPI
- Fix AcpiInterfaceConnectVector and AcpiInterfaceDisconnectVector parameters
(ACPI_INTERFACE_STANDARD version 1 not version 2)
- Patch by Amine Khaldi
Modified:
trunk/reactos/drivers/bus/acpi/busmgr/bus.c
trunk/reactos/drivers/bus/acpi/include/acpisys.h
trunk/reactos/drivers/bus/acpi/interface.c
trunk/reactos/drivers/bus/acpi/pnp.c
Modified: trunk/reactos/drivers/bus/acpi/busmgr/bus.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/busmgr/bu…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/busmgr/bus.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/busmgr/bus.c [iso-8859-1] Mon May 31 15:54:38 2010
@@ -457,6 +457,7 @@
-------------------------------------------------------------------------- */
void
+NTAPI
acpi_bus_generate_event_dpc(PKDPC Dpc,
PVOID DeferredContext,
PVOID SystemArgument1,
Modified: trunk/reactos/drivers/bus/acpi/include/acpisys.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/include/a…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/include/acpisys.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/include/acpisys.h [iso-8859-1] Mon May 31 15:54:38
2010
@@ -130,6 +130,7 @@
);
NTSTATUS
+NTAPI
Bus_CompletionRoutine(
PDEVICE_OBJECT DeviceObject,
PIRP Irp,
Modified: trunk/reactos/drivers/bus/acpi/interface.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/interface…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/interface.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/interface.c [iso-8859-1] Mon May 31 15:54:38 2010
@@ -25,13 +25,14 @@
}
NTSTATUS
+NTAPI
AcpiInterfaceConnectVector(PDEVICE_OBJECT Context,
ULONG GpeNumber,
KINTERRUPT_MODE Mode,
BOOLEAN Shareable,
PGPE_SERVICE_ROUTINE ServiceRoutine,
PVOID ServiceContext,
- PVOID *ObjectContext)
+ PVOID ObjectContext)
{
UNIMPLEMENTED
@@ -39,8 +40,8 @@
}
NTSTATUS
-AcpiInterfaceDisconnectVector(PDEVICE_OBJECT Context,
- PVOID ObjectContext)
+NTAPI
+AcpiInterfaceDisconnectVector(PVOID ObjectContext)
{
UNIMPLEMENTED
@@ -48,6 +49,7 @@
}
NTSTATUS
+NTAPI
AcpiInterfaceEnableEvent(PDEVICE_OBJECT Context,
PVOID ObjectContext)
{
@@ -57,6 +59,7 @@
}
NTSTATUS
+NTAPI
AcpiInterfaceDisableEvent(PDEVICE_OBJECT Context,
PVOID ObjectContext)
{
@@ -66,6 +69,7 @@
}
NTSTATUS
+NTAPI
AcpiInterfaceClearStatus(PDEVICE_OBJECT Context,
PVOID ObjectContext)
{
@@ -75,6 +79,7 @@
}
NTSTATUS
+NTAPI
AcpiInterfaceNotificationsRegister(PDEVICE_OBJECT Context,
PDEVICE_NOTIFY_CALLBACK NotificationHandler,
PVOID NotificationContext)
@@ -85,6 +90,7 @@
}
VOID
+NTAPI
AcpiInterfaceNotificationsUnregister(PDEVICE_OBJECT Context,
PDEVICE_NOTIFY_CALLBACK NotificationHandler)
{
Modified: trunk/reactos/drivers/bus/acpi/pnp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/pnp.c?rev…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/pnp.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/pnp.c [iso-8859-1] Mon May 31 15:54:38 2010
@@ -363,6 +363,7 @@
}
NTSTATUS
+NTAPI
Bus_CompletionRoutine(
PDEVICE_OBJECT DeviceObject,
PIRP Irp,