We have a PCI card that has on-board memory that we map using
MmMapIoSpace, then use the returned virtual address with ZwReadFile,
ZwWriteFile to perform Disk I/O to and from our memory. This was developed
under NT4.0 then ported to Win2K where it works. Under XP this causes a
page fault in MmMapLockedPagesSpecifyCache. I have tried various cache
types in the MmMapIoSpace call, and we only map this space once, however
any I/O greater then 32Kb causes this bug check.
Fred Huebner
I’m a bit confused by your description. Perhaps you could supply the stack
trace and the rest the data associated with what I presume was some sort of
bugcheck.
=====================
Mark Roddy
Hollis Technology Solutions
www.hollistech.com
xxxxx@hollistech.com
-----Original Message-----
From: Fred Huebner [mailto:xxxxx@earthlink.net]
Sent: Tuesday, August 05, 2003 4:00 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] Disk I/O to MmMapIoSpace’d Virtual Address in XP
We have a PCI card that has on-board memory that we map using MmMapIoSpace,
then use the returned virtual address with ZwReadFile, ZwWriteFile to
perform Disk I/O to and from our memory. This was developed under NT4.0 then
ported to Win2K where it works. Under XP this causes a page fault in
MmMapLockedPagesSpecifyCache. I have tried various cache types in the
MmMapIoSpace call, and we only map this space once, however any I/O greater
then 32Kb causes this bug check.
Fred Huebner
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com