SecurityPkg OpalPasswordSmm: Consume SmmIoLib.

Update code to consume SmmIoLib to check Mmio validation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
Eric Dong
2017-05-03 09:22:26 +08:00
parent 1674fc5ab4
commit 50e6bb98ee
4 changed files with 3 additions and 83 deletions

View File

@@ -45,6 +45,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/S3BootScriptLib.h>
#include <Library/DevicePathLib.h>
#include <Library/DxeServicesTableLib.h>
#include <Library/SmmIoLib.h>
#include <IndustryStandard/Pci22.h>
@@ -70,8 +71,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
extern VOID *mBuffer;
extern EFI_GCD_MEMORY_SPACE_DESCRIPTOR *mGcdMemSpace;
extern UINTN mNumberOfDescriptors;
#pragma pack(1)
typedef struct {