You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I'm having an issue when I try to compile an OS using the PULP-RISC-V toolchain. During the process, I've reached this Error: Instruction csrw requires absolute expression.
The mentioned function is the following:
Hello! I'm having an issue when I try to compile an OS using the PULP-RISC-V toolchain. During the process, I've reached this Error: Instruction csrw requires absolute expression.
The mentioned function is the following:
static inline void rv32gc_satp_write(rv32gc_word_t val)
{
asm volatile(
"csrw satp, %0;"
:
: "r" (val)
);
}
The text was updated successfully, but these errors were encountered: