UEFI Driver Configuration2 Protocol\r
\r
Copyright (c) 2006 - 2018, 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
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
0xbfd7dc1d, 0x24f1, 0x40d9, {0x82, 0xe7, 0x2e, 0x09, 0xbb, 0x6b, 0x4e, 0xbe } \\r
}\r
\r
-typedef struct _EFI_DRIVER_CONFIGURATION2_PROTOCOL EFI_DRIVER_CONFIGURATION2_PROTOCOL;\r
+typedef struct _EFI_DRIVER_CONFIGURATION2_PROTOCOL EFI_DRIVER_CONFIGURATION2_PROTOCOL;\r
\r
typedef enum {\r
///\r
/// The controller is still in a usable state. No actions\r
/// are required before this controller can be used again.\r
///\r
- EfiDriverConfigurationActionNone = 0,\r
+ EfiDriverConfigurationActionNone = 0,\r
///\r
/// The driver has detected that the controller is not in a\r
/// usable state, and it needs to be stopped.\r
///\r
- EfiDriverConfigurationActionStopController = 1,\r
+ EfiDriverConfigurationActionStopController = 1,\r
///\r
/// This controller needs to be stopped and restarted\r
/// before it can be used again.\r
/// A configuration change has been made that requires the platform to be restarted before\r
/// the controller can be used again.\r
///\r
- EfiDriverConfigurationActionRestartPlatform = 3,\r
+ EfiDriverConfigurationActionRestartPlatform = 3,\r
EfiDriverConfigurationActionMaximum\r
} EFI_DRIVER_CONFIGURATION_ACTION_REQUIRED;\r
\r
-#define EFI_DRIVER_CONFIGURATION_SAFE_DEFAULTS 0x00000000\r
-#define EFI_DRIVER_CONFIGURATION_MANUFACTURING_DEFAULTS 0x00000001\r
-#define EFI_DRIVER_CONFIGURATION_CUSTOM_DEFAULTS 0x00000002\r
-#define EFI_DRIVER_CONFIGURATION_PERORMANCE_DEFAULTS 0x00000003\r
+#define EFI_DRIVER_CONFIGURATION_SAFE_DEFAULTS 0x00000000\r
+#define EFI_DRIVER_CONFIGURATION_MANUFACTURING_DEFAULTS 0x00000001\r
+#define EFI_DRIVER_CONFIGURATION_CUSTOM_DEFAULTS 0x00000002\r
+#define EFI_DRIVER_CONFIGURATION_PERORMANCE_DEFAULTS 0x00000003\r
\r
/**\r
Allows the user to set controller specific options for a controller that a\r
/// Used to set configuration options for a controller that an EFI Driver is managing.\r
///\r
struct _EFI_DRIVER_CONFIGURATION2_PROTOCOL {\r
- EFI_DRIVER_CONFIGURATION2_SET_OPTIONS SetOptions;\r
- EFI_DRIVER_CONFIGURATION2_OPTIONS_VALID OptionsValid;\r
- EFI_DRIVER_CONFIGURATION2_FORCE_DEFAULTS ForceDefaults;\r
+ EFI_DRIVER_CONFIGURATION2_SET_OPTIONS SetOptions;\r
+ EFI_DRIVER_CONFIGURATION2_OPTIONS_VALID OptionsValid;\r
+ EFI_DRIVER_CONFIGURATION2_FORCE_DEFAULTS ForceDefaults;\r
///\r
/// A Null-terminated ASCII string that contains one or more RFC 4646\r
/// language codes. This is the list of language codes that this protocol supports.\r
///\r
- CHAR8 *SupportedLanguages;\r
+ CHAR8 *SupportedLanguages;\r
};\r
\r
-extern EFI_GUID gEfiDriverConfiguration2ProtocolGuid;\r
+extern EFI_GUID gEfiDriverConfiguration2ProtocolGuid;\r
\r
#endif\r