mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:52:54 +00:00
- Add debug prints to NdisMMapIoSpace
svn path=/trunk/; revision=40775
This commit is contained in:
parent
6b39bb8b91
commit
5852b28a2b
1 changed files with 5 additions and 1 deletions
|
@ -622,10 +622,14 @@ NdisMMapIoSpace(
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
ASSERT(VirtualAddress && MiniportAdapterHandle);
|
ASSERT(VirtualAddress && MiniportAdapterHandle);
|
||||||
|
|
||||||
|
NDIS_DbgPrint(MAX_TRACE, ("Called\n"));
|
||||||
|
|
||||||
*VirtualAddress = MmMapIoSpace(PhysicalAddress, Length, MmNonCached);
|
*VirtualAddress = MmMapIoSpace(PhysicalAddress, Length, MmNonCached);
|
||||||
|
|
||||||
if(!*VirtualAddress)
|
if(!*VirtualAddress) {
|
||||||
|
NDIS_DbgPrint(MIN_TRACE, ("MmMapIoSpace failed\n"));
|
||||||
return NDIS_STATUS_RESOURCES;
|
return NDIS_STATUS_RESOURCES;
|
||||||
|
}
|
||||||
|
|
||||||
return NDIS_STATUS_SUCCESS;
|
return NDIS_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue