TianoCore EDK2 master
|
#include <Ppi/MpServices2.h>
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | SmmRelocationInit (IN EDKII_PEI_MP_SERVICES2_PPI *MpServices2) |
Header file for SMM Relocation Library.
The SmmRelocationLib class provides the SmmRelocationInit() interface for platform to do the smbase relocation, which shall provide below 2 functionalities:
With SmmRelocationLib, PiSmmCpuDxeSmm driver (which runs at a later phase) shall:
Copyright (c) 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SmmRelocationLib.h.
EFI_STATUS EFIAPI SmmRelocationInit | ( | IN EDKII_PEI_MP_SERVICES2_PPI * | MpServices2 | ) |
CPU SmmBase Relocation Init.
This function is to relocate CPU SmmBase.
[in] | MpServices2 | Pointer to this instance of the MpServices. |
EFI_SUCCESS | CPU SmmBase Relocated successfully. |
Others | CPU SmmBase Relocation failed. |
Definition at line 426 of file SmmRelocationLib.c.