]> git.proxmox.com Git - mirror_edk2.git/commit
The size of platform memory above 1M is measured in kilobytes.
authorMike Maslenkin <mihailm@parallels.com>
Wed, 5 Mar 2014 08:45:13 +0000 (08:45 +0000)
committerli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 5 Mar 2014 08:45:13 +0000 (08:45 +0000)
commitde2eccc46a58280f259e60c6353b700e3a5aaddb
treeec970096c831381e58fd79da4e4b2c0dac84d122
parent81f2915669f734f34e3e83c83287e7371e298390
The size of platform memory above 1M is measured in kilobytes.
This patch fixes truncation of this value. Actually 0 Mb memory size was set by reason of overflow of 16 bit word caused by wrong value used.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Mike Maslenkin <mihailm@parallels.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15318 6f19259b-4bc3-4df7-8a09-765794883524
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBootSupport.c