commit | 06a9330004b6d83a7e1ba3a74f1fec4f49b3226a | [log] [tgz] |
---|---|---|
author | Michael Brown <mcb30@ipxe.org> | Mon Oct 28 16:40:44 2024 +0000 |
committer | Michael Brown <mcb30@ipxe.org> | Mon Oct 28 16:43:43 2024 +0000 |
tree | fd6c0ff3a5b136c025eee6011a8975766612499c | |
parent | be0c9788a13423b851af4d38be149af17f7b8494 [diff] |
[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>