[Libre-soc-dev] svp64 review

Luke Kenneth Casson Leighton lkcl at lkcl.net
Tue Jul 26 11:08:48 BST 2022


---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68

On Tue, Jul 26, 2022 at 2:53 AM Jacob Bachmeyer <jcb62281 at gmail.com> wrote:

> When a trap is taken (so we have gone from user mode ("problem state" in
> the Power ISA spec) to some privileged mode) what happens?  Those are
> the handlers I am talking about -- system software will need to
> save/restore the additional state somewhere.

Power ISA 3.0:

* PC is saved in SRR0
* MSR is saved in SRR1

Simple-V:

* PC is saved in SRR0
* MSR is saved in SRR1
* SVSTATE is saved in SVSRR1

l.



More information about the Libre-soc-dev mailing list