arm: refactor page table walking
authorCurtis Dunham <Curtis.Dunham@arm.com>
Tue, 2 Aug 2016 09:38:03 +0000 (10:38 +0100)
committerCurtis Dunham <Curtis.Dunham@arm.com>
Tue, 2 Aug 2016 09:38:03 +0000 (10:38 +0100)
commit8b3434a4f2090961dc5b3da7bc48b8b636b9f1e3
tree07e1633a0d9d28ffe5940260e48e81ae7df8fc1b
parent09218ed397f0df12dd7d4cd21dd6203330e69d06
arm: refactor page table walking

Introduce and use a lookup table.

Using fetchDescriptor() rather than DMA cleanly handles nested paging.

Change-Id: I69ec762f176bd752ba1040890e731826b58d15a6
src/arch/arm/table_walker.cc
src/arch/arm/table_walker.hh