Searched defs:AllignedRelocSize (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/
H A DGenFw.c1081 UINT32 AllignedRelocSize; local
2384 AllignedRelocSize = (Optional32->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC].Size + Optional32->FileAlignment - 1) & (~(Optional32->FileAlignment - 1));
2388 if (AllignedRelocSize < SectionHeader->SizeOfRawData) {
2396 Optional32->SizeOfImage -= (SectionHeader->SizeOfRawData - AllignedRelocSize);
2397 Optional32->SizeOfInitializedData -= (SectionHeader->SizeOfRawData - AllignedRelocSize);
2398 SectionHeader->SizeOfRawData = AllignedRelocSize;
2400 DebugMsg (NULL, 0, 9, "Remove the zero padding bytes at the end of the base relocations", "The size of padding bytes is %u", (unsigned) (SectionHeader->SizeOfRawData - AllignedRelocSize));
2491 AllignedRelocSize = (Optional64->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC].Size + Optional64->FileAlignment - 1) & (~(Optional64->FileAlignment - 1));
2495 if (AllignedRelocSize < SectionHeader->SizeOfRawData) {
2503 Optional64->SizeOfImage -= (SectionHeader->SizeOfRawData - AllignedRelocSize);
[all...]

Completed in 49 milliseconds