Changeset 58459 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/UefiLib.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/UefiLib.h
r48674 r58459 13 13 defined, then debug and assert related macros wrapped by it are the NULL implementations. 14 14 15 Copyright (c) 2006 - 201 1, Intel Corporation. All rights reserved.<BR>15 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> 16 16 This program and the accompanying materials are licensed and made available under 17 17 the terms and conditions of the BSD License that accompanies this distribution. … … 630 630 ); 631 631 632 633 /** 632 #ifndef DISABLE_NEW_DEPRECATED_INTERFACES 633 634 /** 635 [ATTENTION] This function will be deprecated for security reason. 636 634 637 Returns a pointer to an allocated buffer that contains the contents of a 635 638 variable retrieved through the UEFI Runtime Service GetVariable(). The … … 656 659 657 660 /** 661 [ATTENTION] This function will be deprecated for security reason. 662 658 663 Returns a pointer to an allocated buffer that contains the contents of a 659 664 variable retrieved through the UEFI Runtime Service GetVariable(). This … … 676 681 IN CONST CHAR16 *Name 677 682 ); 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 **/ 706 EFI_STATUS 707 EFIAPI 708 GetVariable2 ( 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 **/ 734 EFI_STATUS 735 EFIAPI 736 GetEfiGlobalVariable2 ( 737 IN CONST CHAR16 *Name, 738 OUT VOID **Value, 739 OUT UINTN *Size OPTIONAL 740 ); 679 741 680 742 /**
Note:
See TracChangeset
for help on using the changeset viewer.