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>
\r
Status = HMemImage.IoFncs->Mem.Read (\r
HMemImage.IoFncs,\r
- EfiPciWidthUint8,\r
+ EfiCpuIoWidthUint8,\r
Offset,\r
Size,\r
Buffer\r
//\r
Status = HMemImage.IoFncs->Mem.Write (\r
HMemImage.IoFncs,\r
- EfiPciWidthUint8,\r
+ EfiCpuIoWidthUint8,\r
Offset,\r
Size,\r
Buffer\r