Skip to content
Commit 7fcf5519 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Anas Nashif
Browse files

aarch64: mmu: cleanups and fixes



Major changes:

- move related functions together
- optimize add_map() not to walk the page tables *twice* on
  every loop
- properly handle leftover size when a range is already mapped
- don't overwrite existing mappings by default
- return an error when the mapping fails

and make the code clearer overall.

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
parent dfd8e752
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment