VirtualBox

Ignore:
Timestamp:
Mar 12, 2019 12:40:12 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129295
Message:

EFI: First step in UDK2018 merge. Does not build yet.

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

Legend:

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

  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Library/UefiLib.h

    r58466 r77662  
    1313  defined, then debug and assert related macros wrapped by it are the NULL implementations.
    1414
    15 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
     15Copyright (c) 2006 - 2018, 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.
     
    222222EfiNamedEventSignal (
    223223  IN CONST EFI_GUID  *Name
     224  );
     225
     226/**
     227  Signals an event group by placing a new event in the group temporarily and
     228  signaling it.
     229
     230  @param[in] EventGroup          Supplies the unique identifier of the event
     231                                 group to signal.
     232
     233  @retval EFI_SUCCESS            The event group was signaled successfully.
     234  @retval EFI_INVALID_PARAMETER  EventGroup is NULL.
     235  @return                        Error codes that report problems about event
     236                                 creation or signaling.
     237**/
     238EFI_STATUS
     239EFIAPI
     240EfiEventGroupSignal (
     241  IN CONST EFI_GUID *EventGroup
     242  );
     243
     244/**
     245  An empty function that can be used as NotifyFunction parameter of
     246  CreateEvent() or CreateEventEx().
     247
     248  @param Event              Event whose notification function is being invoked.
     249  @param Context            The pointer to the notification function's context,
     250                            which is implementation-dependent.
     251
     252**/
     253VOID
     254EFIAPI
     255EfiEventEmptyFunction (
     256  IN EFI_EVENT              Event,
     257  IN VOID                   *Context
    224258  );
    225259
     
    14571491  );
    14581492
     1493/**
     1494  Returns an array of protocol instance that matches the given protocol.
     1495
     1496  @param[in]  Protocol      Provides the protocol to search for.
     1497  @param[out] NoProtocols   The number of protocols returned in Buffer.
     1498  @param[out] Buffer        A pointer to the buffer to return the requested
     1499                            array of protocol instances that match Protocol.
     1500                            The returned buffer is allocated using
     1501                            EFI_BOOT_SERVICES.AllocatePool().  The caller is
     1502                            responsible for freeing this buffer with
     1503                            EFI_BOOT_SERVICES.FreePool().
     1504
     1505  @retval EFI_SUCCESS            The array of protocols was returned in Buffer,
     1506                                 and the number of protocols in Buffer was
     1507                                 returned in NoProtocols.
     1508  @retval EFI_NOT_FOUND          No protocols found.
     1509  @retval EFI_OUT_OF_RESOURCES   There is not enough pool memory to store the
     1510                                 matching results.
     1511  @retval EFI_INVALID_PARAMETER  Protocol is NULL.
     1512  @retval EFI_INVALID_PARAMETER  NoProtocols is NULL.
     1513  @retval EFI_INVALID_PARAMETER  Buffer is NULL.
     1514
     1515**/
     1516EFI_STATUS
     1517EFIAPI
     1518EfiLocateProtocolBuffer (
     1519  IN  EFI_GUID  *Protocol,
     1520  OUT UINTN     *NoProtocols,
     1521  OUT VOID      ***Buffer
     1522  );
    14591523#endif
Note: See TracChangeset for help on using the changeset viewer.

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