Function rsim::processor::elements::memory::check_alignment_range [−][src]
pub(super) fn check_alignment_range<TData>(
addr: u64,
range: &Range<usize>
) -> MemoryResult<()>
Checks for address alignment and whether the address is in-range, generic on the type of data being accessed.
Enforces alignment to size_of