forked from Mirrors/opensbi

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 <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
33 lines
747 B
Makefile
33 lines
747 B
Makefile
#
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
#
|
|
# Copyright (c) 2019 Western Digital Corporation or its affiliates.
|
|
#
|
|
# Authors:
|
|
# Anup Patel <anup.patel@wdc.com>
|
|
#
|
|
|
|
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
|
|
lib-objs-y += sbi_emulate_csr.o
|
|
lib-objs-y += sbi_fifo.o
|
|
lib-objs-y += sbi_hart.o
|
|
lib-objs-y += sbi_illegal_insn.o
|
|
lib-objs-y += sbi_init.o
|
|
lib-objs-y += sbi_ipi.o
|
|
lib-objs-y += sbi_misaligned_ldst.o
|
|
lib-objs-y += sbi_scratch.o
|
|
lib-objs-y += sbi_system.o
|
|
lib-objs-y += sbi_timer.o
|
|
lib-objs-y += sbi_tlb.o
|
|
lib-objs-y += sbi_trap.o
|
|
|
|
# External Libraries to include
|
|
PLATFORM_INCLUDE_LIBC=y
|