diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-11-03 16:55:43 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-11-07 10:17:28 +0800 |
commit | 3d34e92faba409a6c6629ce4c1373181879f5e52 (patch) | |
tree | 3b603a8b16557e81759057188dbea826eff7b84e /ShellPkg/Library | |
parent | 8182e9f446882c421ae7b2b6e456642cee644d8b (diff) | |
download | edk2-3d34e92faba409a6c6629ce4c1373181879f5e52.zip edk2-3d34e92faba409a6c6629ce4c1373181879f5e52.tar.gz edk2-3d34e92faba409a6c6629ce4c1373181879f5e52.tar.bz2 |
ShellPkg/HexEdit: Fix EBC build failure
EfiCpuIoWidthUint8 should be used in HMemImageRead and HMemImageSave.
Because CpuIo protocol is now used for memory access.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'ShellPkg/Library')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c index fce9bbe..12f1492 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c @@ -139,7 +139,7 @@ HMemImageRead ( Status = HMemImage.IoFncs->Mem.Read (
HMemImage.IoFncs,
- EfiPciWidthUint8,
+ EfiCpuIoWidthUint8,
Offset,
Size,
Buffer
@@ -262,7 +262,7 @@ HMemImageSave ( //
Status = HMemImage.IoFncs->Mem.Write (
HMemImage.IoFncs,
- EfiPciWidthUint8,
+ EfiCpuIoWidthUint8,
Offset,
Size,
Buffer
|