]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/PlatformPei: explain EFI_MEMORY_TYPE_INFORMATION page counts
authorLaszlo Ersek <lersek@redhat.com>
Thu, 12 Mar 2020 22:35:54 +0000 (23:35 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 13 Mar 2020 17:25:00 +0000 (17:25 +0000)
commit912718d8c7c783c310a34f6a2dd816c359d9624a
tree0174c276409c13b275a1dedd8de709f8c60bbf48
parentd42fdd6f8384bb4681d93e4a25d8f57db1e63adb
OvmfPkg/PlatformPei: explain EFI_MEMORY_TYPE_INFORMATION page counts

Add a code comment that explains the nature of the NumberOfPages field
values. Including this kind of historical information was suggested by
Leif in <https://edk2.groups.io/g/devel/message/55797> (alternative link:
<http://mid.mail-archive.com/20200312104006.GB23627@bivouac.eciton.net>).

Right now, the most recent commit updating the page counts has been commit
991d95636264 ("[...] Update default memory type information to reduce EFI
Memory Map fragmentation.", 2010-07-16).

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Suggested-by: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20200312223555.29267-2-lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
OvmfPkg/PlatformPei/MemTypeInfo.c