From b6d47a83ac311c8980472f3d83ff477f58491a7c Mon Sep 17 00:00:00 2001 From: mdkinney Date: Mon, 13 Jul 2009 00:18:41 +0000 Subject: Add Framework MP Services Protocol Change EFI_AP_PROCEDURE to FRAMEWORK_EFI_AP_PROCEDURE to remove name collision with PI 1.2 MP Services Protocol in MdePkg git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8912 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkPkg/Include/Framework/DxeCis.h | 30 ++++++++++++++++------------ IntelFrameworkPkg/Include/Framework/SmmCis.h | 3 ++- 2 files changed, 19 insertions(+), 14 deletions(-) (limited to 'IntelFrameworkPkg/Include/Framework') diff --git a/IntelFrameworkPkg/Include/Framework/DxeCis.h b/IntelFrameworkPkg/Include/Framework/DxeCis.h index f0f8f7e295..86d96ddd41 100644 --- a/IntelFrameworkPkg/Include/Framework/DxeCis.h +++ b/IntelFrameworkPkg/Include/Framework/DxeCis.h @@ -18,19 +18,23 @@ #include -// -// Function prototype for invoking a function on an Application Processor -// Used by both the SMM infrastructure and the MP Services Protocol -// +/** + Functions of this type are used with the Framework MP Services Protocol and + the SMM Services Table to execute a procedure on enabled APs. The context + the AP should use durng execution is specified by Buffer. + + @param[in] Buffer Pointer to the procedure's argument. + +**/ typedef VOID -(EFIAPI *EFI_AP_PROCEDURE)( - IN VOID *Buffer +(EFIAPI *FRAMEWORK_EFI_AP_PROCEDURE)( + IN VOID *Buffer ); -// -// Framework EFI Runtime Services Table as extension to EFI 1.10 Runtime Services Table -// +/// +/// Framework EFI Runtime Services Table as extension to EFI 1.10 Runtime Services Table +/// typedef struct { // // Table header for the Framework EFI Runtime Services Table @@ -59,10 +63,10 @@ typedef struct { // EFI_GET_NEXT_HIGH_MONO_COUNT GetNextHighMonotonicCount; EFI_RESET_SYSTEM ResetSystem; - // - // Framework extension to EFI 1.10 runtime table - // It was moved to a protocol to not conflict with UEFI 2.0 - // + /// + /// Framework extension to EFI 1.10 runtime table + /// It was moved to a protocol to not conflict with UEFI 2.0 + /// EFI_REPORT_STATUS_CODE ReportStatusCode; } FRAMEWORK_EFI_RUNTIME_SERVICES; diff --git a/IntelFrameworkPkg/Include/Framework/SmmCis.h b/IntelFrameworkPkg/Include/Framework/SmmCis.h index 11d6a6b07e..122c471add 100644 --- a/IntelFrameworkPkg/Include/Framework/SmmCis.h +++ b/IntelFrameworkPkg/Include/Framework/SmmCis.h @@ -180,6 +180,7 @@ EFI_STATUS IN EFI_PHYSICAL_ADDRESS Memory, IN UINTN NumberOfPages ); + /** Frees memory pages for the system. @@ -203,7 +204,7 @@ EFI_STATUS typedef EFI_STATUS (EFIAPI *EFI_SMM_STARTUP_THIS_AP)( - IN EFI_AP_PROCEDURE Procedure, + IN FRAMEWORK_EFI_AP_PROCEDURE Procedure, IN UINTN CpuNumber, IN OUT VOID *ProcArguments OPTIONAL ); -- cgit v1.2.3