]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/Include/Guid/ArmGlobalVariableHob.h
ARM Packages: Removed trailing spaces
[mirror_edk2.git] / ArmPlatformPkg / Include / Guid / ArmGlobalVariableHob.h
CommitLineData
1e57a462 1/** @file\r
2*\r
c0b2e477 3* Copyright (c) 2011-2013, ARM Limited. All rights reserved.\r
1e57a462 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
c0b2e477 18#include <Pi/PiBootMode.h>\r
19#include <Pi/PiHob.h>\r
20\r
1e57a462 21#define ARM_HOB_GLOBAL_VARIABLE_GUID \\r
22 { 0xc3253c90, 0xa24f, 0x4599, { 0xa6, 0x64, 0x1f, 0x88, 0x13, 0x77, 0x8f, 0xc9} };\r
23\r
24extern EFI_GUID gArmGlobalVariableGuid;\r
25\r
26///\r
3402aac7
RC
27/// Describes all memory ranges used during the HOB producer\r
28/// phase that exist outside the HOB list. This HOB type\r
1e57a462 29/// describes how memory is used, not the physical attributes of memory.\r
30///\r
31typedef struct {\r
32 ///\r
33 /// The Guid HOB header. Header.HobType = EFI_HOB_TYPE_GUID_EXTENSION\r
34 /// and Header.Name = gArmGlobalVariableGuid\r
35 ///\r
36 EFI_HOB_GUID_TYPE Header;\r
37\r
38 ///\r
39 /// The base address of memory allocated by this HOB. Type\r
40 /// EFI_PHYSICAL_ADDRESS is defined in AllocatePages() in the UEFI 2.0\r
41 /// specification.\r
42 ///\r
43 EFI_PHYSICAL_ADDRESS GlobalVariableBase;\r
44\r
3402aac7 45 ///\r
1e57a462 46 /// The length in bytes of memory allocated by this HOB.\r
3402aac7 47 ///\r
1e57a462 48 UINT32 GlobalVariableSize;\r
49} ARM_HOB_GLOBAL_VARIABLE;\r
50\r
51#endif\r