Elliot Berman
e50d7db612
[arch][riscv] Add support for running in supervisor mode
...
Add support for running LK in supervisor mode or machine mode.
- Macro-ify CSR access to use correct CSR # or use SBI call as req'd
- Add support to make SBI calls
- Split CLINT and lk timer abstraction so that RISC-V timer can use SBI
as required.
- Add support for booting other harts as primary since hart0 on U540
does not support S-mode. A map is used to get LK cpu number from
hartid.
2020-01-16 23:06:28 -08:00
..
2015-09-01 13:26:27 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-13 16:09:27 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-13 16:56:33 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2020-01-16 23:06:28 -08:00
2019-07-05 17:22:23 -07:00
2019-11-02 14:19:36 -07:00
2016-08-23 12:28:28 -07:00
2016-08-23 12:28:28 -07:00
2020-01-16 23:06:28 -08:00
2020-01-16 23:06:28 -08:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-11-18 15:36:28 -08:00
2019-07-05 17:22:23 -07:00
2018-03-16 15:05:10 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2019-07-05 17:22:23 -07:00
2012-08-31 15:52:24 -07:00