• Home
  • Raw
  • Download

Lines Matching refs:Desc

25   EFI_MEMORY_DESCRIPTOR *Desc,  in EfiAddMemoryDescriptor()  argument
47 if (Desc[Index].Type == EfiConventionalMemory) { in EfiAddMemoryDescriptor()
49 Temp = DivU64x32 ((BaseAddress - Desc[Index].PhysicalStart), EFI_PAGE_SIZE) + NoPages; in EfiAddMemoryDescriptor()
51 if ((Desc[Index].PhysicalStart < BaseAddress) && (Desc[Index].NumberOfPages >= Temp)) { in EfiAddMemoryDescriptor()
52 if (Desc[Index].NumberOfPages > Temp) { in EfiAddMemoryDescriptor()
53 Desc[*NoDesc].Type = EfiConventionalMemory; in EfiAddMemoryDescriptor()
54 Desc[*NoDesc].PhysicalStart = BaseAddress + MultU64x32 (NoPages, EFI_PAGE_SIZE); in EfiAddMemoryDescriptor()
55 Desc[*NoDesc].NumberOfPages = Desc[Index].NumberOfPages - Temp; in EfiAddMemoryDescriptor()
56 Desc[*NoDesc].VirtualStart = 0; in EfiAddMemoryDescriptor()
57 Desc[*NoDesc].Attribute = Desc[Index].Attribute; in EfiAddMemoryDescriptor()
60 Desc[Index].NumberOfPages = Temp - NoPages; in EfiAddMemoryDescriptor()
63 if ((Desc[Index].PhysicalStart == BaseAddress) && (Desc[Index].NumberOfPages == NoPages)) { in EfiAddMemoryDescriptor()
64 Desc[Index].Type = Type; in EfiAddMemoryDescriptor()
65 Desc[Index].Attribute = Attribute; in EfiAddMemoryDescriptor()
69 if ((Desc[Index].PhysicalStart == BaseAddress) && (Desc[Index].NumberOfPages > NoPages)) { in EfiAddMemoryDescriptor()
70 Desc[Index].NumberOfPages -= NoPages; in EfiAddMemoryDescriptor()
71 Desc[Index].PhysicalStart += MultU64x32 (NoPages, EFI_PAGE_SIZE); in EfiAddMemoryDescriptor()
80 Desc[*NoDesc].Type = Type; in EfiAddMemoryDescriptor()
81 Desc[*NoDesc].PhysicalStart = BaseAddress; in EfiAddMemoryDescriptor()
82 Desc[*NoDesc].NumberOfPages = NoPages; in EfiAddMemoryDescriptor()
83 Desc[*NoDesc].VirtualStart = 0; in EfiAddMemoryDescriptor()
84 Desc[*NoDesc].Attribute = Attribute; in EfiAddMemoryDescriptor()