[U-Boot] [PATCH 8/9] armv8: mmu: Add a function to change mapping attributes
york sun
york.sun at nxp.com
Tue Feb 14 16:44:45 UTC 2017
On 02/14/2017 07:39 AM, Alexander Graf wrote:
>
>
> On 14/02/2017 04:45, York Sun wrote:
>> Function mmu_change_region_attr() is added to change existing mapping
>> with updated PXN, UXN and memory type. This is a break-before-make
>> process during which the mapping becomes fault (invalid) before final
>> attributres are set.
>
> This is what we have the emergency tables for, no? Just switch to those,
> modify anything you like in the original tables, then switch back.
>
It is the emergency table for. However, I don't have the luxury to use
another table for the early MMU due to very limited SRAM available.
York
More information about the U-Boot
mailing list