Split the DriverConfiguration.h into DriverConfiguration2 and DriverConfiguration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2763 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -17,6 +17,8 @@
|
||||
#ifndef __EFI_DRIVER_CONFIGURATION_H__
|
||||
#define __EFI_DRIVER_CONFIGURATION_H__
|
||||
|
||||
#include <Protocol/DriverConfiguration2.h>
|
||||
|
||||
//
|
||||
// Global ID for the Driver Configuration Protocol defined in EFI 1.10
|
||||
//
|
||||
@ -25,29 +27,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 +180,5 @@ struct _EFI_DRIVER_CONFIGURATION_PROTOCOL {
|
||||
**/
|
||||
|
||||
extern EFI_GUID gEfiDriverConfigurationProtocolGuid;
|
||||
extern EFI_GUID gUefiDriverConfigurationProtocolGuid;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user