opensbi/include/sbi
Daniel Schaefer f90c4c2e02 lib: sbi: Have spinlock checks return bool
spin_lock_check already returned bool in the source file but not in the
header. With some toolchains that causes an error, as it should.

Because it and related functions all essentially return a bool, we can
use this opportunity to change them.

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
2021-05-14 17:05:20 +05:30
..
fw_dynamic.h include: headers: Replace __ASSEMBLY__ with __ASSEMBLER__ 2021-03-22 16:02:48 +05:30
riscv_asm.h lib: utils: reset: Add T-HEAD sample platform reset driver 2021-04-22 15:13:53 +05:30
riscv_atomic.h include: Use more consistent name for atomic xchg() and cmpxchg() 2020-03-28 13:32:38 +05:30
riscv_barrier.h lib: utils: reset: Add T-HEAD sample platform reset driver 2021-04-22 15:13:53 +05:30
riscv_elf.h firmware: Support position independent execution 2021-03-19 15:00:50 +05:30
riscv_encoding.h include: Rename ECALL defines to match latest RISC-V spec 2020-09-09 09:32:02 +05:30
riscv_fp.h lib: Allow compiling without FP support 2019-07-26 15:49:49 +05:30
riscv_io.h all: run clang-format and update checked-in files 2019-04-24 09:49:46 +05:30
riscv_locks.h lib: sbi: Have spinlock checks return bool 2021-05-14 17:05:20 +05:30
sbi_bitmap.h lib: Simple bitmap library 2020-03-11 15:29:45 +05:30
sbi_bitops.h include: sbi_bitops: Remove dead shift assignment in ffs/fls 2020-07-14 17:03:30 +05:30
sbi_console.h lib: sbi: Simplify console platform operations 2021-04-28 16:58:23 +05:30
sbi_const.h include: headers: Replace __ASSEMBLY__ with __ASSEMBLER__ 2021-03-22 16:02:48 +05:30
sbi_csr_detect.h lib: fix csr detect support 2021-04-05 13:43:08 +05:30
sbi_domain.h lib: sbi: Make sbi_domain_memregion_initfw() a local function 2021-04-13 10:56:51 +05:30
sbi_ecall.h include: sbi: Upgrade SBI implementation version to v0.3 2021-03-03 13:54:44 +05:30
sbi_ecall_interface.h include: sbi: SBI function IDs for RFENCE extension 2021-03-12 09:32:53 +05:30
sbi_emulate_csr.h lib: sbi_emulate_csr: Remove scratch and hartid parameter 2020-03-28 13:32:07 +05:30
sbi_error.h lib: Don't return any invalid error from SBI ecall 2020-06-20 10:36:13 +05:30
sbi_fifo.h lib: Fix race conditions in tlb fifo access. 2019-08-16 08:42:55 +05:30
sbi_hart.h lib: sbi: Add sbi_hart_reinit() function 2021-03-03 10:19:18 +05:30
sbi_hartmask.h include: sbi: Make hartmask pointer const in sbi_hartmask_test_hart() 2020-10-20 11:19:13 +05:30
sbi_hfence.h lib: Fix __sbi_hfence_gvma_vmid_gpa() and __sbi_hfence_vvma_asid_va() 2020-06-15 09:24:27 +05:30
sbi_hsm.h lib: sbi: Simplify HSM platform operations 2021-04-28 17:31:07 +05:30
sbi_illegal_insn.h lib: sbi_illegal_insn: Remove mcause, scratch and hartid parameters 2020-03-28 13:32:11 +05:30
sbi_init.h lib: Add sbi_init_count() API 2020-01-07 12:11:48 +05:30
sbi_ipi.h lib: sbi: Simplify ipi platform operations 2021-04-28 17:03:31 +05:30
sbi_list.h include: Add generic and simple list handling APIs 2020-01-22 12:13:30 +05:30
sbi_math.h lib: Create a separate math helper function file 2020-05-10 09:59:24 +05:30
sbi_misaligned_ldst.h lib: sbi_misaligned_ldst: Remove mcause, scratch and hartid parameters 2020-03-28 13:32:14 +05:30
sbi_platform.h lib: sbi: Simplify HSM platform operations 2021-04-28 17:31:07 +05:30
sbi_scratch.h include: headers: Replace __ASSEMBLY__ with __ASSEMBLER__ 2021-03-22 16:02:48 +05:30
sbi_string.h lib: Add sbi_strncmp implementation 2020-07-29 12:03:45 +05:30
sbi_system.h lib: sbi: Simplify system reset platform operations 2021-04-28 17:25:00 +05:30
sbi_timer.h lib: sbi: Simplify timer platform operations 2021-04-28 17:00:49 +05:30
sbi_tlb.h lib: sbi: Allow custom local TLB flush function 2021-01-07 09:53:19 +05:30
sbi_trap.h firware: optimize the exception exit code 2021-04-01 10:48:35 +05:30
sbi_types.h include: types: Add __aligned(x) to define the minimum alignement 2021-04-09 18:37:06 +05:30
sbi_unpriv.h lib: Remove scratch parameter from unpriv load/store functions 2020-03-28 13:32:01 +05:30
sbi_version.h include: Bump-up version to 0.9 2021-01-18 18:47:19 +05:30