]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/ArmLib/AArch64: Initialize the new N+1-level page table before registering it
authorOlivier Martin <olivier.martin@arm.com>
Fri, 10 Oct 2014 11:25:04 +0000 (11:25 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 10 Oct 2014 11:25:04 +0000 (11:25 +0000)
commitebb923532915eb33371d97cf8f2e706139ae75a2
tree86d920ee0516749834a4198d1f1432b50322bb66
parent1a70a690ea534c77639b92c811f6a6378b2bbea0
ArmPkg/ArmLib/AArch64: Initialize the new N+1-level page table before registering it

Prior to this change, when a new page table was created at level N+1,
the reference to the table was added to the level N translation table,
before being initialized.
It means if virtual addresses were in the address range defined by
this new table the CPU would crash as the address range was not
initialized.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16206 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/ArmLib/AArch64/AArch64Mmu.c