lib: Add support for hart specific features
authorAtish Patra <atish.patra@wdc.com>
Sat, 9 May 2020 23:47:27 +0000 (16:47 -0700)
committerAnup Patel <anup@brainfault.org>
Sun, 10 May 2020 04:32:49 +0000 (10:02 +0530)
commit6a053f6e6cb4db8a291239e882e9a778c2738e0a
treed4f6d52c7b486c51860c5a9eb9f96d5d176bef87
parent79d0fadb0681acbba55bb6b4afcd3c2e6f725928
lib: Add support for hart specific features

There may be some features which are hart specific rather than a platform
specific feature. Add a framework to support that.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Tested-by: Jonathan Balkind <jbalkind@cs.princeton.edu>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
include/sbi/sbi_hart.h
lib/sbi/sbi_hart.c