Searched hist:"37 ad62c2965e3922d0cb8d8d468e912412c26fcb" (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/arch/riscv/kernel/ |
| H A D | sbi.c | 37ad62c2965e3922d0cb8d8d468e912412c26fcb Tue Jul 15 01:30:02 UTC 2025 Marouene Boubakri <marouene.boubakri@nxp.com> core: riscv: sbi.h: expose sbi_ecall helper in public header
Move `sbi_ecall()` and `struct sbiret` to sbi.h to allow reuse across individual SBI extension implementations. This prepares for modularizing each SBI extension (e.g., HSM, MPXY) into its own file while centralizing the ecall interface.
Removes the now-duplicated inline definition from sbi.c.
Signed-off-by: Marouene Boubakri <marouene.boubakri@nxp.com> Reviewed-by: Alvin Chang <alvinga@andestech.com> Reviewed-by: Yu-Chien Peter Lin <peter.lin@sifive.com>
|
| /optee_os/core/arch/riscv/include/ |
| H A D | sbi.h | 37ad62c2965e3922d0cb8d8d468e912412c26fcb Tue Jul 15 01:30:02 UTC 2025 Marouene Boubakri <marouene.boubakri@nxp.com> core: riscv: sbi.h: expose sbi_ecall helper in public header
Move `sbi_ecall()` and `struct sbiret` to sbi.h to allow reuse across individual SBI extension implementations. This prepares for modularizing each SBI extension (e.g., HSM, MPXY) into its own file while centralizing the ecall interface.
Removes the now-duplicated inline definition from sbi.c.
Signed-off-by: Marouene Boubakri <marouene.boubakri@nxp.com> Reviewed-by: Alvin Chang <alvinga@andestech.com> Reviewed-by: Yu-Chien Peter Lin <peter.lin@sifive.com>
|