summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2023-01-12 08:45:29 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-01-12 10:37:16 +0000
commit85fd05ab975f76567caf9383d76f6808363f6b47 (patch)
tree93c9cdfd2a842417ec1242cb040fa9b300f182ef /OvmfPkg
parentfe405f08a09e9f2306c72aa23d8edfbcfaa23bff (diff)
downloadedk2-85fd05ab975f76567caf9383d76f6808363f6b47.tar.gz
edk2-85fd05ab975f76567caf9383d76f6808363f6b47.tar.bz2
edk2-85fd05ab975f76567caf9383d76f6808363f6b47.zip
OvmfPkg/PlatformInitLib: fix comment about uncacheable MTRRs
In commit 49edde15230a ("OvmfPkg/PlatformPei: set 32-bit UC area at PciBase / PciExBarBase (pc/q35)", 2019-06-03), I forgot to update the comment. Do it now. Fixes: 49edde15230a5bfd6746225eb95535eaa2ec1ba4 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/Library/PlatformInitLib/MemDetect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/Library/PlatformInitLib/MemDetect.c b/OvmfPkg/Library/PlatformInitLib/MemDetect.c
index 0c49568526..882805269b 100644
--- a/OvmfPkg/Library/PlatformInitLib/MemDetect.c
+++ b/OvmfPkg/Library/PlatformInitLib/MemDetect.c
@@ -968,7 +968,7 @@ PlatformQemuInitializeRam (
//
// We'd like to keep the following ranges uncached:
// - [640 KB, 1 MB)
- // - [LowerMemorySize, 4 GB)
+ // - [Uc32Base, 4 GB)
//
// Everything else should be WB. Unfortunately, programming the inverse (ie.
// keeping the default UC, and configuring the complement set of the above as