Home
last modified time | relevance | path

Searched refs:NewPtr (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootManagerLib/
DLegacyBm.c763 LEGACY_DEV_ORDER_ENTRY *NewPtr; in LegacyBmUpdateDevOrder() local
876 NewPtr = NewDevOrder; in LegacyBmUpdateDevOrder()
877 NewPtr->BbsType = Ptr->BbsType; in LegacyBmUpdateDevOrder()
878 NewPtr->Length = (UINT16) (sizeof (UINT16) + FDCount * sizeof (UINT16)); in LegacyBmUpdateDevOrder()
886 NewPtr->Data[FDIndex] = Ptr->Data[Index]; in LegacyBmUpdateDevOrder()
889 NewFDPtr = NewPtr->Data; in LegacyBmUpdateDevOrder()
895 NewPtr = (LEGACY_DEV_ORDER_ENTRY *) (&NewPtr->Data[NewPtr->Length / sizeof (UINT16) -1]); in LegacyBmUpdateDevOrder()
896 NewPtr->BbsType = Ptr->BbsType; in LegacyBmUpdateDevOrder()
897 NewPtr->Length = (UINT16) (sizeof (UINT16) + HDCount * sizeof (UINT16)); in LegacyBmUpdateDevOrder()
905 NewPtr->Data[HDIndex] = Ptr->Data[Index]; in LegacyBmUpdateDevOrder()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/HisiAcpiPlatformDxe/
DUpdateAcpiTable.c34 UINTN CurrPtr, NewPtr; in RemoveUnusedMemoryNode() local
41 NewPtr = (UINTN) &(Table->Memory[MemoryNodeNum]); in RemoveUnusedMemoryNode()
43 CopyMem ((VOID *)NewPtr, (VOID *)CurrPtr, (UINTN)Table + Table->Header.Header.Length - CurrPtr); in RemoveUnusedMemoryNode()
45 Table->Header.Header.Length -= CurrPtr - NewPtr; in RemoveUnusedMemoryNode()
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/
DRuntimeMemAllocation.c394 VOID *NewPtr; in realloc() local
426 NewPtr = RuntimeAllocateMem ((UINTN) size); in realloc()
427 if (NewPtr == NULL) { in realloc()
431 CopyMem (NewPtr, ptr, RT_PAGES_TO_SIZE (PageCount)); in realloc()
435 return NewPtr; in realloc()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/
DBdsBoot.c1073 LEGACY_DEV_ORDER_ENTRY *NewPtr; in BdsUpdateLegacyDevOrder() local
1195 NewPtr = NewDevOrder; in BdsUpdateLegacyDevOrder()
1196 NewPtr->BbsType = Ptr->BbsType; in BdsUpdateLegacyDevOrder()
1197 NewPtr->Length = (UINT16) (sizeof (UINT16) + FDCount * sizeof (UINT16)); in BdsUpdateLegacyDevOrder()
1206 NewPtr->Data[FDIndex] = Ptr->Data[Index]; in BdsUpdateLegacyDevOrder()
1209 NewFDPtr = NewPtr->Data; in BdsUpdateLegacyDevOrder()
1215 NewPtr = (LEGACY_DEV_ORDER_ENTRY *) (&NewPtr->Data[NewPtr->Length / sizeof (UINT16) -1]); in BdsUpdateLegacyDevOrder()
1216 NewPtr->BbsType = Ptr->BbsType; in BdsUpdateLegacyDevOrder()
1217 NewPtr->Length = (UINT16) (sizeof (UINT16) + HDCount * sizeof (UINT16)); in BdsUpdateLegacyDevOrder()
1227 NewPtr->Data[HDIndex] = Ptr->Data[Index]; in BdsUpdateLegacyDevOrder()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/
DBdsBoot.c1075 LEGACY_DEV_ORDER_ENTRY *NewPtr; in BdsUpdateLegacyDevOrder() local
1197 NewPtr = NewDevOrder; in BdsUpdateLegacyDevOrder()
1198 NewPtr->BbsType = Ptr->BbsType; in BdsUpdateLegacyDevOrder()
1199 NewPtr->Length = (UINT16) (sizeof (UINT16) + FDCount * sizeof (UINT16)); in BdsUpdateLegacyDevOrder()
1208 NewPtr->Data[FDIndex] = Ptr->Data[Index]; in BdsUpdateLegacyDevOrder()
1211 NewFDPtr = NewPtr->Data; in BdsUpdateLegacyDevOrder()
1217 NewPtr = (LEGACY_DEV_ORDER_ENTRY *) (&NewPtr->Data[NewPtr->Length / sizeof (UINT16) -1]); in BdsUpdateLegacyDevOrder()
1218 NewPtr->BbsType = Ptr->BbsType; in BdsUpdateLegacyDevOrder()
1219 NewPtr->Length = (UINT16) (sizeof (UINT16) + HDCount * sizeof (UINT16)); in BdsUpdateLegacyDevOrder()
1229 NewPtr->Data[HDIndex] = Ptr->Data[Index]; in BdsUpdateLegacyDevOrder()
[all …]