/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/IntelFspWrapperPkg/FspInitPei/ |
H A D | FindPeiCore.c | 37 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 48 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 49 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 54 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 56 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 57 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 61 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 74 EndOfFile = CurrentAddress + Size; in FindImageBase() 96 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/UefiCpuPkg/SecCore/ |
H A D | FindPeiCore.c | 29 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 39 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) FirmwareVolumePtr; in FindImageBase() 40 EndOfFirmwareVolume = CurrentAddress + FirmwareVolumePtr->FvLength; in FindImageBase() 45 for (EndOfFile = CurrentAddress + FirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 47 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 48 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 52 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 65 EndOfFile = CurrentAddress + Size; in FindImageBase() 86 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 87 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/UefiPayloadPkg/SecCore/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/IntelFspWrapperPkg/FspWrapperSecCore/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/IntelFspWrapperPkg/FspInitPei/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/UefiPayloadPkg/SecCore/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/UefiCpuPkg/SecCore/ |
H A D | FindPeiCore.c | 29 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 39 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) FirmwareVolumePtr; in FindImageBase() 40 EndOfFirmwareVolume = CurrentAddress + FirmwareVolumePtr->FvLength; in FindImageBase() 45 for (EndOfFile = CurrentAddress + FirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 47 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 48 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 52 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 65 EndOfFile = CurrentAddress + Size; in FindImageBase() 86 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 87 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/IntelFspWrapperPkg/FspWrapperSecCore/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/UefiCpuPkg/SecCore/ |
H A D | FindPeiCore.c | 29 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 39 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) FirmwareVolumePtr; in FindImageBase() 40 EndOfFirmwareVolume = CurrentAddress + FirmwareVolumePtr->FvLength; in FindImageBase() 45 for (EndOfFile = CurrentAddress + FirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 47 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 48 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 52 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 65 EndOfFile = CurrentAddress + Size; in FindImageBase() 86 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 87 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/IntelFspWrapperPkg/FspInitPei/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/UefiPayloadPkg/SecCore/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/UefiPayloadPkg/SecCore/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/UefiCpuPkg/SecCore/ |
H A D | FindPeiCore.c | 29 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 39 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) FirmwareVolumePtr; in FindImageBase() 40 EndOfFirmwareVolume = CurrentAddress + FirmwareVolumePtr->FvLength; in FindImageBase() 45 for (EndOfFile = CurrentAddress + FirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 47 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 48 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 52 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 65 EndOfFile = CurrentAddress + Size; in FindImageBase() 86 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 87 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/UefiCpuPkg/SecCore/ |
H A D | FindPeiCore.c | 29 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 39 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) FirmwareVolumePtr; in FindImageBase() 40 EndOfFirmwareVolume = CurrentAddress + FirmwareVolumePtr->FvLength; in FindImageBase() 45 for (EndOfFile = CurrentAddress + FirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 47 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 48 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 52 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 65 EndOfFile = CurrentAddress + Size; in FindImageBase() 86 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 87 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/UefiPayloadPkg/SecCore/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/UefiCpuPkg/SecCore/ |
H A D | FindPeiCore.c | 29 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 39 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) FirmwareVolumePtr; in FindImageBase() 40 EndOfFirmwareVolume = CurrentAddress + FirmwareVolumePtr->FvLength; in FindImageBase() 45 for (EndOfFile = CurrentAddress + FirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 47 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 48 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 52 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 65 EndOfFile = CurrentAddress + Size; in FindImageBase() 86 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 87 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/IntelFspWrapperPkg/FspWrapperSecCore/ |
H A D | FindPeiCore.c | 37 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 48 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 49 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 54 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 56 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 57 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 61 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 74 EndOfFile = CurrentAddress + Size; in FindImageBase() 96 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/IntelFspWrapperPkg/FspWrapperSecCore/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/IntelFspWrapperPkg/FspInitPei/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/UefiCpuPkg/SecCore/ |
H A D | FindPeiCore.c | 29 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 39 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) FirmwareVolumePtr; in FindImageBase() 40 EndOfFirmwareVolume = CurrentAddress + FirmwareVolumePtr->FvLength; in FindImageBase() 45 for (EndOfFile = CurrentAddress + FirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 47 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 48 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 52 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 65 EndOfFile = CurrentAddress + Size; in FindImageBase() 86 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 87 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/UefiPayloadPkg/SecCore/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/sysutils/edk2/edk2-edk2-stable202102/UefiCpuPkg/SecCore/ |
H A D | FindPeiCore.c | 29 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 39 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) FirmwareVolumePtr; in FindImageBase() 40 EndOfFirmwareVolume = CurrentAddress + FirmwareVolumePtr->FvLength; in FindImageBase() 45 for (EndOfFile = CurrentAddress + FirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 47 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 48 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 52 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 65 EndOfFile = CurrentAddress + Size; in FindImageBase() 86 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 87 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/UefiPayloadPkg/SecCore/ |
H A D | FindPeiCore.c | 31 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 42 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) BootFirmwareVolumePtr; in FindImageBase() 43 EndOfFirmwareVolume = CurrentAddress + BootFirmwareVolumePtr->FvLength; in FindImageBase() 48 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 50 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 51 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 55 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 68 EndOfFile = CurrentAddress + Size; in FindImageBase() 90 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 91 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/UefiCpuPkg/SecCore/ |
H A D | FindPeiCore.c | 29 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 39 CurrentAddress = (EFI_PHYSICAL_ADDRESS)(UINTN) FirmwareVolumePtr; in FindImageBase() 40 EndOfFirmwareVolume = CurrentAddress + FirmwareVolumePtr->FvLength; in FindImageBase() 45 for (EndOfFile = CurrentAddress + FirmwareVolumePtr->HeaderLength; ; ) { in FindImageBase() 47 CurrentAddress = (EndOfFile + 7) & 0xfffffffffffffff8ULL; in FindImageBase() 48 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 52 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 65 EndOfFile = CurrentAddress + Size; in FindImageBase() 86 CurrentAddress = (EndOfSection + 3) & 0xfffffffffffffffcULL; in FindImageBase() 87 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() [all …]
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/BhyvePkg/Sec/ |
H A D | SecMain.c | 149 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindFfsSectionInSections() local 165 if (CurrentAddress >= EndOfSections) { in FindFfsSectionInSections() 177 EndOfSection = CurrentAddress + Size; in FindFfsSectionInSections() 219 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindFfsFileAndSection() local 238 CurrentAddress = (EndOfFile + 7) & ~(7ULL); in FindFfsFileAndSection() 239 if (CurrentAddress > EndOfFirmwareVolume) { in FindFfsFileAndSection() 250 EndOfFile = CurrentAddress + Size; in FindFfsFileAndSection() 447 EFI_PHYSICAL_ADDRESS CurrentAddress; in FindImageBase() local 466 if (CurrentAddress > EndOfFirmwareVolume) { in FindImageBase() 476 EndOfFile = CurrentAddress + Size; in FindImageBase() [all …]
|