summaryrefslogtreecommitdiff
path: root/IntelFrameworkPkg/Include/Framework
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-13 00:18:41 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-13 00:18:41 +0000
commitb6d47a83ac311c8980472f3d83ff477f58491a7c (patch)
tree03d533adc06f0faca289a4c6b5654c853a1574ce /IntelFrameworkPkg/Include/Framework
parent050b79ebb0bef44779009c46b15b68b60e8012d1 (diff)
downloadedk2-platforms-b6d47a83ac311c8980472f3d83ff477f58491a7c.tar.xz
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
Diffstat (limited to 'IntelFrameworkPkg/Include/Framework')
-rw-r--r--IntelFrameworkPkg/Include/Framework/DxeCis.h30
-rw-r--r--IntelFrameworkPkg/Include/Framework/SmmCis.h3
2 files changed, 19 insertions, 14 deletions
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 <Protocol/StatusCode.h>
-//
-// 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
);