diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2018-12-21 16:44:53 +0900 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@wdc.com> | 2018-12-21 16:44:53 +0900 |
commit | 426adf9f6025fe70470476166db63ea7c0c1514b (patch) | |
tree | 59e22e5d5322c3e7854a4263866f1d59f951135d /include/sbi/sbi_hart.h | |
parent | 4fb23c49ebbb012955ba7128d1dc742adb8d85b5 (diff) |
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/sbi/sbi_hart.h')
-rw-r--r-- | include/sbi/sbi_hart.h | 8 |
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); |