diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-09-07 08:41:29 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-09-16 06:35:22 +0300 |
commit | 6734304f8c759c782cab12ecfd6c20fb23b8ee44 (patch) | |
tree | 37b5a05628e96be9a1740e7dcd68808d1607eddf /include/sbi/sbi_error.h | |
parent | c1c7c3ee9eb70e5c25914621f0363bfe244ebc79 (diff) | |
download | opensbi-6734304f8c759c782cab12ecfd6c20fb23b8ee44.tar.xz |
lib: sbi: Allow specifying start mode to sbi_hsm_hart_start() API
The sbi_scratch already has provision to specify the next stage mode
so we can leverage this to specify start mode to sbi_hsm_hart_start().
In future, this will be useful in providing SBI calls to U-mode on
embedded cores where we M-mode and U-mode but no S-mode.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi/sbi_error.h')
0 files changed, 0 insertions, 0 deletions