RE: [ntdev] Re: Flushing DMA Buffer Allocated with AllocateCommonBufferI
just allocated an MDL associated with the virtual address of the common
buffer and call KeFlushIoBuffers. I let the OS determine if it is a no-op or
not. On weird architectures (possibly like a Unisys ES7000), this may
actually be needed.
“Calvin Guan” wrote in message news:xxxxx@ntdev…
If you are writing NDIS drivers, you can use NdisMUpdateSharedMemory to
flush shared memory which is not described by any NDIS_BUFFER (MDL). Packet
descriptor structure accessed by both NIC and CPU falls into this category.
I couldn’t find the KeXxx counterpart of it. It’s defined as no-op for now
though.
Calvin Guan, Software Developer xxxxx@nospam.ati.com
SW2D-Radeon NT Core Drivers
ATI Technologies Inc.
1 Commerce Valley Drive East
Markham, Ontario, Canada L3T 7X6
Tel: (905) 882-2600 Ext. 8654
Find a driver: http://www.ati.com/support/driver.html