Revision: 17450
http://sourceforge.net/p/edk2/code/17450
Author: hwu1225
Date: 2015-05-15 00:40:29 +0000 (Fri, 15 May 2015)
Log Message:
-----------
MdePkg: Fix PI Multi-processor PPI header file include issue
Multi-processor PPI header file 'Ppi/Mpservices.h' uses a function
prototype EFI_AP_PROCEDURE which is defined in 'Pi/PiDxeCis.h' (DXE header
file).
This will cause a build fail when 'Ppi/Mpservices.h' is included in a PEI
module.
Since both phase support multi-processor service now, function prototype
EFI_AP_PROCEDURE should be moved to 'Pi/PiMultiPhase.h'. The move is a
compatible change and will not affect other codes.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <[email protected]>
Reviewed-by: Jeff Fan <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdePkg/Include/Pi/PiDxeCis.h
trunk/edk2/MdePkg/Include/Pi/PiMultiPhase.h
Modified: trunk/edk2/MdePkg/Include/Pi/PiDxeCis.h
===================================================================
--- trunk/edk2/MdePkg/Include/Pi/PiDxeCis.h 2015-05-14 23:35:01 UTC (rev
17449)
+++ trunk/edk2/MdePkg/Include/Pi/PiDxeCis.h 2015-05-15 00:40:29 UTC (rev
17450)
@@ -737,19 +737,4 @@
typedef DXE_SERVICES EFI_DXE_SERVICES;
-
-/**
- The function prototype for invoking a function on an Application Processor.
-
- This definition is used by the UEFI MP Serices Protocol, and the
- PI SMM System Table.
-
- @param[in,out] Buffer The pointer to private data buffer.
-**/
-typedef
-VOID
-(EFIAPI *EFI_AP_PROCEDURE)(
- IN OUT VOID *Buffer
- );
-
#endif
Modified: trunk/edk2/MdePkg/Include/Pi/PiMultiPhase.h
===================================================================
--- trunk/edk2/MdePkg/Include/Pi/PiMultiPhase.h 2015-05-14 23:35:01 UTC (rev
17449)
+++ trunk/edk2/MdePkg/Include/Pi/PiMultiPhase.h 2015-05-15 00:40:29 UTC (rev
17450)
@@ -1,7 +1,7 @@
/** @file
Include file matches things in PI for multiple module types.
-Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under
the terms and conditions of the BSD License that accompanies this
distribution.
The full text of the license may be found at
@@ -162,4 +162,18 @@
CHAR8 *PcdName;
} EFI_PCD_INFO;
+/**
+ The function prototype for invoking a function on an Application Processor.
+
+ This definition is used by the UEFI MP Serices Protocol, and the
+ PI SMM System Table.
+
+ @param[in,out] Buffer The pointer to private data buffer.
+**/
+typedef
+VOID
+(EFIAPI *EFI_AP_PROCEDURE)(
+ IN OUT VOID *Buffer
+ );
+
#endif
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits