]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c
Add #defines that were removed from IntelFrameworkPkg/Include/Protocol/FrameworkFormC...
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / FrameworkHiiOnUefiHiiThunk / ConfigAccess.c
index 2dd202bb390aa9b30eec8fec379b5d65e8872624..8982a1efad298232e0f59301b600f820dfc4e728 100644 (file)
@@ -17,6 +17,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include "HiiDatabase.h"\r
 #include "UefiIfrParser.h"\r
 \r
+//\r
+// Defintions required for EFI_FORM_CALLBACK_PROTOCOL, but they are not defined in the Framwork HII 0.92 Specification\r
+//\r
+#define RESET_REQUIRED  1   // Flags setting to signify that the callback operation resulted in an eventual\r
+                            // reset to be done upon exit of the browser\r
+#define EXIT_REQUIRED   2   // Flags setting to signify that after the processing of the callback results - exit the browser\r
+#define SAVE_REQUIRED   4   // Flags setting to signify that after the processing of the callback results - save the NV data\r
+#define NV_CHANGED      8   // Flags setting to signify that after the processing of the callback results - turn the NV flag on\r
+#define NV_NOT_CHANGED  16  // Flags setting to signify that after the processing of the callback results - turn the NV flag off\r
+\r
+\r
 BOOLEAN            mHiiPackageListUpdated = FALSE;\r
 \r
 HII_VENDOR_DEVICE_PATH  mUefiHiiVendorDevicePath = {\r