riscv_asm.h: Use CSR_<FOO> instead of <foo> for csr_read()
Some toolchains might not have all the CSRs available (as seen with
GCC 7.2). So, instead use the defined CSR_ values.
Signed-off-by:
Olof Johansson <olof@lixom.net>
parent
30dfdf6e
Please register or sign in to comment