commit | 2323d72cd40b9a0e4b38ce0f1305ba784395e9c0 | [log] [tgz] |
---|---|---|
author | Raghu Krishnamurthy <raghu.ncstate@icloud.com> | Fri Feb 12 22:55:38 2021 -0800 |
committer | Olivier Deprez <olivier.deprez@arm.com> | Fri Sep 17 10:49:44 2021 +0200 |
tree | c596b13929cc5ea44da674d8c426a637f36e85cb | |
parent | 22a0f0f482fd9ec701dc100e990f5b2e0ba6c979 [diff] |
VHE: Add helper to get attributes of a stage 1 va range. This patch adds a new helper function mm_get_mode, similar to mm_vm_get_mode, to get the attributes of a stage 1 va range. This is useful to be able to get memory attributes of a EL0 partitions va range for example. This patchset modifies the existing function mm_vm_get_attrs to take flags as an argument so that the same function can work with stage 1 tables as well. Also added helper function to convert attributes to mode for stage 1 similar to stage 2 helper function. Change-Id: I9dd23a7728830641bec46970fb6fa711240f8516 Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
Hafnium is a hypervisor, initially supporting aarch64 (64-bit Armv8 CPUs).
Get in touch and keep up-to-date at hafnium@lists.trustedfirmware.org. See feature requests and bugs on our bug dashboard.
To jump in and build Hafnium, follow the getting started instructions.
If you want to contribute to the project, see details of how we accept contributions.
More documentation is available on: