pub fn store_doubleword_raw(&mut self, p_address: u64, value: u64) {
		let effective_address = self.get_effective_address(p_address);
		match effective_address >= DRAM_BASE
			&& effective_address.wrapping_add(7) > effective_address
		{
			// Fast path. Directly store to main memory at a time.
			true => self.memory.write_doubleword(effective_address, value),
			false => {
				for i in 0..8 {
					self.store_raw(
						effective_address.wrapping_add(i),
						((value >> (i * 8)) & 0xff) as u8,
					);
				}
			}
		}
	}
/// Stores eight bytes to main memory or peripheral devices depending on
/// physical address.
///
/// # Arguments
/// * `p_address` Physical address
/// * `value` data written
Stores eight bytes to main memory or peripheral devices depending on
physical address.
Stores eight bytes to main memory or peripheral devices depending on physical address .
pub fn store_doubleword_raw(&mut self, p_address: u64, value: u64) {
		let effective_address = self.get_effective_address(p_address);
		match effective_address >= DRAM_BASE
			&& effective_address.wrapping_add(7) > effective_address
		{
			// Fast path. Directly store to main memory at a time.
			true => self.memory.write_doubleword(effective_address, value),
			false => {
				for i in 0..8 {
					self.store_raw(
						effective_address.wrapping_add(i),
						((value >> (i * 8)) & 0xff) as u8,
					);
				}
			}
		}
	}
pub fn store_doubleword_raw ( & mut self , p_address : u64 , value : u64 ) { let effective_address = self . get_effective_address ( p_address ) ; match effective_address >= DRAM_BASE && effective_address . wrapping_add ( 7 ) > effective_address { // Fast path. Directly store to main memory at a time. true => self . memory . write_doubleword ( effective_address , value ) , false => { for i in 0 .. 8 { self . store_raw ( effective_address . wrapping_add ( i ) , ( ( value >> ( i * 8 ) ) & 0xff ) as u8 , ) ; } } } }
Stores eight bytes to main memory or peripheral devices depending on
physical address.
Stores eight bytes to main memory or peripheral devices depending on physical address .
&mut self
p_address
u64
value
u64