diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-10-28 16:40:44 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-10-28 16:43:43 +0000 |
commit | 06a9330004b6d83a7e1ba3a74f1fec4f49b3226a (patch) | |
tree | fd6c0ff3a5b136c025eee6011a8975766612499c /src/include/ipxe/refcnt.h | |
parent | be0c9788a13423b851af4d38be149af17f7b8494 (diff) | |
download | ipxe-06a9330004b6d83a7e1ba3a74f1fec4f49b3226a.tar.gz |
[riscv] Add missing volatile qualifiers on timer and seed CSR accesses
The timer and entropy seed CSRs will, by design, return different
values each time they are read.
Add the missing volatile qualifiers on the inline assembly to prevent
gcc from assuming that repeated invocations may be elided.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/refcnt.h')
0 files changed, 0 insertions, 0 deletions