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 /MdePkg/Include/Pi | |
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
Diffstat (limited to 'MdePkg/Include/Pi')
-rw-r--r-- | MdePkg/Include/Pi/PiDxeCis.h | 15 | ||||
-rw-r--r-- | MdePkg/Include/Pi/PiSmmCis.h | 11 |
2 files changed, 15 insertions, 11 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.
|