MmMapIoSpace is it really uncached??

bigus_dingus_at_yahoo.com
Date: 01/24/05


Date: 24 Jan 2005 11:57:21 -0800

I am using the MmMapIoSpace() system call to attempt to access a
physical address in my driver. I am passing in FALSE for the parameter
"CacheType" as I most definitely do _not_ want this access to go
through the processor's cache. However, looking at the bus cycle, I
don't believe that I am getting an un-cached access. Within
OEMAddressTable, this area is mapped to virtual address 0x80000000
which I understand is un-cached.
So, my question is this,

Is it possible to get an un-cached address from MmMapIoSpace() if the
corresponding entry within OEMAddressTable is cached?

-background
I am using a Sharp arm processor. On the Sharp arm bus, sequential bus
accesses to the same chip select space will not toggle the chip select.
This is a problem for some hardware. So, I am creating a barrier
function that will read some other chip select address space in an
effort to toggle that chip select. Now, if my barrier function reads
memory out of cache, then I will not see a bus access. Which is what I
am seeing after I access memory allocated by MmMapIoSpace(some_address,
4, FALSE).

Any insight is greatly appreciated,
Eric



Relevant Pages

  • MmMapIoSpace is it really uncached??
    ... Is it possible to get an un-cached address from MmMapIoSpace() if the ... the bus will not toggle the chip select ... barrier function, if I read a cached area, then a bus access does not ...
    (microsoft.public.windowsce.platbuilder)
  • Re: MmMapIoSpace is it really uncached??
    ... You can obtain uncached address with MmMapIoSpace. ... However, looking at the bus cycle, I don't believe ... > when sequential accesses to the same chip select areas occur. ... > barrier function, if I read a cached area, then a bus access does not ...
    (microsoft.public.windowsce.platbuilder)
  • Re: i2c_adapter i2c-0: Bus collision!
    ... As we load sensor chip drivers, we make sure that the chip we want to ... Not all read errors are detected as bus collisions. ... Sorry for the delay again. ...
    (Linux-Kernel)
  • Re: Restoring a NorthStar Horizon, problems with SRAM board
    ... various chip pins for activity. ... bus drivers, the bus may have had some "fault" on it, a -5V across ... up, I can see there is inconsistent activity on the floppy drives, ... I suspect there is another bad part in the CPU board ...
    (comp.sys.northstar)
  • 6502 bus timing for PBI device
    ... I'm looking at building a PBI device. ... of using a PIC18F4455 microcontroller connected to the bus. ... about whether this chip is actually fast enough, so I need to know the ... as well as provide USB connectivity. ...
    (comp.sys.atari.8bit)