From 99b64dd97774ab935815ff54c040de7789da7bb2 Mon Sep 17 00:00:00 2001 From: yshang1 Date: Tue, 3 Apr 2007 09:23:26 +0000 Subject: [PATCH] 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 --- MdePkg/Include/Protocol/SmmStandbyButtonDispatch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {