Re: [edk2] [PATCH v2 2/4] ArmPkg/ArmMmuLib ARM: handle unmapped sections when updating permissions

2018-11-30 Thread Leif Lindholm
On Fri, Nov 30, 2018 at 12:28:27PM +0100, Ard Biesheuvel wrote: > The ARM ArmMmuLib code currently does not take into account that > setting permissions on a region should take into account that a > region may not be mapped yet to begin with. > > So when updating a section descriptor whose old

[edk2] [PATCH v2 2/4] ArmPkg/ArmMmuLib ARM: handle unmapped sections when updating permissions

2018-11-30 Thread Ard Biesheuvel
The ARM ArmMmuLib code currently does not take into account that setting permissions on a region should take into account that a region may not be mapped yet to begin with. So when updating a section descriptor whose old value is zero, pass in the address explicitly. Contributed-under: TianoCore