IntelSiliconPkg IntelVTdPmrPei: Install IoMmu PPI before enabling PMR
authorStar Zeng <star.zeng@intel.com>
Fri, 19 Jan 2018 11:07:37 +0000 (19:07 +0800)
committerStar Zeng <star.zeng@intel.com>
Wed, 7 Feb 2018 10:28:11 +0000 (18:28 +0800)
commited0e52fc9a533fa809c56afbdfd7c350f17e22cc
tree0d8ad54f182f53d044626d97b54306a4370648bf
parent4f735fc8cdd9a7e385d285c771abddfcae8a5e58
IntelSiliconPkg IntelVTdPmrPei: Install IoMmu PPI before enabling PMR

Then the consumer of IoMmu PPI has opportunity to get granted DMA
buffer (by callback) to replace old buffer before it is forbidden
by enabling PMR.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.c