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/Library/BasePcdLibNull/PcdLib.c

    r48674 r58459  
    22  A emptry template implementation of PCD Library.
    33
    4   Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
     4  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
    55  This program and the accompanying materials
    66  are licensed and made available under the terms and conditions of the BSD License
     
    401401  Sets the 8-bit value for the token specified by TokenNumber
    402402  to the value specified by Value.  Value is returned.
    403  
     403
     404  If the set operation was not correctly performed, then ASSERT().
     405
    404406  @param[in]  TokenNumber   The PCD token number to set a current value for.
    405407  @param[in]  Value         The 8-bit value to set.
     
    427429  Sets the 16-bit value for the token specified by TokenNumber
    428430  to the value specified by Value.  Value is returned.
    429  
     431
     432  If the set operation was not correctly performed, then ASSERT().
     433
    430434  @param[in]  TokenNumber   The PCD token number to set a current value for.
    431435  @param[in]  Value         The 16-bit value to set.
     
    453457  Sets the 32-bit value for the token specified by TokenNumber
    454458  to the value specified by Value.  Value is returned.
    455  
     459
     460  If the set operation was not correctly performed, then ASSERT().
     461
    456462  @param[in]  TokenNumber   The PCD token number to set a current value for.
    457463  @param[in]  Value         The 32-bit value to set.
     
    479485  Sets the 64-bit value for the token specified by TokenNumber
    480486  to the value specified by Value.  Value is returned.
    481  
     487
     488  If the set operation was not correctly performed, then ASSERT().
     489
    482490  @param[in]  TokenNumber   The PCD token number to set a current value for.
    483491  @param[in]  Value         The 64-bit value to set.
     
    507515  If SizeOfBuffer is greater than the maximum size support by TokenNumber,
    508516  then set SizeOfBuffer to the maximum size supported by TokenNumber and
    509   return NULL to indicate that the set operation was not actually performed. 
     517  return NULL to indicate that the set operation was not actually performed,
     518  or ASSERT() if the set operation was not corretly performed.
    510519
    511520  If SizeOfBuffer is set to MAX_ADDRESS, then SizeOfBuffer must be set to the
     
    542551  Sets the Boolean value for the token specified by TokenNumber
    543552  to the value specified by Value.  Value is returned.
    544  
     553
     554  If the set operation was not correctly performed, then ASSERT().
     555
    545556  @param[in]  TokenNumber   The PCD token number to set a current value for.
    546557  @param[in]  Value         The boolean value to set.
     
    568579  Sets the 8-bit value for the token specified by TokenNumber and
    569580  Guid to the value specified by Value. Value is returned.
    570  
     581
    571582  If Guid is NULL, then ASSERT().
    572  
     583  If the set operation was not correctly performed, then ASSERT().
     584
    573585  @param[in]  Guid          The pointer to a 128-bit unique value that
    574586                            designates which namespace to set a value from.
     
    599611  Sets the 16-bit value for the token specified by TokenNumber and
    600612  Guid to the value specified by Value. Value is returned.
    601  
     613
    602614  If Guid is NULL, then ASSERT().
    603  
     615  If the set operation was not correctly performed, then ASSERT().
     616
    604617  @param[in]  Guid          The pointer to a 128-bit unique value that
    605618                            designates which namespace to set a value from.
     
    630643  Sets the 32-bit value for the token specified by TokenNumber and
    631644  Guid to the value specified by Value. Value is returned.
    632  
     645
    633646  If Guid is NULL, then ASSERT().
    634  
     647  If the set operation was not correctly performed, then ASSERT().
     648
    635649  @param[in]  Guid          The pointer to a 128-bit unique value that
    636650                            designates which namespace to set a value from.
     
    661675  Sets the 64-bit value for the token specified by TokenNumber and
    662676  Guid to the value specified by Value. Value is returned.
     677
    663678  If Guid is NULL, then ASSERT().
    664  
     679  If the set operation was not correctly performed, then ASSERT().
     680
    665681  @param[in]  Guid          The pointer to a 128-bit unique value that
    666682                            designates which namespace to set a value from.
     
    693709  the maximum size support by TokenNumber, then set SizeOfBuffer to the maximum size
    694710  supported by TokenNumber and return NULL to indicate that the set operation
    695   was not actually performed.
     711  was not actually performed, or ASSERT() if the set operation was not corretly performed.
    696712 
    697713  If Guid is NULL, then ASSERT().
     
    729745  Sets the Boolean value for the token specified by TokenNumber and
    730746  Guid to the value specified by Value. Value is returned.
    731  
     747
    732748  If Guid is NULL, then ASSERT().
    733  
     749  If the set operation was not correctly performed, then ASSERT().
     750
    734751  @param[in]  Guid          The pointer to a 128-bit unique value that
    735752                            designates which namespace to set a value from.
     
    920937}
    921938
     939/**
     940  Retrieve additional information associated with a PCD token.
     941
     942  This includes information such as the type of value the TokenNumber is associated with as well as possible
     943  human readable name that is associated with the token.
     944
     945  If TokenNumber is not in the default token space specified, then ASSERT().
     946
     947  @param[in]    TokenNumber The PCD token number.
     948  @param[out]   PcdInfo     The returned information associated with the requested TokenNumber.
     949                            The caller is responsible for freeing the buffer that is allocated by callee for PcdInfo->PcdName.
     950**/
     951VOID
     952EFIAPI
     953LibPcdGetInfo (
     954  IN        UINTN           TokenNumber,
     955  OUT       PCD_INFO        *PcdInfo
     956  )
     957{
     958  ASSERT (FALSE);
     959}
     960
     961/**
     962  Retrieve additional information associated with a PCD token.
     963
     964  This includes information such as the type of value the TokenNumber is associated with as well as possible
     965  human readable name that is associated with the token.
     966
     967  If TokenNumber is not in the token space specified by Guid, then ASSERT().
     968
     969  @param[in]    Guid        The 128-bit unique value that designates the namespace from which to extract the value.
     970  @param[in]    TokenNumber The PCD token number.
     971  @param[out]   PcdInfo     The returned information associated with the requested TokenNumber.
     972                            The caller is responsible for freeing the buffer that is allocated by callee for PcdInfo->PcdName.
     973**/
     974VOID
     975EFIAPI
     976LibPcdGetInfoEx (
     977  IN CONST  GUID            *Guid,
     978  IN        UINTN           TokenNumber,
     979  OUT       PCD_INFO        *PcdInfo
     980  )
     981{
     982  ASSERT (FALSE);
     983}
     984
     985/**
     986  Retrieve the currently set SKU Id.
     987
     988  If the sku id got >= PCD_MAX_SKU_ID, then ASSERT().
     989
     990  @return   The currently set SKU Id. If the platform has not set at a SKU Id, then the
     991            default SKU Id value of 0 is returned. If the platform has set a SKU Id, then the currently set SKU
     992            Id is returned.
     993**/
     994UINTN
     995EFIAPI
     996LibPcdGetSku (
     997  VOID
     998  )
     999{
     1000  ASSERT (FALSE);
     1001
     1002  return 0;
     1003}
     1004
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