Searched refs:EFI_PAGE_MASK (Results 1 - 14 of 14) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Include/Common/
H A DUefiBaseTypes.h166 #define EFI_PAGE_MASK 0xFFF macro
169 #define EFI_SIZE_TO_PAGES(a) (((a) >> EFI_PAGE_SHIFT) + (((a) & EFI_PAGE_MASK) ? 1 : 0))
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/PiSmmCore/
H A DPage.c119 if ((Address & EFI_PAGE_MASK) != 0) {
253 if ((Memory & EFI_PAGE_MASK) != 0) {
325 AlignedMemBase = (UINTN)(MemBase + EFI_PAGE_MASK) & ~EFI_PAGE_MASK;
H A DPool.c285 ASSERT (((UINTN)FreePoolHdr & EFI_PAGE_MASK) == 0);
286 ASSERT ((FreePoolHdr->Header.Size & EFI_PAGE_MASK) == 0);
H A DPiSmmIpl.c918 ASSERT ((SmramRange->PhysicalSize & EFI_PAGE_MASK) == 0);
936 ASSERT ((SmramRange->PhysicalSize & EFI_PAGE_MASK) == 0);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Uefi/
H A DUefiBaseType.h190 #define EFI_PAGE_MASK 0xFFF macro
204 #define EFI_SIZE_TO_PAGES(Size) (((Size) >> EFI_PAGE_SHIFT) + (((Size) & EFI_PAGE_MASK) ? 1 : 0))
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/Uefi/
H A DUefiBaseType.h190 #define EFI_PAGE_MASK 0xFFF macro
204 #define EFI_SIZE_TO_PAGES(Size) (((Size) >> EFI_PAGE_SHIFT) + (((Size) & EFI_PAGE_MASK) ? 1 : 0))
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Mem/
H A DPage.c174 ASSERT ((Start & EFI_PAGE_MASK) == 0);
524 if ((Start & EFI_PAGE_MASK) != 0) {
696 ASSERT ((Start & EFI_PAGE_MASK) == 0);
700 if (NumberOfPages == 0 || ((Start & EFI_PAGE_MASK) != 0) || (Start > (Start + NumberOfBytes))) {
891 if ((MaxAddress < EFI_PAGE_MASK) ||(NumberOfPages == 0)) {
895 if ((MaxAddress & EFI_PAGE_MASK) != EFI_PAGE_MASK) {
904 MaxAddress -= (EFI_PAGE_MASK + 1);
909 MaxAddress &= ~EFI_PAGE_MASK;
914 MaxAddress |= EFI_PAGE_MASK;
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/
H A Defi.h38 #define EFI_PAGE_MASK (EFI_PAGE_SIZE - 1) macro
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Variable/RuntimeDxe/
H A DVariableDxe.c317 BaseAddress = VariableStoreBase & (~EFI_PAGE_MASK);
319 Length = (Length + EFI_PAGE_SIZE - 1) & (~EFI_PAGE_MASK);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/RuntimeDxe/
H A DVariableDxe.c320 BaseAddress = VariableStoreBase & (~EFI_PAGE_MASK);
322 Length = (Length + EFI_PAGE_SIZE - 1) & (~EFI_PAGE_MASK);
/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/Sec/
H A DSecMain.c102 ASSERT (((UINTN) *BootFv & EFI_PAGE_MASK) == 0);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Gcd/
H A DGcd.c805 if ((BaseAddress & EFI_PAGE_MASK) != 0 || (Length & EFI_PAGE_MASK) != 0) {
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/Dispatcher/
H A DDispatcher.c426 if ((TopLoadingAddress & EFI_PAGE_MASK) != 0) {
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
H A DVariable.c3094 BaseAddress = VariableStoreBase & (~EFI_PAGE_MASK);
3096 Length = (Length + EFI_PAGE_SIZE - 1) & (~EFI_PAGE_MASK);

Completed in 133 milliseconds