summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_hart.h
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-03-02 14:03:07 +0300
committerAnup Patel <anup@brainfault.org>2020-03-11 13:00:30 +0300
commiteede1aa7c7f134192ca734e5a2e76ff1588c97d5 (patch)
tree3b89591ae20eaf0e1ec035db8ecdba4c47a9fad7 /include/sbi/sbi_hart.h
parent9aad831e87dae70bf78357d49529c7ee56bd7175 (diff)
downloadopensbi-eede1aa7c7f134192ca734e5a2e76ff1588c97d5.tar.xz
lib: sbi_hart: Remove HART available mask and related APIs
The HART available mask and related APIs are now totally redundant because of more extensive HART state machine implemented by sbi_hsm. Due to above, we remove HART available mask and related APIs. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/sbi/sbi_hart.h')
-rw-r--r--include/sbi/sbi_hart.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h
index 2ec614d..c999b58 100644
--- a/include/sbi/sbi_hart.h
+++ b/include/sbi/sbi_hart.h
@@ -32,12 +32,6 @@ sbi_hart_switch_mode(unsigned long arg0, unsigned long arg1,
unsigned long next_addr, unsigned long next_mode,
bool next_virt);
-void sbi_hart_mark_available(u32 hartid);
-
-ulong sbi_hart_available_mask(void);
-
-void sbi_hart_unmark_available(u32 hartid);
-
struct sbi_scratch *sbi_hart_id_to_scratch(struct sbi_scratch *scratch,
u32 hartid);