kernel/platform/pc64/src/irq/LocalApic.h
/// Reads the given APIC register.
Reads the given APIC register.
Reads the given APIC register .
inline const uint32_t read(const size_t reg) {
            const auto val = this->base[reg / 4];
            if(gLogRegIo) { [[unlikely]]
                log("LAPIC %2u %s: $%4x -> %08x", this->id, "read", reg, val);
            }
            return val;
        }
inline const uint32_t read ( const size_t reg ) { const auto val = this -> base [ reg / 4 ] ; if ( gLogRegIo ) { [[ unlikely ]] log ( " " , this -> id , " " , reg , val ) ; } return val ; }
Reads the given APIC register.
Reads the given APIC register .