aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/di.h
blob: 31280d5f63c2e577f93c5fe07b143eedd659c663 (plain)
1
2
3
4
require_supervisor;
uint32_t temp = sr;
set_sr(sr & ~SR_ET);
RD = temp;