use kernel::utilities::registers::register_bitfields;
#[cfg(not(target_arch = "riscv64"))]
register_bitfields![usize,
pub mseccfg [
mml OFFSET(0) NUMBITS(1) [],
mmwp OFFSET(1) NUMBITS(1) [],
rlb OFFSET(2) NUMBITS(1) [],
]
];
#[cfg(not(target_arch = "riscv64"))]
register_bitfields![usize,
pub mseccfgh [
none OFFSET(0) NUMBITS(1) [],
]
];
#[cfg(target_arch = "riscv64")]
register_bitfields![usize,
pub mseccfg [
mml OFFSET(0) NUMBITS(1) [],
mmwp OFFSET(1) NUMBITS(1) [],
rlb OFFSET(2) NUMBITS(1) [],
]
];