X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FDriverConfiguration.h;h=34f1a641dd627e0b19069571086902b5cd73fc49;hb=3a98b778ab22972beb5fe8734d032d477dc5d870;hp=f4f0c7aeb22a71283dc4c9da8ead54467fc0c8aa;hpb=d1f950002362305fcd4c30f108ef7b76679f5843;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/DriverConfiguration.h b/MdePkg/Include/Protocol/DriverConfiguration.h index f4f0c7aeb2..34f1a641dd 100644 --- a/MdePkg/Include/Protocol/DriverConfiguration.h +++ b/MdePkg/Include/Protocol/DriverConfiguration.h @@ -10,13 +10,13 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - Module Name: DriverConfiguration.h - **/ #ifndef __EFI_DRIVER_CONFIGURATION_H__ #define __EFI_DRIVER_CONFIGURATION_H__ +#include + // // Global ID for the Driver Configuration Protocol defined in EFI 1.10 // @@ -25,29 +25,9 @@ 0x107a772b, 0xd5e1, 0x11d4, {0x9a, 0x46, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \ } -// -// Global ID for the Driver Configuration Protocol defined in UEFI 2.0 -// -#define UEFI_DRIVER_CONFIGURATION_PROTOCOL_GUID \ - { \ - 0xbfd7dc1d, 0x24f1, 0x40d9, {0x82, 0xe7, 0x2e, 0x09, 0xbb, 0x6b, 0x4e, 0xbe } \ - } - + typedef struct _EFI_DRIVER_CONFIGURATION_PROTOCOL EFI_DRIVER_CONFIGURATION_PROTOCOL; -typedef enum { - EfiDriverConfigurationActionNone = 0, - EfiDriverConfigurationActionStopController = 1, - EfiDriverConfigurationActionRestartController = 2, - EfiDriverConfigurationActionRestartPlatform = 3, - EfiDriverConfigurationActionMaximum -} EFI_DRIVER_CONFIGURATION_ACTION_REQUIRED; - -#define EFI_DRIVER_CONFIGURATION_SAFE_DEFAULTS 0x00000000 -#define EFI_DRIVER_CONFIGURATION_MANUFACTURING_DEFAULTS 0x00000001 -#define EFI_DRIVER_CONFIGURATION_CUSTOM_DEFAULTS 0x00000002 -#define EFI_DRIVER_CONFIGURATION_PERORMANCE_DEFAULTS 0x00000003 - /** Allows the user to set controller specific options for a controller that a driver is currently managing. @@ -198,6 +178,5 @@ struct _EFI_DRIVER_CONFIGURATION_PROTOCOL { **/ extern EFI_GUID gEfiDriverConfigurationProtocolGuid; -extern EFI_GUID gUefiDriverConfigurationProtocolGuid; #endif