Home
last modified time | relevance | path

Searched refs:MmioOffset (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicX2ApicLib/
DBaseXApicX2ApicLib.c137 IN UINTN MmioOffset in ReadLocalApicReg() argument
142 ASSERT ((MmioOffset & 0xf) == 0); in ReadLocalApicReg()
145 return MmioRead32 (GetLocalApicBaseAddress() + MmioOffset); in ReadLocalApicReg()
150 ASSERT (MmioOffset != XAPIC_ICR_DFR_OFFSET); in ReadLocalApicReg()
155 ASSERT (MmioOffset != XAPIC_ICR_HIGH_OFFSET); in ReadLocalApicReg()
157 MsrIndex = (UINT32)(MmioOffset >> 4) + X2APIC_MSR_BASE_ADDRESS; in ReadLocalApicReg()
179 IN UINTN MmioOffset, in WriteLocalApicReg() argument
185 ASSERT ((MmioOffset & 0xf) == 0); in WriteLocalApicReg()
188 MmioWrite32 (GetLocalApicBaseAddress() + MmioOffset, Value); in WriteLocalApicReg()
193 ASSERT (MmioOffset != XAPIC_ICR_DFR_OFFSET); in WriteLocalApicReg()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicLib/
DBaseXApicLib.c136 IN UINTN MmioOffset in ReadLocalApicReg() argument
139 ASSERT ((MmioOffset & 0xf) == 0); in ReadLocalApicReg()
142 return MmioRead32 (GetLocalApicBaseAddress() + MmioOffset); in ReadLocalApicReg()
162 IN UINTN MmioOffset, in WriteLocalApicReg() argument
166 ASSERT ((MmioOffset & 0xf) == 0); in WriteLocalApicReg()
169 MmioWrite32 (GetLocalApicBaseAddress() + MmioOffset, Value); in WriteLocalApicReg()