fmAddr = MmMapIoSpace (resourceTrans->u.Memory.Start,
resourceTrans->u.Memory.Length,
MmNonCached);
......
----------------------------------------------------------
if address space is like
Base Addresses:
(0) 000D4000 = mem base=000D4000 len=4K
it works corectly
if address space is like
Base Addresses:
(0) E4000000 = mem base=E4000000 len=4K
I can not access memory
Why ? How can I set address space in my driver to lower addresses
--
**********************************************
Ing.Roman Klobušický
ro...@axis.sk
**********************************************
Off hand I can't think of any reason why this would fail. Have you
verified that the BAR in the card's config space is set to e4000000? If
it's behind a bridge, have you verified the memory aperature on the bridge
spans the address assigned to the card? Also, what is the address being
returned by MmMapIoSpace? Have to checked to see if it correctly maps to
the physical address (use ".m <address>" in the debugger)?
Martin Borve
Windows DDK Support
This posting is provided "AS IS" with no warranties, and confers no rights.