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>
This commit is contained in:
Ruiyu Ni 2017-11-03 16:55:43 +08:00
parent 8182e9f446
commit 3d34e92fab
1 changed files with 2 additions and 2 deletions

View File

@ -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