Home | History | Annotate | Download | only in EfiLdr

Lines Matching refs:NoPages

28   UINT64                NoPages,

36 if (NoPages == 0) {
49 Temp = DivU64x32 ((BaseAddress - Desc[Index].PhysicalStart), EFI_PAGE_SIZE) + NoPages;
54 Desc[*NoDesc].PhysicalStart = BaseAddress + MultU64x32 (NoPages, EFI_PAGE_SIZE);
60 Desc[Index].NumberOfPages = Temp - NoPages;
63 if ((Desc[Index].PhysicalStart == BaseAddress) && (Desc[Index].NumberOfPages == NoPages)) {
69 if ((Desc[Index].PhysicalStart == BaseAddress) && (Desc[Index].NumberOfPages > NoPages)) {
70 Desc[Index].NumberOfPages -= NoPages;
71 Desc[Index].PhysicalStart += MultU64x32 (NoPages, EFI_PAGE_SIZE);
82 Desc[*NoDesc].NumberOfPages = NoPages;
92 UINTN NoPages,
112 (EfiMemoryDescriptor[Index].NumberOfPages >= NoPages)) {
135 if (MaxNoPages != NoPages) {
136 CurrentMemoryDescriptor->NumberOfPages = MaxNoPages - NoPages;
138 EfiMemoryDescriptor[*NumberOfMemoryMapEntries].PhysicalStart = MaxPhysicalStart + LShiftU64(MaxNoPages - NoPages, EFI_PAGE_SHIFT);
139 EfiMemoryDescriptor[*NumberOfMemoryMapEntries].NumberOfPages = NoPages;
148 return (UINTN)(MaxPhysicalStart + LShiftU64(MaxNoPages - NoPages, EFI_PAGE_SHIFT));