MdePkg: Add conditional backwards compatibility to MpServices2 aliases
EDKII_PEI_MP_SERVICES2_PPI has been renamed to EFI_PEI_MP_SERVICES2_PPI and moved to MdePkg. EDKII_PEI_MP_SERVICES2_PPI structure and PPI GUID are provided as backward compatible references. These references have been wrapped under a conditional to aid with its eventual removal. To enable, define ENABLE_DEPRECATED_EDKII_MP_SERVICES2. Signed-off-by: Sachin Ganesh <sachinganesh@ami.com>
This commit is contained in:
parent
e5dae263fe
commit
29960f389f
|
@ -280,6 +280,9 @@ struct _EFI_PEI_MP_SERVICES2_PPI {
|
|||
|
||||
extern EFI_GUID gEfiPeiMpServices2PpiGuid;
|
||||
|
||||
// For backwards compatability. To be removed.
|
||||
#ifdef ENABLE_DEPRECATED_EDKII_MP_SERVICES2
|
||||
|
||||
#define EDKII_PEI_MP_SERVICES2_PPI_GUID EFI_PEI_MP_SERVICES2_PPI_GUID
|
||||
|
||||
typedef EFI_PEI_MP_SERVICES2_PPI EDKII_PEI_MP_SERVICES2_PPI;
|
||||
|
@ -287,3 +290,5 @@ typedef EFI_PEI_MP_SERVICES2_PPI EDKII_PEI_MP_SERVICES2_PPI;
|
|||
#define gEdkiiPeiMpServices2PpiGuid gEfiPeiMpServices2PpiGuid
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue