mirror of https://github.com/acidanthera/audk.git
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:
parent
8182e9f446
commit
3d34e92fab
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue