Hi Microsoft Team,
I'm working at the moment with ISA PnP board. under CEPC_x86 platform.
In order to read some configuration data from the board i'm maping an IO
area to virtual memory
if (TransBusAddrToVirtual( PNPISABus, 0, sAddress, (ULONG)dwSize,
&ulAddressSpace, &(pBoardPtr)) == FALSE)
{
return GetLastError();
}
the result of operation seems to be succesful (ulAddressSpace = 0), but if
it try to read a data from the board
by usin a "pBoardPtr" i have completly wrong data & if i try to ummap the
memory with
MmUnmapIoSpace( pSysPtr, dwSize );
i'm getting an exception "0xC0000005".
This allways happens under CE 4.1 & CE 4.2, if I/O address is 0xE3800. As
long as I/O adress of the PnP Boad is 0xD8000
everything works fine.
Any comments? Could it be a bug in TransBusAddrToVirtual?
Maxim Weber
Sohard AG