]>
Commit | Line | Data |
---|---|---|
8fc38a3f | 1 | /** @file |
2 | * | |
3 | * Copyright (c) 2011, ARM Limited. All rights reserved. | |
4 | * | |
5 | * This program and the accompanying materials | |
6 | * are licensed and made available under the terms and conditions of the BSD License | |
7 | * which accompanies this distribution. The full text of the license may be found at | |
8 | * http://opensource.org/licenses/bsd-license.php | |
9 | * | |
10 | * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, | |
11 | * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. | |
12 | * | |
13 | **/ | |
14 | ||
15 | #ifndef __ARM_GLOBAL_VARIABLE_GUID_H__ | |
16 | #define __ARM_GLOBAL_VARIABLE_GUID_H__ | |
17 | ||
18 | #define ARM_HOB_GLOBAL_VARIABLE_GUID \ | |
19 | { 0xc3253c90, 0xa24f, 0x4599, { 0xa6, 0x64, 0x1f, 0x88, 0x13, 0x77, 0x8f, 0xc9} }; | |
20 | ||
21 | extern EFI_GUID gArmGlobalVariableGuid; | |
22 | ||
23 | /// | |
24 | /// Describes all memory ranges used during the HOB producer | |
25 | /// phase that exist outside the HOB list. This HOB type | |
26 | /// describes how memory is used, not the physical attributes of memory. | |
27 | /// | |
28 | typedef struct { | |
29 | /// | |
30 | /// The Guid HOB header. Header.HobType = EFI_HOB_TYPE_GUID_EXTENSION | |
31 | /// and Header.Name = gArmGlobalVariableGuid | |
32 | /// | |
33 | EFI_HOB_GUID_TYPE Header; | |
34 | ||
35 | /// | |
36 | /// The base address of memory allocated by this HOB. Type | |
37 | /// EFI_PHYSICAL_ADDRESS is defined in AllocatePages() in the UEFI 2.0 | |
38 | /// specification. | |
39 | /// | |
40 | EFI_PHYSICAL_ADDRESS GlobalVariableBase; | |
41 | ||
42 | /// | |
43 | /// The length in bytes of memory allocated by this HOB. | |
44 | /// | |
45 | UINT32 GlobalVariableSize; | |
46 | } ARM_HOB_GLOBAL_VARIABLE; | |
47 | ||
48 | #endif |