Searched refs:read_const_csr (Results 1 - 1 of 1) sorted by relevance

/seL4-test-master/tools/riscv-pk/machine/
H A Dmtrap.h20 #define read_const_csr(reg) ({ unsigned long __tmp; \ macro
26 return read_const_csr(misa) & (1 << (ext - 'A'));
31 return read_const_csr(misa) < 0 ? 64 : 32;
57 #define OTHER_HLS(id) ((hls_t*)((void*)HLS() + RISCV_PGSIZE * ((id) - read_const_csr(mhartid))))

Completed in 80 milliseconds