// 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
-\r
if (EFI_ERROR (Status)) {\r
- return 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