Nick Hu ddf4972834 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 <nick.hu@sifive.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2021-10-20 10:59:17 +08:00
..
2019-08-15 13:42:28 +08:00
2021-09-07 10:34:29 +08:00
2021-04-22 14:09:45 -04:00
2020-06-25 13:24:10 -04:00