Struct hazardflow_designs::cpu::mem::MemInfo
source · pub struct MemInfo {
pub fcn: MemOpFcn,
pub typ: MemOpTyp,
pub data: u32,
}
Expand description
Memory access information.
Fields§
§fcn: MemOpFcn
Function (load or store).
typ: MemOpTyp
Operand type.
data: u32
Store data.
Used for S-type instructions (sw
, sh
, sb
).
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MemInfo
impl Send for MemInfo
impl Sync for MemInfo
impl Unpin for MemInfo
impl UnwindSafe for MemInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more