Home
last modified time | relevance | path

Searched refs:mInstructionBufferTemplate (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/X64/
DEbcSupport.c35 UINT8 mInstructionBufferTemplate[] = { variable
442 ThunkSize = sizeof(mInstructionBufferTemplate); in EbcCreateThunks()
444 Ptr = AllocatePool (sizeof(mInstructionBufferTemplate)); in EbcCreateThunks()
464 CopyMem (Ptr, mInstructionBufferTemplate, sizeof(mInstructionBufferTemplate)); in EbcCreateThunks()
469 for (Index = 0; Index < sizeof(mInstructionBufferTemplate) - sizeof(UINTN); Index++) { in EbcCreateThunks()
518 UINT8 InstructionBuffer[sizeof(mInstructionBufferTemplate)]; in EbcLLCALLEX()
533 for (Index = 0; Index < sizeof(mInstructionBufferTemplate) - sizeof(UINTN); Index++) { in EbcLLCALLEX()
534 if (*(UINTN *)&mInstructionBufferTemplate[Index] == EBC_ENTRYPOINT_SIGNATURE) { in EbcLLCALLEX()
538 if (*(UINTN *)&mInstructionBufferTemplate[Index] == EBC_LL_EBC_ENTRYPOINT_SIGNATURE) { in EbcLLCALLEX()
545 …if (CompareMem (InstructionBuffer, mInstructionBufferTemplate, sizeof(mInstructionBufferTemplate))… in EbcLLCALLEX()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/Ia32/
DEbcSupport.c35 UINT8 mInstructionBufferTemplate[] = { variable
120 UINT8 InstructionBuffer[sizeof(mInstructionBufferTemplate)]; in EbcLLCALLEX()
135 for (Index = 0; Index < sizeof(mInstructionBufferTemplate) - sizeof(UINTN); Index++) { in EbcLLCALLEX()
136 if (*(UINTN *)&mInstructionBufferTemplate[Index] == EBC_ENTRYPOINT_SIGNATURE) { in EbcLLCALLEX()
140 if (*(UINTN *)&mInstructionBufferTemplate[Index] == EBC_LL_EBC_ENTRYPOINT_SIGNATURE) { in EbcLLCALLEX()
147 …if (CompareMem (InstructionBuffer, mInstructionBufferTemplate, sizeof(mInstructionBufferTemplate))… in EbcLLCALLEX()
485 ThunkSize = sizeof(mInstructionBufferTemplate); in EbcCreateThunks()
487 Ptr = AllocatePool (sizeof(mInstructionBufferTemplate)); in EbcCreateThunks()
507 CopyMem (Ptr, mInstructionBufferTemplate, sizeof(mInstructionBufferTemplate)); in EbcCreateThunks()
512 for (Index = 0; Index < sizeof(mInstructionBufferTemplate) - sizeof(UINTN); Index++) { in EbcCreateThunks()