mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Add debug prints to NdisMMapIoSpace
svn path=/trunk/; revision=40775
This commit is contained in:
@@ -622,10 +622,14 @@ NdisMMapIoSpace(
|
||||
PAGED_CODE();
|
||||
ASSERT(VirtualAddress && MiniportAdapterHandle);
|
||||
|
||||
NDIS_DbgPrint(MAX_TRACE, ("Called\n"));
|
||||
|
||||
*VirtualAddress = MmMapIoSpace(PhysicalAddress, Length, MmNonCached);
|
||||
|
||||
if(!*VirtualAddress)
|
||||
if(!*VirtualAddress) {
|
||||
NDIS_DbgPrint(MIN_TRACE, ("MmMapIoSpace failed\n"));
|
||||
return NDIS_STATUS_RESOURCES;
|
||||
}
|
||||
|
||||
return NDIS_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user