[Wine-patches] [eterhack] [0002/0021] hal: Add stub for HalTranslateBusAddress.
Alexander Morozov
=?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Янв 28 21:09:59 MSK 2009
---
dlls/hal/hal.c | 10 ++++++++++
dlls/hal/hal.spec | 2 +-
include/ddk/ntddk.h | 1 +
3 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/hal/hal.c b/dlls/hal/hal.c
index 6fcf433..559a98c 100644
--- a/dlls/hal/hal.c
+++ b/dlls/hal/hal.c
@@ -127,6 +127,16 @@ ULONG WINAPI HalGetBusData(BUS_DATA_TYPE BusDataType, ULONG BusNumber, ULONG Slo
return 0;
}
+BOOLEAN WINAPI HalTranslateBusAddress(INTERFACE_TYPE InterfaceType,
+ ULONG BusNumber, PHYSICAL_ADDRESS BusAddress, PULONG AddressSpace,
+ PPHYSICAL_ADDRESS TranslatedAddress)
+{
+ FIXME( "(%u %u %s %p %p) stub!\n", InterfaceType, BusNumber,
+ wine_dbgstr_longlong(BusAddress.QuadPart), AddressSpace,
+ TranslatedAddress );
+ return FALSE;
+}
+
KIRQL WINAPI KeGetCurrentIrql(void)
{
FIXME( "stub!\n" );
diff --git a/dlls/hal/hal.spec b/dlls/hal/hal.spec
index 13f9717..5ca3de6 100644
--- a/dlls/hal/hal.spec
+++ b/dlls/hal/hal.spec
@@ -58,7 +58,7 @@
@ stub HalStartNextProcessor
@ stub HalStartProfileInterrupt
@ stub HalStopProfileInterrupt
-@ stub HalTranslateBusAddress
+@ stdcall HalTranslateBusAddress(long long double ptr ptr)
@ stub IoAssignDriveLetters
@ stub IoFlushAdapterBuffers
@ stub IoFreeAdapterChannel
diff --git a/include/ddk/ntddk.h b/include/ddk/ntddk.h
index 8b4d440..f4dcb53 100644
--- a/include/ddk/ntddk.h
+++ b/include/ddk/ntddk.h
@@ -120,6 +120,7 @@ typedef struct _CONFIGURATION_INFORMATION
typedef NTSTATUS (WINAPI *PIO_QUERY_DEVICE_ROUTINE)(PVOID,PUNICODE_STRING,INTERFACE_TYPE,ULONG,PKEY_VALUE_FULL_INFORMATION*,CONFIGURATION_TYPE,ULONG,PKEY_VALUE_FULL_INFORMATION*,CONFIGURATION_TYPE,ULONG,PKEY_VALUE_FULL_INFORMATION*);
typedef VOID (WINAPI *PDRIVER_REINITIALIZE)(PDRIVER_OBJECT,PVOID,ULONG);
+BOOLEAN WINAPI HalTranslateBusAddress(INTERFACE_TYPE,ULONG,PHYSICAL_ADDRESS,PULONG,PPHYSICAL_ADDRESS);
NTSTATUS WINAPI IoQueryDeviceDescription(PINTERFACE_TYPE,PULONG,PCONFIGURATION_TYPE,PULONG,PCONFIGURATION_TYPE,PULONG,PIO_QUERY_DEVICE_ROUTINE,PVOID);
void WINAPI IoRegisterDriverReinitialization(PDRIVER_OBJECT,PDRIVER_REINITIALIZE,PVOID);
NTSTATUS WINAPI IoRegisterShutdownNotification(PDEVICE_OBJECT);
--
1.6.0.2.GIT
Подробная информация о списке рассылки Wine-patches