}\r
\r
/**\r
- Returns the machine type of PE/COFF image. \r
+ Returns the machine type of PE/COFF image.\r
This is copied from MDE BasePeCoffGetEntryPointLib, the code should be sync with it.\r
The reason is Emu package needs to load the image to memory to support source\r
level debug.\r
- \r
+\r
\r
@param Pe32Data Pointer to a PE/COFF header\r
\r
PeCoffLoaderGetMachineType (\r
IN VOID *Pe32Data\r
)\r
-{ \r
+{\r
EFI_IMAGE_OPTIONAL_HEADER_PTR_UNION Hdr;\r
EFI_IMAGE_DOS_HEADER *DosHdr;\r
\r
UINTN SizeOfHeaders;\r
\r
ASSERT (Pe32Data != NULL);\r
- \r
+\r
DosHdr = (EFI_IMAGE_DOS_HEADER *)Pe32Data;\r
if (DosHdr->e_magic == EFI_IMAGE_DOS_SIGNATURE) {\r
//\r