MdeModulePkg/NvmExpressPei: Add logic to produce SSC PPI
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1409 For the NvmExpressPei driver, this commit will add codes to produce the Storage Security Command PPI if the underlying NVM Express controller supports the Security Send and Security Receive commands. Cc: Jian J Wang <jian.j.wang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
The NvmExpressPei driver is used to manage non-volatile memory subsystem
|
||||
which follows NVM Express specification at PEI phase.
|
||||
|
||||
Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2018 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions
|
||||
@@ -106,20 +106,6 @@ NvmeBaseMemPageOffset (
|
||||
IN UINTN BaseMemIndex
|
||||
);
|
||||
|
||||
/**
|
||||
Disable the Nvm Express controller.
|
||||
|
||||
@param[in] Private The pointer to the PEI_NVME_CONTROLLER_PRIVATE_DATA data structure.
|
||||
|
||||
@return EFI_SUCCESS Successfully disable the controller.
|
||||
@return others Fail to disable the controller.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
NvmeDisableController (
|
||||
IN PEI_NVME_CONTROLLER_PRIVATE_DATA *Private
|
||||
);
|
||||
|
||||
/**
|
||||
Initialize the Nvm Express controller.
|
||||
|
||||
@@ -153,13 +139,13 @@ NvmeIdentifyNamespace (
|
||||
);
|
||||
|
||||
/**
|
||||
Free the resources allocated by an NVME controller.
|
||||
Free the DMA resources allocated by an NVME controller.
|
||||
|
||||
@param[in] Private The pointer to the PEI_NVME_CONTROLLER_PRIVATE_DATA data structure.
|
||||
|
||||
**/
|
||||
VOID
|
||||
NvmeFreeControllerResource (
|
||||
NvmeFreeDmaResource (
|
||||
IN PEI_NVME_CONTROLLER_PRIVATE_DATA *Private
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user