[STORPORT] Fix x64 build

This commit is contained in:
Timo Kreuzer 2017-10-22 17:31:42 +02:00
parent 6073359086
commit 072d1821e7
2 changed files with 15 additions and 1 deletions

View file

@ -321,4 +321,17 @@ AllocateAddressMapping(
return STATUS_SUCCESS;
}
#if defined(_M_AMD64)
/* KeQuerySystemTime is an inline function,
so we cannot forward the export to ntoskrnl */
STORPORT_API
VOID
NTAPI
StorPortQuerySystemTime(
_Out_ PLARGE_INTEGER CurrentTime)
{
KeQuerySystemTime(CurrentTime);
}
#endif /* defined(_M_AMD64) */
/* EOF */

View file

@ -24,7 +24,8 @@
@ stdcall StorPortLogError(ptr ptr long long long long long)
@ stdcall StorPortMoveMemory(ptr ptr long)
@ cdecl StorPortNotification()
@ stdcall StorPortQuerySystemTime(ptr) NTOSKRNL.KeQuerySystemTime
@ stdcall -arch=i386 StorPortQuerySystemTime(ptr) NTOSKRNL.KeQuerySystemTime
@ stdcall -arch=amd64 StorPortQuerySystemTime(ptr)
@ stdcall StorPortPause(ptr long)
@ stdcall StorPortPauseDevice(ptr long long long long)
@ stdcall StorPortReadPortBufferUchar(ptr ptr ptr long)