VirtualBox

Ignore:
Timestamp:
Mar 12, 2019 12:40:12 PM (6 years ago)
Author:
vboxsync
Message:

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

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

Legend:

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

  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c

    r58466 r77662  
    22  Null Dxe Capsule Library instance does nothing and returns unsupport status.
    33
    4 Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>
     4Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
    55This program and the accompanying materials
    66are licensed and made available under the terms and conditions of the BSD License
     
    1818  The firmware checks whether the capsule image is supported
    1919  by the CapsuleGuid in CapsuleHeader or other specific information in capsule image.
     20
     21  Caution: This function may receive untrusted input.
    2022
    2123  @param  CapsuleHeader    Point to the UEFI capsule image to be checked.
     
    3638  if it recognized the format of this capsule image.
    3739
     40  Caution: This function may receive untrusted input.
     41
    3842  @param  CapsuleHeader    Point to the UEFI capsule image to be processed.
    3943
     
    4953}
    5054
     55/**
    5156
     57  This routine is called to process capsules.
     58
     59  Caution: This function may receive untrusted input.
     60
     61  The capsules reported in EFI_HOB_UEFI_CAPSULE are processed.
     62  If there is no EFI_HOB_UEFI_CAPSULE, this routine does nothing.
     63
     64  This routine should be called twice in BDS.
     65  1) The first call must be before EndOfDxe. The system capsules is processed.
     66     If device capsule FMP protocols are exposted at this time and device FMP
     67     capsule has zero EmbeddedDriverCount, the device capsules are processed.
     68     Each individual capsule result is recorded in capsule record variable.
     69     System may reset in this function, if reset is required by capsule and
     70     all capsules are processed.
     71     If not all capsules are processed, reset will be defered to second call.
     72
     73  2) The second call must be after EndOfDxe and after ConnectAll, so that all
     74     device capsule FMP protocols are exposed.
     75     The system capsules are skipped. If the device capsules are NOT processed
     76     in first call, they are processed here.
     77     Each individual capsule result is recorded in capsule record variable.
     78     System may reset in this function, if reset is required by capsule
     79     processed in first call and second call.
     80
     81  @retval EFI_SUCCESS             There is no error when processing capsules.
     82  @retval EFI_OUT_OF_RESOURCES    No enough resource to process capsules.
     83
     84**/
     85EFI_STATUS
     86EFIAPI
     87ProcessCapsules (
     88  VOID
     89  )
     90{
     91  return EFI_UNSUPPORTED;
     92}
     93
  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.uni

    r58464 r77662  
    1 // /** @file
     1// /** @file
    22// NULL Dxe Capsule library instance.
    33//
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