Home
last modified time | relevance | path

Searched hist:"9 df67cd45a18e4c5054d084cbcdf6be716c82f58" (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/arch/riscv/kernel/
H A Dasm-defines.c9df67cd45a18e4c5054d084cbcdf6be716c82f58 Thu Sep 26 02:39:55 UTC 2024 Alvin Chang <alvinga@andestech.com> core: riscv: Improve thread user mode record

Make the asm definitions be more human-readable.

Besides, it's unnecessary to save and restore kernel SP and GP into
thread_user_mode_rec, since they will be setup by system call trap
handler before executing thread_unwind_user_mode().

Signed-off-by: Alvin Chang <alvinga@andestech.com>
Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com>
H A Dthread_rv.S9df67cd45a18e4c5054d084cbcdf6be716c82f58 Thu Sep 26 02:39:55 UTC 2024 Alvin Chang <alvinga@andestech.com> core: riscv: Improve thread user mode record

Make the asm definitions be more human-readable.

Besides, it's unnecessary to save and restore kernel SP and GP into
thread_user_mode_rec, since they will be setup by system call trap
handler before executing thread_unwind_user_mode().

Signed-off-by: Alvin Chang <alvinga@andestech.com>
Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com>
/optee_os/core/arch/riscv/include/kernel/
H A Dthread_private_arch.h9df67cd45a18e4c5054d084cbcdf6be716c82f58 Thu Sep 26 02:39:55 UTC 2024 Alvin Chang <alvinga@andestech.com> core: riscv: Improve thread user mode record

Make the asm definitions be more human-readable.

Besides, it's unnecessary to save and restore kernel SP and GP into
thread_user_mode_rec, since they will be setup by system call trap
handler before executing thread_unwind_user_mode().

Signed-off-by: Alvin Chang <alvinga@andestech.com>
Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com>