Stefan Leichter : hal: Add stub for HalTranslateBusAddress.

Alexandre Julliard julliard at winehq.org
Fri Jan 6 15:31:36 CST 2012


Module: wine
Branch: master
Commit: 3346d092e5d2053a3b5d0abdb46d00c8b185e79f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3346d092e5d2053a3b5d0abdb46d00c8b185e79f

Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date:   Fri Jan  6 11:00:05 2012 +0100

hal: Add stub for HalTranslateBusAddress.

---

 dlls/hal/hal.c    |    8 ++++++++
 dlls/hal/hal.spec |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/dlls/hal/hal.c b/dlls/hal/hal.c
index 3353d04..add9028 100644
--- a/dlls/hal/hal.c
+++ b/dlls/hal/hal.c
@@ -145,6 +145,14 @@ ULONG WINAPI HalGetBusDataByOffset(BUS_DATA_TYPE BusDataType, ULONG BusNumber, U
     return 0;
 }
 
+BOOLEAN WINAPI HalTranslateBusAddress(INTERFACE_TYPE InterfaceType, ULONG BusNumber, PHYSICAL_ADDRESS BusAddress,
+		                              PULONG AddressSpace, PPHYSICAL_ADDRESS TranslatedAddress)
+{
+    FIXME("(%d %d %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 2a8c155..3046c65 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 int64 ptr ptr)
 @ stub IoAssignDriveLetters
 @ stub IoFlushAdapterBuffers
 @ stub IoFreeAdapterChannel




More information about the wine-cvs mailing list