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