Changeset 58459 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/HobLib.h
- Timestamp:
- Oct 28, 2015 8:17:18 PM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
-
Property svn:mergeinfo
set to (toggle deleted branches)
/vendor/edk2/current 103735-103757
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/HobLib.h
r48674 r58459 9 9 independent and can be relocated easily to different memory memory locations. 10 10 11 Copyright (c) 2006 - 201 1, Intel Corporation. All rights reserved.<BR>11 Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> 12 12 This program and the accompanying materials 13 13 are licensed and made available under the terms and conditions of the BSD License … … 186 186 187 187 /** 188 Builds a HOB that describes a chunk of system memory with Owner GUID. 189 190 This function builds a HOB that describes a chunk of system memory. 191 It can only be invoked during PEI phase; 192 for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase. 193 194 If there is no additional space for HOB creation, then ASSERT(). 195 196 @param ResourceType The type of resource described by this HOB. 197 @param ResourceAttribute The resource attributes of the memory described by this HOB. 198 @param PhysicalStart The 64 bit physical address of memory described by this HOB. 199 @param NumberOfBytes The length of the memory described by this HOB in bytes. 200 @param OwnerGUID GUID for the owner of this resource. 201 202 **/ 203 VOID 204 EFIAPI 205 BuildResourceDescriptorWithOwnerHob ( 206 IN EFI_RESOURCE_TYPE ResourceType, 207 IN EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute, 208 IN EFI_PHYSICAL_ADDRESS PhysicalStart, 209 IN UINT64 NumberOfBytes, 210 IN EFI_GUID *OwnerGUID 211 ); 212 213 /** 188 214 Builds a HOB that describes a chunk of system memory. 189 215 … … 221 247 If Guid is NULL, then ASSERT(). 222 248 If there is no additional space for HOB creation, then ASSERT(). 223 If DataLength >= (0x10000 - sizeof (EFI_HOB_GUID_TYPE)), then ASSERT(). 249 If DataLength > (0xFFF8 - sizeof (EFI_HOB_GUID_TYPE)), then ASSERT(). 250 HobLength is UINT16 and multiples of 8 bytes, so the max HobLength is 0xFFF8. 224 251 225 252 @param Guid The GUID to tag the customized HOB. … … 251 278 If Data is NULL and DataLength > 0, then ASSERT(). 252 279 If there is no additional space for HOB creation, then ASSERT(). 253 If DataLength >= (0x10000 - sizeof (EFI_HOB_GUID_TYPE)), then ASSERT(). 280 If DataLength > (0xFFF8 - sizeof (EFI_HOB_GUID_TYPE)), then ASSERT(). 281 HobLength is UINT16 and multiples of 8 bytes, so the max HobLength is 0xFFF8. 254 282 255 283 @param Guid The GUID to tag the customized HOB.
Note:
See TracChangeset
for help on using the changeset viewer.