mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
[HAL]
- comment out an ASSERT for now - add Mdl flag MDL_PAGES_LOCKED - remove obsolete DriverEntry svn path=/branches/ros-amd64-bringup/; revision=44983
This commit is contained in:
@@ -40,17 +40,6 @@ HalpGetParameters(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DriverEntry(
|
||||
PDRIVER_OBJECT DriverObject,
|
||||
PUNICODE_STRING RegistryPath)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
||||
@@ -156,7 +156,7 @@ KeQueryPerformanceCounter(
|
||||
{
|
||||
LARGE_INTEGER Result;
|
||||
|
||||
ASSERT(HalpPerformanceFrequency.QuadPart != 0);
|
||||
// ASSERT(HalpPerformanceFrequency.QuadPart != 0);
|
||||
|
||||
/* Does the caller want the frequency? */
|
||||
if (PerformanceFrequency)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* PROJECT: ReactOS HAL
|
||||
* LICENSE: See COPYING in the top level directory
|
||||
* FILE: hal/halamd64/generic/x86bios.c
|
||||
* LICENSE: GPL, See COPYING in the top level directory
|
||||
* FILE: hal/halx86/generic/amd64/x86bios.c
|
||||
* PURPOSE:
|
||||
* PROGRAMMERS: Timo Kreuzer ([email protected])
|
||||
*/
|
||||
@@ -75,6 +75,8 @@ HalInitializeBios(ULONG Unknown, PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||
}
|
||||
}
|
||||
|
||||
Mdl->MdlFlags = MDL_PAGES_LOCKED;
|
||||
|
||||
/* Map the MDL to system space */
|
||||
x86BiosMemoryMapping = MmGetSystemAddressForMdlSafe(Mdl, HighPagePriority);
|
||||
ASSERT(x86BiosMemoryMapping);
|
||||
|
||||
Reference in New Issue
Block a user