fn new(base_addr: u32, raw: u32) -> Self {
        debug!("Parsing raw rom table entry: 0x{:05x}", raw);

        let address_offset = ((raw >> 12) & 0xf_ff_ff) as i32;
        let power_domain_id = ((raw >> 4) & 0xf) as u8;
        let power_domain_valid = (raw & 4) == 4;
        let format = (raw & 2) == 2;
        let entry_present = (raw & 1) == 1;

        RomTableEntryRaw {
            address_offset,
            power_domain_id,
            power_domain_valid,
            format,
            entry_present,
            base_addr,
        }
    }
/// Create a new RomTableEntryRaw from a ROM table entry.
Create a new RomTableEntryRaw from a ROM table entry.
Create a new RomTableEntryRaw from a ROM table entry .
fn new(base_addr: u32, raw: u32) -> Self {
        debug!("Parsing raw rom table entry: 0x{:05x}", raw);
        let address_offset = ((raw >> 12) & 0xf_ff_ff) as i32;
        let power_domain_id = ((raw >> 4) & 0xf) as u8;
        let power_domain_valid = (raw & 4) == 4;
        let format = (raw & 2) == 2;
        let entry_present = (raw & 1) == 1;
        RomTableEntryRaw {
            address_offset,
            power_domain_id,
            power_domain_valid,
            format,
            entry_present,
            base_addr,
        }
    }
fn new ( base_addr : u32 , raw : u32 ) -> Self { debug ! ( " " raw ) ; let address_offset = ( ( raw >> 12 ) & 0xf_ff_ff ) as i32 ; let power_domain_id = ( ( raw >> 4 ) & 0xf ) as u8 ; let power_domain_valid = ( raw & 4 ) == 4 ; let format = ( raw & 2 ) == 2 ; let entry_present = ( raw & 1 ) == 1 ; RomTableEntryRaw { address_offset , power_domain_id , power_domain_valid , format , entry_present , base_addr , } }
Create a new RomTableEntryRaw from a ROM table entry.
Create a new RomTableEntryRaw from a ROM table entry .
base_addr
u32
raw
u32