diff options
| author | Anup Patel <[email protected]> | 2019-11-17 14:16:24 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2019-11-21 13:57:33 +0530 |
| commit | 0e1322bacbaccb34f167ebe243ab04836b99105c (patch) | |
| tree | b7c767b8dd31dba21d672afd6cb8dd9fc512721a /lib/sbi/objects.mk | |
| parent | b1d8c988bcca84cf7cd8ee5bf4fe528e256cfeab (diff) | |
lib: Better naming of unpriv APIs for wider use
The unpriv APIs can be useful to external firmware and out-of-tree
platform support code.
This patch adds "sbi_" prefix to unpriv load/store APIs and rename
struct riscv_unpriv to struct sbi_trap_info everywhere. We also
place struct sbi_trap_info in sbi/sbi_trap.h so that we can use
it for sbi_trap_redirect() as well.
Overall, this patch will make naming of unpriv APIs consistent
with other OpenSBI APIs.
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'lib/sbi/objects.mk')
| -rw-r--r-- | lib/sbi/objects.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbi/objects.mk b/lib/sbi/objects.mk index f2e8494b..0e247fe0 100644 --- a/lib/sbi/objects.mk +++ b/lib/sbi/objects.mk @@ -11,7 +11,6 @@ libsbi-objs-y += riscv_asm.o libsbi-objs-y += riscv_atomic.o libsbi-objs-y += riscv_hardfp.o libsbi-objs-y += riscv_locks.o -libsbi-objs-y += riscv_unpriv.o libsbi-objs-y += sbi_console.o libsbi-objs-y += sbi_ecall.o @@ -28,3 +27,4 @@ libsbi-objs-y += sbi_timer.o libsbi-objs-y += sbi_tlb.o libsbi-objs-y += sbi_trap.o libsbi-objs-y += sbi_string.o +libsbi-objs-y += sbi_unpriv.o |
