diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-23 23:16:04 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-23 23:16:04 +0000 |
commit | a32c6dcf3e661923f2a51bfad88a8750a2d6b282 (patch) | |
tree | a89644fe63a5dde67ba9fb2cc72c86b9917539d7 | |
parent | 1e4506f2ccff06967d7b46862c96bb6fa822b1e7 (diff) | |
download | edk2-platforms-a32c6dcf3e661923f2a51bfad88a8750a2d6b282.tar.xz |
MdePkg: Move duplicate EFI_AP_PROCEDURE typedef to a common location
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
-rw-r--r-- | MdePkg/Include/Pi/PiDxeCis.h | 15 | ||||
-rw-r--r-- | MdePkg/Include/Pi/PiSmmCis.h | 11 | ||||
-rw-r--r-- | MdePkg/Include/Protocol/MpService.h | 14 |
3 files changed, 15 insertions, 25 deletions
diff --git a/MdePkg/Include/Pi/PiDxeCis.h b/MdePkg/Include/Pi/PiDxeCis.h index 9ed4da661a..75f1736410 100644 --- a/MdePkg/Include/Pi/PiDxeCis.h +++ b/MdePkg/Include/Pi/PiDxeCis.h @@ -695,4 +695,19 @@ typedef struct { typedef DXE_SERVICES EFI_DXE_SERVICES;
+
+/**
+ 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 Pointer to private data buffer.
+**/
+typedef
+VOID
+(EFIAPI *EFI_AP_PROCEDURE)(
+ IN OUT VOID *Buffer
+ );
+
#endif
diff --git a/MdePkg/Include/Pi/PiSmmCis.h b/MdePkg/Include/Pi/PiSmmCis.h index 77556be0fe..52eaea560d 100644 --- a/MdePkg/Include/Pi/PiSmmCis.h +++ b/MdePkg/Include/Pi/PiSmmCis.h @@ -68,17 +68,6 @@ EFI_STATUS );
/**
- Function prototype for invoking a function on an Application Processor.
-
- @param[in,out] Buffer Pointer to private data buffer.
-**/
-typedef
-VOID
-(EFIAPI *EFI_AP_PROCEDURE)(
- IN OUT VOID *Buffer
- );
-
-/**
The SmmStartupThisAp() lets the caller to get one distinct application processor
(AP) in the enabled processor pool to execute a caller-provided code stream
while in SMM. It runs the given code on this processor and reports the status.
diff --git a/MdePkg/Include/Protocol/MpService.h b/MdePkg/Include/Protocol/MpService.h index c86b8b8e24..6dd9cf6599 100644 --- a/MdePkg/Include/Protocol/MpService.h +++ b/MdePkg/Include/Protocol/MpService.h @@ -141,20 +141,6 @@ typedef struct { } EFI_PROCESSOR_INFORMATION;
/**
- Functions of this type are passed into StartUpAllAPs() and StartThisAP() to
- execute a procedure on enabled APs. The context the AP should use durng
- execution is specified by ProcedureArgument.
-
- @param[in] ProcedureArgument Pointer to the procedure's argument.
-
-**/
-typedef
-VOID
-(EFIAPI *EFI_AP_PROCEDURE)(
- IN VOID *ProcedureArgument
- );
-
-/**
This service retrieves the number of logical processor in the platform
and the number of those logical processors that are enabled on this boot.
This service may only be called from the BSP.
|