summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
98d80c1)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3618
6f19259b-4bc3-4df7-8a09-
765794883524
// Preprocess the FFS file to get a pointer to the PE32 information\r
// in the enclosed PE32 image.\r
//\r
// Preprocess the FFS file to get a pointer to the PE32 information\r
// in the enclosed PE32 image.\r
//\r
- Status = PeiProcessFile (\r
- EFI_SECTION_PE32,\r
+ Status = PeiProcessFile (\r
+ EFI_SECTION_TE,\r
FfsHeader,\r
&Pe32Data,\r
NULL\r
);\r
FfsHeader,\r
&Pe32Data,\r
NULL\r
);\r
if (EFI_ERROR (Status)) {\r
if (EFI_ERROR (Status)) {\r
+ Status = PeiProcessFile (\r
+ EFI_SECTION_PE32,\r
+ FfsHeader,\r
+ &Pe32Data,\r
+ NULL\r
+ );\r
+ \r
+ if (EFI_ERROR (Status)) {\r
+ return Status;\r
+ }\r
}\r
//\r
// Load the PE image from the FFS file\r
}\r
//\r
// Load the PE image from the FFS file\r