diff options
author | zwei4 <david.wei@intel.com> | 2017-05-26 11:13:42 +0800 |
---|---|---|
committer | zwei4 <david.wei@intel.com> | 2017-05-26 11:13:42 +0800 |
commit | 673afaa1174832eeab98ccfd89e7d1504aecc1f5 (patch) | |
tree | 2bdb88319c033b7427600d5336fa11fc9504dd9e /Platform/BroxtonPlatformPkg/Common/Features | |
parent | 22c9d0932dca0d0d959faf8399c8f220ba5ff7d2 (diff) | |
download | edk2-platforms-673afaa1174832eeab98ccfd89e7d1504aecc1f5.tar.xz |
GCC build support.
Change code which is not compatible with GCC.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: zwei4 <david.wei@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Common/Features')
2 files changed, 2 insertions, 0 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/Features/S3/SmramSaveInfoHandlerSmm/SmramSaveInfoHandlerSmm.c b/Platform/BroxtonPlatformPkg/Common/Features/S3/SmramSaveInfoHandlerSmm/SmramSaveInfoHandlerSmm.c index ef45fdb6bf..40655c2f65 100644 --- a/Platform/BroxtonPlatformPkg/Common/Features/S3/SmramSaveInfoHandlerSmm/SmramSaveInfoHandlerSmm.c +++ b/Platform/BroxtonPlatformPkg/Common/Features/S3/SmramSaveInfoHandlerSmm/SmramSaveInfoHandlerSmm.c @@ -45,6 +45,7 @@ CPU_INFO_PROTOCOL *mCpuInfoProtocol; **/
EFI_STATUS
+EFIAPI
SmramSaveInfoHandler (
IN EFI_HANDLE DispatchHandle,
IN EFI_SMM_SW_REGISTER_CONTEXT *DispatchContext
diff --git a/Platform/BroxtonPlatformPkg/Common/Features/Smbios/SmBiosMiscDxe/MiscOemType0x94Function.c b/Platform/BroxtonPlatformPkg/Common/Features/Smbios/SmBiosMiscDxe/MiscOemType0x94Function.c index 68d68d3272..41c59f1930 100644 --- a/Platform/BroxtonPlatformPkg/Common/Features/Smbios/SmBiosMiscDxe/MiscOemType0x94Function.c +++ b/Platform/BroxtonPlatformPkg/Common/Features/Smbios/SmBiosMiscDxe/MiscOemType0x94Function.c @@ -756,6 +756,7 @@ UpdatePlatformInformation ( **/
VOID
+EFIAPI
AddSmbiosT0x94Callback (
IN EFI_EVENT Event,
IN VOID *Context
|