summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2016-02-18 09:46:25 -0800
committerMichael Kinney <michael.d.kinney@intel.com>2016-02-22 10:35:28 -0800
commitd691abec1bae4db5e4c58be7dbce40974d810f7a (patch)
tree0a27e03877be1f79b988e57410f505a57982bd61 /UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h
parent8e2efec6b206adc27f8cdfb7a18d94f736dc97e7 (diff)
downloadedk2-d691abec1bae4db5e4c58be7dbce40974d810f7a.tar.gz
edk2-d691abec1bae4db5e4c58be7dbce40974d810f7a.tar.bz2
edk2-d691abec1bae4db5e4c58be7dbce40974d810f7a.zip
UefiCpuPkg/PiSmmCpuDxeSmm: Add EFIAPI to CheckFeatureSupported()
The function CheckFeatureSupported() is used as an EFI_AP_PROCEDURE in the MP Services Protocol service StartAllAPs(). Any function used as an EFI_AP_PROCEDURE must use EFIAPI calling convention. Cc: Laszlo Ersek <lersek@redhat.com> Cc: Jeff Fan <jeff.fan@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h')
-rw-r--r--UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h
index 4548467458..c6ce1f59ad 100644
--- a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h
+++ b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h
@@ -1,7 +1,7 @@
/** @file
SMM profile header file.
-Copyright (c) 2012 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -95,10 +95,13 @@ PageFaultIdtHandlerSmmProfile (
/**
Check if XD feature is supported by a processor.
+ @param[in,out] Buffer The pointer to private data buffer.
+
**/
VOID
+EFIAPI
CheckFeatureSupported (
- VOID
+ IN OUT VOID *Buffer
);
/**