pub fn is_address_valid(&self, addr: u32) -> bool {
        let region = VAXMMU::address_region(addr); 
        let maddr = addr & 0x3FFF_F800;
        
        match region {
            0 if maddr < (self.p0_len * 512) => true,
            1 if maddr > (self.p1_len * 512) => true,
            2 if maddr > (self.sys_len * 512) => true,
            _ => false,
        }
    }
/// Checks an address for validity
/// See page 209 of the VAX Architecture Reference Manual (1987)
Checks an address for validity
See page 209 of the VAX Architecture Reference Manual (1987)
Checks an address for validity See page 209 of the VAX Architecture Reference Manual ( 1987 )
pub fn is_address_valid(&self, addr: u32) -> bool {
        let region = VAXMMU::address_region(addr); 
        let maddr = addr & 0x3FFF_F800;
        match region {
            0 if maddr < (self.p0_len * 512) => true,
            1 if maddr > (self.p1_len * 512) => true,
            2 if maddr > (self.sys_len * 512) => true,
            _ => false,
        }
    }
pub fn is_address_valid ( & self , addr : u32 ) -> bool { let region = VAXMMU :: address_region ( addr ) ; let maddr = addr & 0x3FFF_F800 ; match region { 0 if maddr < ( self . p0_len * 512 ) => true , 1 if maddr > ( self . p1_len * 512 ) => true , 2 if maddr > ( self . sys_len * 512 ) => true , _ => false , } }
Checks an address for validity
See page 209 of the VAX Architecture Reference Manual (1987)
Checks an address for validity See page 209 of the VAX Architecture Reference Manual ( 1987 )
&self
addr
u32
&self
addr
u32