X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FCommon%2FBasePeCoff.c;fp=BaseTools%2FSource%2FC%2FCommon%2FBasePeCoff.c;h=9112d0131c3bb892532dc1fa8c6298b7dd81e928;hp=d5cefbd0b0da45cfe02264f35c184dcdafcd9d4a;hb=fb0b35e05f772bd415fe264267bbbcde2e0accda;hpb=325ad6226099d276564a65cdef012de0ff45ba8e diff --git a/BaseTools/Source/C/Common/BasePeCoff.c b/BaseTools/Source/C/Common/BasePeCoff.c index d5cefbd0b0..9112d0131c 100644 --- a/BaseTools/Source/C/Common/BasePeCoff.c +++ b/BaseTools/Source/C/Common/BasePeCoff.c @@ -217,7 +217,7 @@ Returns: ImageContext->ImageType != EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER && \ ImageContext->ImageType != EFI_IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER) { // - // upsupported PeImage subsystem type + // unsupported PeImage subsystem type // return RETURN_UNSUPPORTED; } @@ -483,7 +483,7 @@ Returns: // In Te image header there is not a field to describe the ImageSize. // Actually, the ImageSize equals the RVA plus the VirtualSize of // the last section mapped into memory (Must be rounded up to - // a mulitple of Section Alignment). Per the PE/COFF specification, the + // a multiple of Section Alignment). Per the PE/COFF specification, the // section headers in the Section Table must appear in order of the RVA // values for the corresponding sections. So the ImageSize can be determined // by the RVA and the VirtualSize of the last section header in the @@ -1315,7 +1315,7 @@ PeCoffLoaderGetPdbPointer ( break; default: // - // For unknow Machine field, use Magic in optional Header + // For unknown Machine field, use Magic in optional Header // Magic = Hdr.Pe32->OptionalHeader.Magic; }