summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2018-12-21 10:44:53 +0300
committerDamien Le Moal <damien.lemoal@wdc.com>2018-12-21 10:44:53 +0300
commit426adf9f6025fe70470476166db63ea7c0c1514b (patch)
tree59e22e5d5322c3e7854a4263866f1d59f951135d /include
parent4fb23c49ebbb012955ba7128d1dc742adb8d85b5 (diff)
downloadopensbi-426adf9f6025fe70470476166db63ea7c0c1514b.tar.xz
Cleanup and rename sbi_hart_boot_next()
Cleanup sbi_hart_boot_nexti() code, adding messages for clarity and rename the function to sbi_hart_switch_mode() to reflect what the function actually does. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'include')
-rw-r--r--include/sbi/sbi_hart.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h
index 90161f0..e369779 100644
--- a/include/sbi/sbi_hart.h
+++ b/include/sbi/sbi_hart.h
@@ -20,10 +20,10 @@ void sbi_hart_pmp_dump(struct sbi_scratch *scratch);
void __attribute__((noreturn)) sbi_hart_hang(void);
-void __attribute__((noreturn)) sbi_hart_boot_next(unsigned long arg0,
- unsigned long arg1,
- unsigned long next_addr,
- unsigned long next_mode);
+void __attribute__((noreturn)) sbi_hart_switch_mode(unsigned long arg0,
+ unsigned long arg1,
+ unsigned long next_addr,
+ unsigned long next_mode);
void sbi_hart_mark_available(u32 hartid);