diff options
author | Caleb Connolly <caleb.connolly@linaro.org> | 2024-06-17 10:03:48 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-06-25 17:22:30 -0600 |
commit | 7ff2dfb6040160d21469cef19af705cdbf7c7353 (patch) | |
tree | c578f1834dd17048ac515b9ccb3b1ac660bb426a /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | |
parent | 7cc93554142e001d1e3504afe840f4bdf3471736 (diff) |
arm64: add software pagetable walker
Add a basic software implementation of the ARM64 pagetable walker. This
can be used for debugging U-Boot's pagetable, as well as dumping the
pagetable from the previous bootloader stage if it used one (by reading
out the ttbr address).
One can either call dump_pagetable() to print the pagetable to the
console with the default formatter, or implement their own pagetable
handler using walke_pagetable() with a custom pte_walker_cb_t callback.
All of the added code is discarded when unused, hence there is no need
to add an additional Kconfig option for this.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions