diff options
author | Atish Patra <atish.patra@wdc.com> | 2020-03-17 18:11:40 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-03-31 11:25:56 -0700 |
commit | 2875fe0561569f82d0e63658ccf0d11ce7da8922 (patch) | |
tree | 1d6539c565bf2eb03efb776a2032d48eae4763c4 /mm | |
parent | e011995e826f85fbe55dc7d4ce649461163d1052 (diff) |
RISC-V: Add cpu_ops and modify default booting method
Currently, all non-booting harts start booting after the booting hart
updates the per-hart stack pointer. This is done in a way that, it's
difficult to implement any other booting method without breaking the
backward compatibility.
Define a cpu_ops method that allows to introduce other booting methods
in future. Modify the current booting method to be compatible with
cpu_ops.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions