]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/PciHostBridge: Count the (mm)io overhead when polling
authorRuiyu Ni <ruiyu.ni@intel.com>
Mon, 23 Apr 2018 06:20:26 +0000 (14:20 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 9 May 2018 06:03:09 +0000 (14:03 +0800)
RootBridgeIo.PollMem()/PollIo() originally don't count the IO/MMIO
access overhead when delaying.
The patch changes the implementation to count the access overhead
so that the actually delay equals to user required delay.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>

No differences found