ioremap reposted
Next message: Damion de Soto: "Re: Video Driver"
Date: 16 Jun 2005 14:53:05 -0700
I repost this subject again. and try get some discussion.
ioremap to map a block physical address.
My question how do I do if that piece o memory is already mapped or
not. For exmaple, if I in looking arround in kernel space, and I want
check a phsical memory, I should so a ioremap to get the memory mapped.
However, who know if that block of memory is hanled by another driver
or not. If it is, most like the meory has been alreay mapped by some
driver before.
So the question is, if I can ioremap again, does it harm? and plus, how
happend if I do iounmap afterword, and that if the meory was mapped at
first by some other driver, does that harm?
Next message: Damion de Soto: "Re: Video Driver"
Relevant Pages
- memory mapped IO in kernel mode
... I'm working on a device driver for a 2.4 kernel and I'm having a heck of a ... And I have a similar driver written for x86 ... The hardware is controlled via memory mapped registers at 0x11e0104 - ... use the handle returned by ioremap for readb and readw... ... (comp.os.linux.embedded) - Re: [patch] x86, voyager: fix ioremap_nocache()
... memory, in dma_declare_coherent_memory, rather than devices. ... The changes to ioremap() recently turned that into "100% uncached". ... For voyager, we don't so it ... unbursted traffic across the MCA bus. ... (Linux-Kernel) - Re: ioremap() and port of linux to MPC7400 based SBC (VME board)
... > ioremap() of the second physical address also returns what appears to ... > MPC7400 that I use to verify that the device X control and memory exist ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: [PATCH 2.6.15] ia64: use i386 dmi_scan.c
... >> because of some memory attribute problem. ... > memory, which doesn't support uncacheable access, so iorem ... At least on x86-64/i386 the ioremap is actually cached unless a MTRR ... a difference in the EFI support for different architectures. ... (Linux-Kernel) - Re: ioremap() and port of linux to MPC7400 based SBC (VME board)
... > ioremap() of the second physical address also returns what appears to ... > MPC7400 that I use to verify that the device X control and memory exist ... No idea up to now, but what kernel, what linux? ... (comp.arch.embedded) |
|