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