summaryrefslogtreecommitdiff
path: root/lib/objects.mk
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2019-05-21 16:12:33 +0530
committerAnup Patel <[email protected]>2019-05-24 08:22:47 +0530
commita22c6891b718a155b2b8429be62760860b4d6109 (patch)
treee7002877a42905408cb7b3345d5405ecb0b97b3d /lib/objects.mk
parent95b7480ab4b438cf545afae200b40012e83f1dda (diff)
include: Make unprivilege load/store functions as non-inline functions
Currently, the unprivilege load/store functions are inline functions. We will be extending these functions to track whether a page/access fault occurs when we execute unprivilege load/store instruction. To make things simpler and debugable, we reduce number of places which can potentially generate a page/access fault by making all unprivilege load/store functions as regular (non-inline) functions. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'lib/objects.mk')
-rw-r--r--lib/objects.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/objects.mk b/lib/objects.mk
index 8eb860f9..35a8bacf 100644
--- a/lib/objects.mk
+++ b/lib/objects.mk
@@ -11,6 +11,7 @@ lib-objs-y += riscv_asm.o
lib-objs-y += riscv_atomic.o
lib-objs-y += riscv_hardfp.o
lib-objs-y += riscv_locks.o
+lib-objs-y += riscv_unpriv.o
lib-objs-y += sbi_console.o
lib-objs-y += sbi_ecall.o