VirtualBox

Ignore:
Timestamp:
Oct 28, 2015 8:17:18 PM (9 years ago)
Author:
vboxsync
Message:

EFI/Firmware: 'svn merge /vendor/edk2/UDK2010.SR1 /vendor/edk2/current .', reverting and removing files+dirs listed in ReadMe.vbox, resolving conflicts with help from ../UDK2014.SP1/. This is a raw untested merge.

Location:
trunk/src/VBox/Devices/EFI/Firmware
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware

  • trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/HobLib.h

    r48674 r58459  
    99  independent and can be relocated easily to different memory memory locations.
    1010
    11 Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
     11Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
    1212This program and the accompanying materials
    1313are licensed and made available under the terms and conditions of the BSD License
     
    186186
    187187/**
     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**/
     203VOID
     204EFIAPI
     205BuildResourceDescriptorWithOwnerHob (
     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/**
    188214  Builds a HOB that describes a chunk of system memory.
    189215
     
    221247  If Guid is NULL, then ASSERT().
    222248  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.
    224251
    225252  @param  Guid          The GUID to tag the customized HOB.
     
    251278  If Data is NULL and DataLength > 0, then ASSERT().
    252279  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.
    254282
    255283  @param  Guid          The GUID to tag the customized HOB.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette