]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Protocol/DisplayProtocol.h
MdeModulePkg: Add match2 opcode support in SetupBrowserDxe and sample code in DriverS...
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / DisplayProtocol.h
index 3be85667d308b634098be57e42e864fae9ad318b..d49c625cfd8df7664840b5680c189b71a811ec2e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   FormDiplay protocol to show Form\r
 \r
-Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #ifndef __DISPLAY_PROTOCOL_H__\r
 #define __DISPLAY_PROTOCOL_H__\r
 \r
-#include <Protocol\FormBrowser2.h>\r
+#include <Protocol/FormBrowser2.h>\r
 \r
 #define EDKII_FORM_DISPLAY_ENGINE_PROTOCOL_GUID  \\r
   { 0x9bbe29e9, 0xfda1, 0x41ec, { 0xad, 0x52, 0x45, 0x22, 0x13, 0x74, 0x2d, 0x2e } }\r
@@ -29,13 +29,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 #define BROWSER_ACTION_FORM_EXIT    BIT17\r
 \r
-#define BROWSER_SUCCESS             0x0\r
-#define BROWSER_ERROR               BIT31\r
-#define BROWSER_SUBMIT_FAIL         BROWSER_ERROR | 0x01\r
-#define BROWSER_NO_SUBMIT_IF        BROWSER_ERROR | 0x02\r
-#define BROWSER_FORM_NOT_FOUND      BROWSER_ERROR | 0x03\r
-#define BROWSER_FORM_SUPPRESS       BROWSER_ERROR | 0x04\r
-#define BROWSER_PROTOCOL_NOT_FOUND  BROWSER_ERROR | 0x05\r
+#define BROWSER_SUCCESS                   0x0\r
+#define BROWSER_ERROR                     BIT31\r
+#define BROWSER_SUBMIT_FAIL               BROWSER_ERROR | 0x01\r
+#define BROWSER_NO_SUBMIT_IF              BROWSER_ERROR | 0x02\r
+#define BROWSER_FORM_NOT_FOUND            BROWSER_ERROR | 0x03\r
+#define BROWSER_FORM_SUPPRESS             BROWSER_ERROR | 0x04\r
+#define BROWSER_PROTOCOL_NOT_FOUND        BROWSER_ERROR | 0x05\r
+#define BROWSER_INCONSISTENT_IF           BROWSER_ERROR | 0x06\r
+#define BROWSER_WARNING_IF                BROWSER_ERROR | 0x07\r
+#define BROWSER_SUBMIT_FAIL_NO_SUBMIT_IF  BROWSER_ERROR | 0x08\r
 \r
 #define FORM_DISPLAY_ENGINE_STATEMENT_VERSION_1  0x10000\r
 #define FORM_DISPLAY_ENGINE_VERSION_1            0x10000\r
@@ -137,10 +140,12 @@ EFI_STATUS
 //\r
 // Attribute for Statement and Form\r
 //\r
+#define HII_DISPLAY_NONE             0\r
 #define HII_DISPLAY_GRAYOUT          BIT0\r
 #define HII_DISPLAY_LOCK             BIT1\r
 #define HII_DISPLAY_READONLY         BIT2\r
 #define HII_DISPLAY_MODAL            BIT3\r
+#define HII_DISPLAY_SUPPRESS         BIT4\r
 \r
 struct _FORM_DISPLAY_ENGINE_STATEMENT{\r
   UINTN                 Signature;\r