Searched hist:e10bcf3bdd8c05be76256d8c651a8ae685f73883 (Results 1 – 3 of 3) sorted by relevance
| /optee_os/core/arch/riscv/kernel/ |
| H A D | csr_detect.S | e10bcf3bdd8c05be76256d8c651a8ae685f73883 Sun Apr 07 05:12:00 UTC 2024 Alvin Chang <alvinga@andestech.com> core: riscv: Add seed CSR detection helper
Any attempted access to unimplemented or restricted CSRs will raise an illegal instruction, so we can set up a temporary trap handler to validate if the use of CSRs is allowed in the privileged mode where OP-TEE OS is running. Add a helper for this specific purpose.
Signed-off-by: Alvin Chang <alvinga@andestech.com> Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | sub.mk | e10bcf3bdd8c05be76256d8c651a8ae685f73883 Sun Apr 07 05:12:00 UTC 2024 Alvin Chang <alvinga@andestech.com> core: riscv: Add seed CSR detection helper
Any attempted access to unimplemented or restricted CSRs will raise an illegal instruction, so we can set up a temporary trap handler to validate if the use of CSRs is allowed in the privileged mode where OP-TEE OS is running. Add a helper for this specific purpose.
Signed-off-by: Alvin Chang <alvinga@andestech.com> Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/core/arch/riscv/include/ |
| H A D | riscv.h | e10bcf3bdd8c05be76256d8c651a8ae685f73883 Sun Apr 07 05:12:00 UTC 2024 Alvin Chang <alvinga@andestech.com> core: riscv: Add seed CSR detection helper
Any attempted access to unimplemented or restricted CSRs will raise an illegal instruction, so we can set up a temporary trap handler to validate if the use of CSRs is allowed in the privileged mode where OP-TEE OS is running. Add a helper for this specific purpose.
Signed-off-by: Alvin Chang <alvinga@andestech.com> Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
|