Home
last modified time | relevance | path

Searched refs:CopySize (Results 1 – 25 of 26) sorted by relevance

12

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/
DSecTempRamSupport.c62 IN UINTN CopySize in SecTemporaryRamSupport() argument
76 PeiStackSize = (CopySize >> 1); in SecTemporaryRamSupport()
79 ASSERT (PeiStackSize < CopySize); in SecTemporaryRamSupport()
98 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + CopySize - PeiStackSize); in SecTemporaryRamSupport()
115 CopyMem (NewHeap, OldHeap, CopySize - PeiStackSize); in SecTemporaryRamSupport()
DFspPlatformSecLibVlv2.c87 IN UINTN CopySize
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/
DSecTempRamSupport.c62 IN UINTN CopySize in SecTemporaryRamSupport() argument
76 PeiStackSize = (CopySize >> 1); in SecTemporaryRamSupport()
79 ASSERT (PeiStackSize < CopySize); in SecTemporaryRamSupport()
98 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + CopySize - PeiStackSize); in SecTemporaryRamSupport()
114 CopyMem (NewHeap, OldHeap, CopySize - PeiStackSize); in SecTemporaryRamSupport()
DFspPlatformSecLibSample.c88 IN UINTN CopySize
/device/linaro/bootloader/edk2/IntelFspPkg/FspSecCore/
DSecMain.c157 IN UINTN CopySize in SecTemporaryRamSupport() argument
167 NewHeap = (VOID*)((UINTN)PermanentMemoryBase + CopySize / 2); in SecTemporaryRamSupport()
169 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + CopySize / 2); in SecTemporaryRamSupport()
175 CopyMem (NewHeap, OldHeap, CopySize / 2); in SecTemporaryRamSupport()
180 CopyMem (NewStack, OldStack, CopySize / 2); in SecTemporaryRamSupport()
DSecMain.h82 IN UINTN CopySize
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePeiCore/
DPrePeiCore.c113 IN UINTN CopySize in PrePeiCoreTemporaryRamSupport() argument
122 HeapSize = ALIGN_VALUE (CopySize / 2, CPU_STACK_ALIGNMENT); in PrePeiCoreTemporaryRamSupport()
125 NewHeap = (VOID*)((UINTN)PermanentMemoryBase + (CopySize - HeapSize)); in PrePeiCoreTemporaryRamSupport()
133 CopyMem (NewStack, OldStack, CopySize - HeapSize); in PrePeiCoreTemporaryRamSupport()
DPrePeiCore.h40 IN UINTN CopySize
/device/linaro/bootloader/edk2/CorebootModulePkg/SecCore/
DSecMain.c202 IN UINTN CopySize in SecTemporaryRamSupport() argument
214 PeiStackSize = (CopySize >> 1); in SecTemporaryRamSupport()
216 ASSERT (PeiStackSize < CopySize); in SecTemporaryRamSupport()
235 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + CopySize - PeiStackSize); in SecTemporaryRamSupport()
251 CopyMem (NewHeap, OldHeap, CopySize - PeiStackSize); in SecTemporaryRamSupport()
DSecMain.h85 IN UINTN CopySize
/device/linaro/bootloader/edk2/EmulatorPkg/Sec/X64/
DSwitchRam.asm27 ; IN UINTN CopySize // %r9
40 push r9 ; Save CopySize
45 ; CopyMem (PermanentMemoryBase, TemporaryMemoryBase, CopySize);
54 pop r9 ; CopySize (old stack)
64 ; ZeroMem (TemporaryMemoryBase /* rcx */, CopySize /* rdx */);
/device/linaro/bootloader/edk2/EmulatorPkg/Sec/Ia32/
DTempRam.c35 IN UINTN CopySize in SecTemporaryRamSupport() argument
44 CopySize in SecTemporaryRamSupport()
/device/linaro/bootloader/edk2/IntelFsp2Pkg/FspSecCore/
DSecMain.c167 IN UINTN CopySize in SecTemporaryRamSupport() argument
178 HeapSize = CopySize * PcdGet8 (PcdFspHeapSizePercentage) / 100 ; in SecTemporaryRamSupport()
179 StackSize = CopySize - HeapSize; in SecTemporaryRamSupport()
DSecMain.h82 IN UINTN CopySize
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/
DSectionExtraction.c1283 UINTN CopySize; in GetSection() local
1311 CopySize = StreamNode->StreamLength; in GetSection()
1335 CopySize = SECTION2_SIZE (Section) - sizeof (EFI_COMMON_SECTION_HEADER2); in GetSection()
1338 CopySize = SECTION_SIZE (Section) - sizeof (EFI_COMMON_SECTION_HEADER); in GetSection()
1344 SectionSize = CopySize; in GetSection()
1349 if (*BufferSize < CopySize) { in GetSection()
1351 CopySize = *BufferSize; in GetSection()
1357 *Buffer = AllocatePool (CopySize); in GetSection()
1363 CopyMem (*Buffer, CopyBuffer, CopySize); in GetSection()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/SectionExtraction/
DCoreSectionExtraction.c1230 UINTN CopySize; in GetSection() local
1258 CopySize = StreamNode->StreamLength; in GetSection()
1287 CopySize = SECTION2_SIZE (Section) - sizeof (EFI_COMMON_SECTION_HEADER2); in GetSection()
1290 CopySize = SECTION_SIZE (Section) - sizeof (EFI_COMMON_SECTION_HEADER); in GetSection()
1296 SectionSize = CopySize; in GetSection()
1301 if (*BufferSize < CopySize) { in GetSection()
1303 CopySize = *BufferSize; in GetSection()
1309 *Buffer = AllocatePool (CopySize); in GetSection()
1315 CopyMem (*Buffer, CopyBuffer, CopySize); in GetSection()
/device/linaro/bootloader/edk2/OvmfPkg/Sec/
DSecMain.c55 IN UINTN CopySize
879 IN UINTN CopySize in TemporaryRamMigration() argument
895 (UINT64)CopySize in TemporaryRamMigration()
899 NewHeap = (VOID*)((UINTN)PermanentMemoryBase + (CopySize >> 1)); in TemporaryRamMigration()
901 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + (CopySize >> 1)); in TemporaryRamMigration()
913 CopyMem (NewHeap, OldHeap, CopySize >> 1); in TemporaryRamMigration()
918 CopyMem (NewStack, OldStack, CopySize >> 1); in TemporaryRamMigration()
/device/linaro/bootloader/edk2/EmulatorPkg/Sec/
DSec.h46 IN UINTN CopySize
/device/linaro/bootloader/edk2/MdePkg/Include/Ppi/
DTemporaryRamSupport.h52 IN UINTN CopySize
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/TemporaryRamSupport/
DTemporaryRamSupport.h54 IN UINTN CopySize
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DConsoleLogger.c458 UINTN CopySize; in AppendStringToHistory() local
484 CopySize = ConsoleInfo->ColsPerScreen in AppendStringToHistory()
487 ASSERT(CopySize < ConsoleInfo->AttribSize); in AppendStringToHistory()
491 CopySize in AppendStringToHistory()
498 …*(ConsoleInfo->Attributes + (CopySize/sizeof(ConsoleInfo->Attributes[0])) + Index) = ConsoleInfo->… in AppendStringToHistory()
504 CopySize = (ConsoleInfo->ColsPerScreen + 2) in AppendStringToHistory()
507 ASSERT(CopySize < ConsoleInfo->BufferSize); in AppendStringToHistory()
511 CopySize in AppendStringToHistory()
517 … SetMem16(((UINT8*)ConsoleInfo->Buffer)+CopySize, ConsoleInfo->ColsPerScreen*sizeof(CHAR16), L' '); in AppendStringToHistory()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DHost.h269 IN UINTN CopySize
278 IN UINTN CopySize
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
DLegacyBootSupport.c863 UINTN CopySize; in GenericLegacyBoot() local
934 LegacyBiosBuildE820 (Private, &CopySize); in GenericLegacyBoot()
935 if (CopySize > Private->Legacy16Table->E820Length) { in GenericLegacyBoot()
938 Regs.X.CX = (UINT16) CopySize; in GenericLegacyBoot()
949 Private->Legacy16Table->E820Length = (UINT32) CopySize; in GenericLegacyBoot()
956 CopySize in GenericLegacyBoot()
963 CopySize in GenericLegacyBoot()
965 Private->Legacy16Table->E820Length = (UINT32) CopySize; in GenericLegacyBoot()
1005 CopySize = 20; in GenericLegacyBoot()
1008 CopySize = (*(UINT32 *) AcpiPtr); in GenericLegacyBoot()
[all …]
/device/linaro/bootloader/edk2/Nt32Pkg/Sec/
DSecMain.h555 IN UINTN CopySize
/device/linaro/bootloader/edk2/MdePkg/Library/UefiFileHandleLib/
DUefiFileHandleLib.c715 UINTN CopySize; in StrnCatGrowLeft() local
764 CopySize = StrSize(*Destination); in StrnCatGrowLeft()
765 CopyMem((*Destination)+((Count-2)/sizeof(CHAR16)), *Destination, CopySize); in StrnCatGrowLeft()

12