hal: Add a stub for HalGetBusData() to make 3DMark2001SE happy in WinNT mode.

This commit is contained in:
Francois Gouget 2008-03-06 13:28:27 +01:00 committed by Alexandre Julliard
parent ae9411089a
commit a555658ba1
2 changed files with 9 additions and 2 deletions

View File

@ -31,7 +31,7 @@
#include "windef.h" #include "windef.h"
#include "winternl.h" #include "winternl.h"
#include "excpt.h" #include "excpt.h"
#include "ddk/wdm.h" #include "ddk/ntddk.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(ntoskrnl); WINE_DEFAULT_DEBUG_CHANNEL(ntoskrnl);
@ -99,3 +99,10 @@ VOID WINAPI KfReleaseSpinLock(PKSPIN_LOCK SpinLock, KIRQL NewIrql)
{ {
FIXME( "(%p %u) stub!\n", SpinLock, NewIrql ); FIXME( "(%p %u) stub!\n", SpinLock, NewIrql );
} }
ULONG WINAPI HalGetBusData(BUS_DATA_TYPE BusDataType, ULONG BusNumber, ULONG SlotNumber, PVOID Buffer, ULONG Length)
{
FIXME("(%u %u %u %p %u) stub!\n", BusDataType, BusNumber, SlotNumber, Buffer, Length);
/* Claim that there is no such bus */
return 0;
}

View File

@ -33,7 +33,7 @@
@ stub HalFlushCommonBuffer @ stub HalFlushCommonBuffer
@ stub HalFreeCommonBuffer @ stub HalFreeCommonBuffer
@ stub HalGetAdapter @ stub HalGetAdapter
@ stub HalGetBusData @ stdcall HalGetBusData(long long long ptr long)
@ stub HalGetBusDataByOffset @ stub HalGetBusDataByOffset
@ stub HalGetEnvironmentVariable @ stub HalGetEnvironmentVariable
@ stub HalGetInterruptVector @ stub HalGetInterruptVector