diff options
| author | Samuel Holland <samuel.holland@sifive.com> | 2024-03-18 07:49:29 -0700 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2024-04-05 17:34:25 +0530 |
| commit | f5375bc15e9f3e577dfc24f9095a3e37246a3fa3 (patch) | |
| tree | fbba4126ba52d8c773a0a7095a837077d5e1ee9a /include | |
| parent | b94396c7dde699c17e81e087aadafda125f86856 (diff) | |
| download | opensbi-f5375bc15e9f3e577dfc24f9095a3e37246a3fa3.tar.gz opensbi-f5375bc15e9f3e577dfc24f9095a3e37246a3fa3.tar.bz2 opensbi-f5375bc15e9f3e577dfc24f9095a3e37246a3fa3.zip | |
platform: generic: allwinner: Optimize current hart scratch access
The address of the local scratch area is stored in each hart's mscratch
CSR. It is more efficient to read the CSR than to compute the address
from the hart ID.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
