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>
);\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
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
}\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
**/\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
**/\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
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
**/\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