linux - map specifc virtual address to a specific physical one -
To find a way to do this.
Can you tell us kernel version and CPU architecture / type? Generally, if the specific virtual address that you want to map to does not overlap with the kernel virtual address (such as 0xC0000000), and if the physical address that your device does not overlap with the system memory physical address range, then its You can use low-level tasks (if not, you can use mmu to collect language for installation of TLB entries during kernel booting ) The specific virtual a particular address during kernel booting to set the MMU TLB entries to map. I can provide an example based on the 2.6.10 kernel version and the Freescale PowerPC CPU, the Iio_block_mapping function for the object you want.
Comments
Post a Comment