forked from xt-sys/exectos
Code cleanup
This commit is contained in:
parent
c8f99ad6ed
commit
2f16a8534c
@ -173,8 +173,6 @@ EFI_STATUS PeLoadImage(IN PEFI_FILE_HANDLE FileHandle,
|
|||||||
/* Load each section into memory */
|
/* Load each section into memory */
|
||||||
for(Index = 0; Index < PeHeader->FileHeader.NumberOfSections; Index++)
|
for(Index = 0; Index < PeHeader->FileHeader.NumberOfSections; Index++)
|
||||||
{
|
{
|
||||||
EfiXtLdrProtocol->EfiPrint(L"TEST: %lx\n", SectionHeader[Index].Misc.VirtualSize);
|
|
||||||
|
|
||||||
/* Check section raw data size and section virtual size */
|
/* Check section raw data size and section virtual size */
|
||||||
if(SectionHeader[Index].SizeOfRawData < SectionHeader[Index].Misc.VirtualSize)
|
if(SectionHeader[Index].SizeOfRawData < SectionHeader[Index].Misc.VirtualSize)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user