On 07/08/20 10:10, Guomin Jiang wrote: > Correct some typos. > > Cc: Eric Dong <eric.d...@intel.com> > Cc: Ray Ni <ray...@intel.com> > Cc: Laszlo Ersek <ler...@redhat.com> > Cc: Rahul Kumar <rahul1.ku...@intel.com> > Signed-off-by: Guomin Jiang <guomin.ji...@intel.com> > --- > UefiCpuPkg/CpuMpPei/CpuPaging.c | 4 ++-- > .../CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.c | 4 ++-- > .../Library/CpuExceptionHandlerLib/SecPeiCpuException.c | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/UefiCpuPkg/CpuMpPei/CpuPaging.c b/UefiCpuPkg/CpuMpPei/CpuPaging.c > index 04a16fb2b620..891d1ef50cac 100644 > --- a/UefiCpuPkg/CpuMpPei/CpuPaging.c > +++ b/UefiCpuPkg/CpuMpPei/CpuPaging.c > @@ -153,7 +153,7 @@ GetPhysicalAddressWidth ( > Get the type of top level page table. > > @retval Page512G PML4 paging. > - @retval Page1G PAE paing. > + @retval Page1G PAE paging. > > **/ > PAGE_ATTRIBUTE
OK. > @@ -583,7 +583,7 @@ SetupStackGuardPage ( > } > > /** > - Enabl/setup stack guard for each processor if PcdCpuStackGuard is set to > TRUE. > + Enable/setup stack guard for each processor if PcdCpuStackGuard is set to > TRUE. > > Doing this in the memory-discovered callback is to make sure the Stack > Guard > feature to cover as most PEI code as possible. (1) This typo is present in the following two files: - UefiCpuPkg/CpuMpPei/CpuMpPei.h - UefiCpuPkg/CpuMpPei/CpuPaging.c Please fix the typo in both files. > diff --git > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.c > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.c > index 1aafb7dac139..903449e0daa9 100644 > --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.c > +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.c > @@ -18,8 +18,8 @@ > **/ > VOID > ArchUpdateIdtEntry ( > - IN IA32_IDT_GATE_DESCRIPTOR *IdtEntry, > - IN UINTN InterruptHandler > + OUT IA32_IDT_GATE_DESCRIPTOR *IdtEntry, > + IN UINTN InterruptHandler > ) > { > IdtEntry->Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler; (2) This typo is present in the following files: - UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h - UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.c - UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ArchExceptionHandler.c Please fix the typo in all three files. > diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuException.c > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuException.c > index 20148db74cf8..d4ae153c5742 100644 > --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuException.c > +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuException.c > @@ -87,7 +87,7 @@ InitializeCpuExceptionHandlers ( > IdtEntryCount = (IdtDescriptor.Limit + 1) / sizeof > (IA32_IDT_GATE_DESCRIPTOR); > if (IdtEntryCount > CPU_EXCEPTION_NUM) { > // > - // CPU exeption library only setup CPU_EXCEPTION_NUM exception handler > at most > + // CPU exception library only setup CPU_EXCEPTION_NUM exception handler > at most > // > IdtEntryCount = CPU_EXCEPTION_NUM; > } > Seems OK. Thanks! Laszlo -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62261): https://edk2.groups.io/g/devel/message/62261 Mute This Topic: https://groups.io/mt/75372269/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-