SmmAccessLib.h 763 B

12345678910111213141516171819202122232425
  1. /** @file
  2. Header file for SMM Access Driver.
  3. Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef _SMM_ACCESS_LIB_H_
  7. #define _SMM_ACCESS_LIB_H_
  8. /**
  9. This function is to install an SMM Access PPI
  10. - <b>Introduction</b> \n
  11. An API to install an instance of EFI_PEI_MM_ACCESS_PPI. This PPI is commonly used to control SMM mode memory access for S3 resume.
  12. @retval EFI_SUCCESS - Ppi successfully started and installed.
  13. @retval EFI_NOT_FOUND - Ppi can't be found.
  14. @retval EFI_OUT_OF_RESOURCES - Ppi does not have enough resources to initialize the driver.
  15. **/
  16. EFI_STATUS
  17. EFIAPI
  18. PeiInstallSmmAccessPpi (
  19. VOID
  20. );
  21. #endif