]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Guid/OverrideVariable.h
Remove PeRemove PeiPeCoffLoader.h and gPeiPeCoffLoaderGuid, and Add PeCoffExtraAction...
[mirror_edk2.git] / MdeModulePkg / Include / Guid / OverrideVariable.h
1 /** @file
2 This file defines the platform driver override variable name and variable guid.
3 The variable(s) contain the override mappings from Controller Device Path to a set of Driver Device Paths.
4
5 VariableLayout {
6 //
7 // NotEnd indicate whether the variable is the last one, and has no subsequent variable need to load.
8 // Each variable has MaximumVariableSize limitation, so multiple variables are required to store
9 // large mapping infos.
10 // The variable(s) name rule is PlatDriOver, PlatDriOver1, PlatDriOver2, ....
11 //
12 UINT32 NotEnd; //Zero is the last one.
13 //
14 // The entry which contains the mapping that Controller Device Path to a set of Driver Device Paths
15 // There are often multi mapping entries in a variable.
16 //
17 UINT32 SIGNATURE; //SIGNATURE_32('p','d','o','i')
18 UINT32 DriverNum;
19 EFI_DEVICE_PATH_PROTOCOL ControllerDevicePath[];
20 EFI_DEVICE_PATH_PROTOCOL DriverDevicePath[];
21 EFI_DEVICE_PATH_PROTOCOL DriverDevicePath[];
22 EFI_DEVICE_PATH_PROTOCOL DriverDevicePath[];
23 ......
24 UINT32 NotEnd; //Zero is the last one.
25 UINT32 SIGNATURE;
26 UINT32 DriverNum;
27 EFI_DEVICE_PATH_PROTOCOL ControllerDevicePath[];
28 EFI_DEVICE_PATH_PROTOCOL DriverDevicePath[];
29 EFI_DEVICE_PATH_PROTOCOL DriverDevicePath[];
30 EFI_DEVICE_PATH_PROTOCOL DriverDevicePath[];
31 ......
32 }
33
34 Copyright (c) 2008 - 2009, Intel Corporation
35 All rights reserved. This program and the accompanying materials
36 are licensed and made available under the terms and conditions of the BSD License
37 which accompanies this distribution. The full text of the license may be found at
38 http://opensource.org/licenses/bsd-license.php
39
40 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
41 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
42
43 **/
44
45 #ifndef __EFI_OVERRIDE_VARIABLE_GUID_H__
46 #define __EFI_OVERRIDE_VARIABLE_GUID_H__
47
48 ///
49 /// This guid is used for a platform driver override variable
50 ///
51 #define EFI_OVERRIDE_VARIABLE_GUID \
52 { 0x8e3d4ad5, 0xf762, 0x438a, { 0xa1, 0xc1, 0x5b, 0x9f, 0xe6, 0x8c, 0x6b, 0x15 }}
53
54 #define EFI_PLATFORM_OVERRIDE_VARIABLE_NAME L"PlatDriOver"
55
56 extern EFI_GUID gEfiOverrideVariableGuid;
57
58 #endif // #ifndef __EFI_OVERRIDE_VARIABLE_GUID_H__