aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/ei.h
blob: 8306aebb96ace10b0f502ebe9a404394a0db80cf (plain)
1
2
3
4
require_supervisor;
uint32_t temp = sr;
set_sr(sr | SR_ET);
RD = temp;