summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkPkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-11-01 18:12:53 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2017-11-02 08:40:33 +0800
commite90153cbbf8fd671062db6fce570b2aa109b019c (patch)
treeef07bf395bb9870d4e4d5c7c83742dcec132ae3d /IntelFrameworkPkg
parent3380a591232de2ab3007ab051010a67c3d000d1c (diff)
downloadedk2-e90153cbbf8fd671062db6fce570b2aa109b019c.tar.gz
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>
Diffstat (limited to 'IntelFrameworkPkg')
0 files changed, 0 insertions, 0 deletions