summaryrefslogtreecommitdiff
path: root/lib/sbi/sbi_ecall_replace.c
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-03-04 12:00:49 +0300
committerAnup Patel <anup@brainfault.org>2020-03-11 12:59:51 +0300
commitd6d7e18d1d12c8eda2591f21a70d31dd95c2d32e (patch)
tree1d0045a5d857e8db0f0fde4667d3d963746ba9f1 /lib/sbi/sbi_ecall_replace.c
parentc741abcd40a843007007741984fb87ed561dfa90 (diff)
downloadopensbi-d6d7e18d1d12c8eda2591f21a70d31dd95c2d32e.tar.xz
lib: sbi_init: Don't allow HARTID greater than SBI_HARTMASK_MAX_BITS
We only allow HARTs with HARTID less than SBI_HARTMASK_MAX_BITS in sbi_init() function so that sbi_hartmask can safely used across OpenSBI sources. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_ecall_replace.c')
0 files changed, 0 insertions, 0 deletions