Re: ARM, MMU and IO space mapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> writes:

>> That would require a function in arch/arm/cpu/mmu.c, to remap a physical address
>> range into a virtual one, wouldn't it ? Would you have a suggestion for the API
>> ? As in map_io_section(u32 phys_addr, void *virt) ?
>
> How about adding a size parameter ;)
Ok, then it would become "map_io_range(unsignend long phys_addr, void *virt)",
which is a little more complicated that the original map_io_section which
remapped only full 1M sections for simplicity.

But yeah, I can add that parameter :)

Cheers.

-- 
Robert

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux