Searched refs:MaxAddress (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/PiSmmCore/
H A DPage.c31 @param MaxAddress Request to allocate memory below this address.
40 IN UINTN MaxAddress
47 Top = TRUNCATE_TO_PAGES (MaxAddress + 1 - (UINTN)Pages);
69 Internal Function. Allocate n pages from free page list below MaxAddress.
73 @param MaxAddress Request to allocate memory below this address.
82 IN UINTN MaxAddress
91 (UINTN)Pages + EFI_PAGES_TO_SIZE (NumberOfPages) - 1 <= MaxAddress) {
92 return InternalAllocPagesOnOneNode (Pages, NumberOfPages, MaxAddress);
103 @param MaxAddress Request to allocate memory below this address.
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Mem/
H A DPage.c864 @param MaxAddress The address that the range must be below
876 IN UINT64 MaxAddress,
891 if ((MaxAddress < EFI_PAGE_MASK) ||(NumberOfPages == 0)) {
895 if ((MaxAddress & EFI_PAGE_MASK) != EFI_PAGE_MASK) {
898 // If MaxAddress is not aligned to the end of a page
902 // Change MaxAddress to be 1 page lower
904 MaxAddress -= (EFI_PAGE_MASK + 1);
907 // Set MaxAddress to a page boundary
909 MaxAddress &= ~EFI_PAGE_MASK;
912 // Set MaxAddress t
875 CoreFindFreePagesI( IN UINT64 MaxAddress, IN UINT64 MinAddress, IN UINT64 NumberOfPages, IN EFI_MEMORY_TYPE NewType, IN UINTN Alignment ) argument
1002 FindFreePages( IN UINT64 MaxAddress, IN UINT64 NoPages, IN EFI_MEMORY_TYPE NewType, IN UINTN Alignment ) argument
1094 UINT64 MaxAddress; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Gcd/
H A DGcd.c1001 EFI_PHYSICAL_ADDRESS MaxAddress; local
1104 MaxAddress = *BaseAddress;
1106 MaxAddress = Entry->EndAddress;
1135 if ((Entry->BaseAddress + Length) > MaxAddress) {
1142 if (Entry->EndAddress > MaxAddress) {
1143 *BaseAddress = MaxAddress;
1150 if ((*BaseAddress + Length - 1) > MaxAddress) {

Completed in 50 milliseconds