summaryrefslogtreecommitdiff
path: root/lib/utils/timer/objects.mk
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2024-03-18 07:49:28 -0700
committerAnup Patel <[email protected]>2024-04-05 17:34:24 +0530
commitb94396c7dde699c17e81e087aadafda125f86856 (patch)
treeb77c4085afbe2f261cf956d5b50db1ac7f1bd62a /lib/utils/timer/objects.mk
parent5c9a73565f5e6d07cf30ecd7fa511d872050bd2c (diff)
lib: utils/timer: 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 <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/objects.mk')
0 files changed, 0 insertions, 0 deletions