ImageContext->ImageType != EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER && \\r
ImageContext->ImageType != EFI_IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER) {\r
//\r
- // upsupported PeImage subsystem type\r
+ // unsupported PeImage subsystem type\r
//\r
return RETURN_UNSUPPORTED;\r
}\r
// In Te image header there is not a field to describe the ImageSize.\r
// Actually, the ImageSize equals the RVA plus the VirtualSize of\r
// the last section mapped into memory (Must be rounded up to\r
- // a mulitple of Section Alignment). Per the PE/COFF specification, the\r
+ // a multiple of Section Alignment). Per the PE/COFF specification, the\r
// section headers in the Section Table must appear in order of the RVA\r
// values for the corresponding sections. So the ImageSize can be determined\r
// by the RVA and the VirtualSize of the last section header in the\r
break;\r
default:\r
//\r
- // For unknow Machine field, use Magic in optional Header\r
+ // For unknown Machine field, use Magic in optional Header\r
//\r
Magic = Hdr.Pe32->OptionalHeader.Magic;\r
}\r