From a32c6dcf3e661923f2a51bfad88a8750a2d6b282 Mon Sep 17 00:00:00 2001 From: jljusten Date: Mon, 23 Nov 2009 23:16:04 +0000 Subject: 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 --- MdePkg/Include/Pi/PiDxeCis.h | 15 +++++++++++++++ MdePkg/Include/Pi/PiSmmCis.h | 11 ----------- 2 files changed, 15 insertions(+), 11 deletions(-) (limited to 'MdePkg/Include/Pi') 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 @@ -67,17 +67,6 @@ EFI_STATUS IN UINTN TableSize ); -/** - 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 -- cgit v1.2.3