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/UefiLib.h

    r48674 r58459  
    1313  defined, then debug and assert related macros wrapped by it are the NULL implementations.
    1414
    15 Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
     15Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
    1616This program and the accompanying materials are licensed and made available under
    1717the terms and conditions of the BSD License that accompanies this distribution. 
     
    630630  );
    631631
    632 
    633 /**
     632#ifndef DISABLE_NEW_DEPRECATED_INTERFACES
     633
     634/**
     635  [ATTENTION] This function will be deprecated for security reason.
     636
    634637  Returns a pointer to an allocated buffer that contains the contents of a
    635638  variable retrieved through the UEFI Runtime Service GetVariable().  The
     
    656659
    657660/**
     661  [ATTENTION] This function will be deprecated for security reason.
     662
    658663  Returns a pointer to an allocated buffer that contains the contents of a
    659664  variable retrieved through the UEFI Runtime Service GetVariable().  This
     
    676681  IN CONST CHAR16  *Name
    677682  );
    678 
     683#endif
     684
     685
     686/**
     687  Returns the status whether get the variable success. The function retrieves
     688  variable  through the UEFI Runtime Service GetVariable().  The
     689  returned buffer is allocated using AllocatePool().  The caller is responsible
     690  for freeing this buffer with FreePool().
     691
     692  If Name  is NULL, then ASSERT().
     693  If Guid  is NULL, then ASSERT().
     694  If Value is NULL, then ASSERT().
     695
     696  @param[in]  Name  The pointer to a Null-terminated Unicode string.
     697  @param[in]  Guid  The pointer to an EFI_GUID structure
     698  @param[out] Value The buffer point saved the variable info.
     699  @param[out] Size  The buffer size of the variable.
     700
     701  @return EFI_OUT_OF_RESOURCES      Allocate buffer failed.
     702  @return EFI_SUCCESS               Find the specified variable.
     703  @return Others Errors             Return errors from call to gRT->GetVariable.
     704
     705**/
     706EFI_STATUS
     707EFIAPI
     708GetVariable2 (
     709  IN CONST CHAR16    *Name,
     710  IN CONST EFI_GUID  *Guid,
     711  OUT VOID           **Value,
     712  OUT UINTN          *Size OPTIONAL
     713  );
     714
     715/**
     716  Returns a pointer to an allocated buffer that contains the contents of a
     717  variable retrieved through the UEFI Runtime Service GetVariable().  This
     718  function always uses the EFI_GLOBAL_VARIABLE GUID to retrieve variables.
     719  The returned buffer is allocated using AllocatePool().  The caller is
     720  responsible for freeing this buffer with FreePool().
     721
     722  If Name  is NULL, then ASSERT().
     723  If Value is NULL, then ASSERT().
     724
     725  @param[in]  Name  The pointer to a Null-terminated Unicode string.
     726  @param[out] Value The buffer point saved the variable info.
     727  @param[out] Size  The buffer size of the variable.
     728
     729  @return EFI_OUT_OF_RESOURCES      Allocate buffer failed.
     730  @return EFI_SUCCESS               Find the specified variable.
     731  @return Others Errors             Return errors from call to gRT->GetVariable.
     732
     733**/
     734EFI_STATUS
     735EFIAPI
     736GetEfiGlobalVariable2 (
     737  IN CONST CHAR16    *Name,
     738  OUT VOID           **Value,
     739  OUT UINTN          *Size OPTIONAL
     740  );
    679741
    680742/**
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