From: yshang1 Date: Tue, 3 Apr 2007 09:23:26 +0000 (+0000) Subject: SMMcis defines "Exit" as the one of phases of EFI_SMM_STANDBY_BUTTON_CONTEXT. The... X-Git-Tag: edk2-stable201903~23370 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=99b64dd97774ab935815ff54c040de7789da7bb2 SMMcis defines "Exit" as the one of phases of EFI_SMM_STANDBY_BUTTON_CONTEXT. The "Exit" conflicts with UefiApplicationEntryPoint library's Exit() in MDE spec and breaks all application build in r9. To fix the issue, I changed the "Exit" to "StandbyButtonExit" in EFI_SMM_STANDBY_BUTTON_CONTEXT temporarily. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2527 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/Protocol/SmmStandbyButtonDispatch.h b/MdePkg/Include/Protocol/SmmStandbyButtonDispatch.h index 79b0602a03..e8cd172e40 100644 --- a/MdePkg/Include/Protocol/SmmStandbyButtonDispatch.h +++ b/MdePkg/Include/Protocol/SmmStandbyButtonDispatch.h @@ -40,8 +40,8 @@ typedef struct _EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL EFI_SMM_STANDBY_BUTTON // - OS Install Phase // typedef enum { - Entry, - Exit + StandbyButtonEntry, + StandbyButtonExit } EFI_STANDBY_BUTTON_PHASE; typedef struct {