]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg: Correct some typos.
authorGuomin Jiang <guomin.jiang@intel.com>
Tue, 7 Jul 2020 07:46:45 +0000 (15:46 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 28 Jul 2020 01:43:16 +0000 (01:43 +0000)
Correct some typos.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Signed-off-by: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
UefiCpuPkg/CpuMpPei/CpuMpPei.h
UefiCpuPkg/CpuMpPei/CpuPaging.c
UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h
UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.c
UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuException.c
UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ArchExceptionHandler.c

index 309478cbe14c1dc36d4c4d2408b359b5cad54dcd..6a481a84dcc7dbb20bd35392f5679695bda66827 100644 (file)
@@ -424,7 +424,7 @@ InitializeCpuMpWorker (
   );\r
 \r
 /**\r
-  Enabl/setup stack guard for each processor if PcdCpuStackGuard is set to TRUE.\r
+  Enable/setup stack guard for each processor if PcdCpuStackGuard is set to TRUE.\r
 \r
   Doing this in the memory-discovered callback is to make sure the Stack Guard\r
   feature to cover as most PEI code as possible.\r
index 8ab7dfcce3a00c025a4580eeff9363559594fe29..50ad4277af79070b9bacc983159e76403a1758e3 100644 (file)
@@ -153,7 +153,7 @@ GetPhysicalAddressWidth (
   Get the type of top level page table.\r
 \r
   @retval Page512G  PML4 paging.\r
-  @retval Page1G    PAE paing.\r
+  @retval Page1G    PAE paging.\r
 \r
 **/\r
 PAGE_ATTRIBUTE\r
@@ -583,7 +583,7 @@ SetupStackGuardPage (
 }\r
 \r
 /**\r
-  Enabl/setup stack guard for each processor if PcdCpuStackGuard is set to TRUE.\r
+  Enable/setup stack guard for each processor if PcdCpuStackGuard is set to TRUE.\r
 \r
   Doing this in the memory-discovered callback is to make sure the Stack Guard\r
   feature to cover as most PEI code as possible.\r
index 805dd9cbb4ff0f6fa742d529e50d746aa5810cf6..0544d6dba631784453b771b4f3ccde6daf7735f1 100644 (file)
@@ -90,8 +90,8 @@ AsmGetTemplateAddressMap (
 **/\r
 VOID\r
 ArchUpdateIdtEntry (\r
-  IN IA32_IDT_GATE_DESCRIPTOR        *IdtEntry,\r
-  IN UINTN                           InterruptHandler\r
+  OUT IA32_IDT_GATE_DESCRIPTOR       *IdtEntry,\r
+  IN  UINTN                          InterruptHandler\r
   );\r
 \r
 /**\r
index 1aafb7dac1398bd1daff663e312dd561446df49a..903449e0daa9109cdd81dc0c4ddfb1d17b4d0779 100644 (file)
@@ -18,8 +18,8 @@
 **/\r
 VOID\r
 ArchUpdateIdtEntry (\r
-  IN IA32_IDT_GATE_DESCRIPTOR        *IdtEntry,\r
-  IN UINTN                           InterruptHandler\r
+  OUT IA32_IDT_GATE_DESCRIPTOR        *IdtEntry,\r
+  IN  UINTN                           InterruptHandler\r
   )\r
 {\r
   IdtEntry->Bits.OffsetLow   = (UINT16)(UINTN)InterruptHandler;\r
index 20148db74cf834e617889b82ec3162aeba3ce24a..d4ae153c574205883882449919561346ed11a01a 100644 (file)
@@ -87,7 +87,7 @@ InitializeCpuExceptionHandlers (
   IdtEntryCount = (IdtDescriptor.Limit + 1) / sizeof (IA32_IDT_GATE_DESCRIPTOR);\r
   if (IdtEntryCount > CPU_EXCEPTION_NUM) {\r
     //\r
-    // CPU exeption library only setup CPU_EXCEPTION_NUM exception handler at most\r
+    // CPU exception library only setup CPU_EXCEPTION_NUM exception handler at most\r
     //\r
     IdtEntryCount = CPU_EXCEPTION_NUM;\r
   }\r
index 894c1cfb7533f4b0d44a06a11a72a2a8a6abe8fc..d3da16e4dfa2958d819f85c5c19b11780098b327 100644 (file)
@@ -17,8 +17,8 @@
 **/\r
 VOID\r
 ArchUpdateIdtEntry (\r
-  IN IA32_IDT_GATE_DESCRIPTOR        *IdtEntry,\r
-  IN UINTN                           InterruptHandler\r
+  OUT IA32_IDT_GATE_DESCRIPTOR       *IdtEntry,\r
+  IN  UINTN                          InterruptHandler\r
   )\r
 {\r
   IdtEntry->Bits.OffsetLow   = (UINT16)(UINTN)InterruptHandler;\r