EFI_AP_PROCEDURE was defined equivalently in two locations:
1. MdePkg/Include/Pi/PiSmmCis.h
2. MdePkg/Include/Protocol/MpService.h
This change moves the definition to a common file:
* MdePkg/Include/Pi/PiDxeCis.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9470
6f19259b-4bc3-4df7-8a09-
765794883524
\r
typedef DXE_SERVICES EFI_DXE_SERVICES;\r
\r
+\r
+/**\r
+ Function prototype for invoking a function on an Application Processor.\r
+\r
+ This definition is used by the UEFI MP Serices Protocol, and the\r
+ PI SMM System Table.\r
+\r
+ @param[in,out] Buffer Pointer to private data buffer.\r
+**/\r
+typedef\r
+VOID\r
+(EFIAPI *EFI_AP_PROCEDURE)(\r
+ IN OUT VOID *Buffer\r
+ );\r
+\r
#endif\r
IN UINTN TableSize\r
);\r
\r
-/**\r
- Function prototype for invoking a function on an Application Processor.\r
-\r
- @param[in,out] Buffer Pointer to private data buffer.\r
-**/\r
-typedef\r
-VOID\r
-(EFIAPI *EFI_AP_PROCEDURE)(\r
- IN OUT VOID *Buffer\r
- );\r
-\r
/**\r
The SmmStartupThisAp() lets the caller to get one distinct application processor\r
(AP) in the enabled processor pool to execute a caller-provided code stream\r
EFI_CPU_PHYSICAL_LOCATION Location;\r
} EFI_PROCESSOR_INFORMATION;\r
\r
-/**\r
- Functions of this type are passed into StartUpAllAPs() and StartThisAP() to\r
- execute a procedure on enabled APs. The context the AP should use durng \r
- execution is specified by ProcedureArgument.\r
- \r
- @param[in] ProcedureArgument Pointer to the procedure's argument.\r
-\r
-**/\r
-typedef\r
-VOID\r
-(EFIAPI *EFI_AP_PROCEDURE)(\r
- IN VOID *ProcedureArgument\r
- );\r
-\r
/**\r
This service retrieves the number of logical processor in the platform\r
and the number of those logical processors that are enabled on this boot.\r