audk/ShellPkg
Ruiyu Ni e90153cbbf ShellPkg/hexeditor: Use CpuIo for memory access
The original code uses PciRootBridgeIo for memory access.
It worked before MdeModulePkg/PciHostBridgeDxe driver was checked in.
But MdeModulePkg/PciHostBridgeDxe adds checks to ensure the MMIO
access request is in the scope of the current RootBridgeIo instance.
It causes "hexeditor -m 0 2" reports error because memory address 0
surely is not in the scope of any RootBridgeIo instance.
In fact only accessing the MMIO space occupied by the RootBridgeIo
can work.

The patch changes hexeditor to use CpuIo 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>
2017-11-02 08:40:33 +08:00
..
Application ShellPkg/Shell: Avoid reading content beyond string boundary 2017-09-21 14:06:06 +08:00
Include ShellPkg: Rename gShellCurDir to gShellCurMapping 2017-08-30 11:42:41 +08:00
Library ShellPkg/hexeditor: Use CpuIo for memory access 2017-11-02 08:40:33 +08:00
ShellPkg.dec ShellPkg: Update package version to 1.01 2017-05-03 10:44:55 +08:00
ShellPkg.dsc ShellPkg: Update package version to 1.01 2017-05-03 10:44:55 +08:00