]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Move duplicate EFI_AP_PROCEDURE typedef to a common location
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 23 Nov 2009 23:16:04 +0000 (23:16 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 23 Nov 2009 23:16:04 +0000 (23:16 +0000)
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

MdePkg/Include/Pi/PiDxeCis.h
MdePkg/Include/Pi/PiSmmCis.h
MdePkg/Include/Protocol/MpService.h

index 9ed4da661ad868b7a2f77e05facc27193f913b00..75f1736410ddefa29a77db84f9c11aa341ca9e41 100644 (file)
@@ -695,4 +695,19 @@ typedef struct {
 \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
index 77556be0fe347c9eec88ddc5cde8adfbdff5a3e3..52eaea560db89d8e29807959c1e3fd044228155e 100644 (file)
@@ -67,17 +67,6 @@ EFI_STATUS
   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
index c86b8b8e246be7538d326bdd042c817460eaa39b..6dd9cf659991e1953a672438d863303c2dea1393 100644 (file)
@@ -140,20 +140,6 @@ typedef struct {
   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