]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DriverSampleDxe/DriverSample.h
MdeModulePkg/UsbBusDxe: Add UsbControlTransfer() error check
[mirror_edk2.git] / MdeModulePkg / Universal / DriverSampleDxe / DriverSample.h
index 728c44abcee7c294f9b191f1657e89936e4ea1f5..00752bfa29b5341a4ce8e91af49bf092b5e50c16 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -31,6 +31,9 @@ Revision History
 #include <Protocol/HiiConfigAccess.h>\r
 #include <Protocol/HiiDatabase.h>\r
 #include <Protocol/HiiString.h>\r
+#include <Protocol/FormBrowserEx.h>\r
+#include <Protocol/HiiConfigKeyword.h>\r
+#include <Protocol/HiiPopup.h>\r
 \r
 #include <Guid/MdeModuleHii.h>\r
 #include <Library/DebugLib.h>\r
@@ -65,6 +68,9 @@ extern UINT8  DriverSampleStrings[];
 #define DYNAMIC_ONE_OF_VAR_OFFSET        OFFSET_OF (DRIVER_SAMPLE_CONFIGURATION, DynamicOneof)\r
 #define DYNAMIC_ORDERED_LIST_VAR_OFFSET  OFFSET_OF (DRIVER_SAMPLE_CONFIGURATION, DynamicOrderedList)\r
 \r
+#define DEFAULT_CLASS_MANUFACTURING_VALUE     0xFF\r
+#define DEFAULT_CLASS_STANDARD_VALUE          0x0\r
+\r
 //\r
 // Number of name in Name/Value storage\r
 //\r
@@ -78,7 +84,9 @@ typedef struct {
   EFI_HANDLE                       DriverHandle[2];\r
   EFI_HII_HANDLE                   HiiHandle[2];\r
   DRIVER_SAMPLE_CONFIGURATION      Configuration;\r
-  UINT8                            PasswordState;\r
+  MY_EFI_VARSTORE_DATA             VarStoreConfig;\r
+  MY_EFI_BITS_VARSTORE_DATA        BitsVarStoreConfig;\r
+  MY_EFI_UNION_DATA                UnionConfig;\r
 \r
   //\r
   // Name/Value storage Name list\r
@@ -92,6 +100,9 @@ typedef struct {
   EFI_HII_DATABASE_PROTOCOL        *HiiDatabase;\r
   EFI_HII_STRING_PROTOCOL          *HiiString;\r
   EFI_HII_CONFIG_ROUTING_PROTOCOL  *HiiConfigRouting;\r
+  EFI_CONFIG_KEYWORD_HANDLER_PROTOCOL *HiiKeywordHandler;\r
+  EFI_HII_POPUP_PROTOCOL              *HiiPopup;\r
+\r
   EFI_FORM_BROWSER2_PROTOCOL       *FormBrowser2;\r
 \r
   //\r