summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/PiSmmCore/HeapGuard.c
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:07:30 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit4be497df49da98306ef31988e95eb804d123e9d5 (patch)
tree7f2af9bd9b9760b961b2a932f4bc70214c41a5c5 /MdeModulePkg/Core/PiSmmCore/HeapGuard.c
parent93b8ed68ddad01e072d617b763aa613832d7416c (diff)
downloadedk2-4be497df49da98306ef31988e95eb804d123e9d5.tar.gz
edk2-4be497df49da98306ef31988e95eb804d123e9d5.tar.bz2
edk2-4be497df49da98306ef31988e95eb804d123e9d5.zip
MdeModulePkg/Core/PiSmmCore: Fix various typos
Fix various typos in comments and documentation. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-18-philmd@redhat.com>
Diffstat (limited to 'MdeModulePkg/Core/PiSmmCore/HeapGuard.c')
-rw-r--r--MdeModulePkg/Core/PiSmmCore/HeapGuard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Core/PiSmmCore/HeapGuard.c b/MdeModulePkg/Core/PiSmmCore/HeapGuard.c
index 29cd00f389..b0d0f72044 100644
--- a/MdeModulePkg/Core/PiSmmCore/HeapGuard.c
+++ b/MdeModulePkg/Core/PiSmmCore/HeapGuard.c
@@ -497,7 +497,7 @@ IsMemoryGuarded (
/**
Set the page at the given address to be a Guard page.
- This is done by changing the page table attribute to be NOT PRSENT.
+ This is done by changing the page table attribute to be NOT PRESENT.
@param[in] BaseAddress Page address to Guard at.
@@ -527,7 +527,7 @@ SetGuardPage (
/**
Unset the Guard page at the given address to the normal memory.
- This is done by changing the page table attribute to be PRSENT.
+ This is done by changing the page table attribute to be PRESENT.
@param[in] BaseAddress Page address to Guard at.