]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/UefiDevicePathLib/DevicePathToText.c
MdePkg/UefiDevicePathLib: Fix RAM Disk Device Path To Text Issue
authorTapan Shah <tapandshah@hp.com>
Tue, 4 Aug 2015 01:09:49 +0000 (01:09 +0000)
committererictian <erictian@Edk2>
Tue, 4 Aug 2015 01:09:49 +0000 (01:09 +0000)
commita3bc432af63cf24991b4df27f06b832aa19de07b
tree94fdf5d064516b20781e313b159bdf4383942ea7
parenta0973dcb7730fffd66dfd9f25e4be2ea399a00c5
MdePkg/UefiDevicePathLib: Fix RAM Disk Device Path To Text Issue

Perform Left Shift 32 bits of a 32-bit StartAddr[1] and EndingAddr[1]
instead of Right Shift when displaying 64-bit Start and End Address Value.

StartAddr[1] and EndingAddr[1] are already a 32-bit value and it should
perform left shift 32-bit to generate a complete 64-bit value along with
StartAddr[0] and EndingAddr[0] respectively.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18144 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/UefiDevicePathLib/DevicePathToText.c