|
From: | Richard Henderson |
Subject: | Re: [PATCH v9 03/17] target/riscv: save and restore elp state on priv transitions |
Date: | Tue, 27 Aug 2024 13:58:19 +1000 |
User-agent: | Mozilla Thunderbird |
On 8/27/24 13:53, Alistair Francis wrote:
Exposing the *envcfg CSRs to userspace seems tricky as everything is currently built with the S/M CSRs removed from user builds.
It is as simple as moving them out of ifdefs, then initializing them as needed in reset for CONFIG_USER_ONLY. That's what we do for Arm.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |