diff options
| author | Nick Hu <[email protected]> | 2021-10-18 11:50:05 +0800 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2021-10-20 10:59:17 +0800 |
| commit | ddf4972834fdf33f0a3360ff4a68fde333995113 (patch) | |
| tree | c704b0558d4ab6a32c95327865ebb7fa6b37208f /scripts | |
| parent | b18c4ae82f266d81281d63ac58945d92ed67afde (diff) | |
riscv: Avoid io read/write cause wrong result
io read/write may cause wrong result because they may read/write data
from/to register instead of memory. Add 'volatile' to avoid it.
Signed-off-by: Nick Hu <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
