VirtualBox

Ignore:
Timestamp:
Jul 1, 2021 8:17:41 AM (4 years ago)
Author:
vboxsync
Message:

Devices/EFI: Merge edk-stable202105 and openssl 1.1.1j and make it build, bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
1 deleted
5 edited

Legend:

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

  • trunk/src/VBox/Devices/EFI/FirmwareNew/StandaloneMmPkg/Include/Guid/MmCoreData.h

    r80721 r89983  
    33
    44Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
    5 Copyright (c) 2018, ARM Limited. All rights reserved.<BR>
     5Copyright (c) 2018 - 2021, Arm Limited. All rights reserved.<BR>
    66SPDX-License-Identifier: BSD-2-Clause-Patent
    77
     
    9999
    100100  ///
    101   /// This field is used by the MM Communicatioon Protocol to pass a buffer into
     101  /// This field is used by the MM Communication Protocol to pass a buffer into
    102102  /// a software MMI handler and for the software MMI handler to pass a buffer back to
    103103  /// the caller of the MM Communication Protocol.
     
    106106
    107107  ///
    108   /// This field is used by the MM Communicatioon Protocol to pass the size of a buffer,
     108  /// This field is used by the MM Communication Protocol to pass the size of a buffer,
    109109  /// in bytes, into a software MMI handler and for the software MMI handler to pass the
    110110  /// size, in bytes, of a buffer back to the caller of the MM Communication Protocol.
  • trunk/src/VBox/Devices/EFI/FirmwareNew/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h

    r80721 r89983  
    33  phase on ARM platforms
    44
    5 Copyright (c) 2017 - 2018, ARM Ltd. All rights reserved.<BR>
     5Copyright (c) 2017 - 2021, Arm Ltd. All rights reserved.<BR>
    66SPDX-License-Identifier: BSD-2-Clause-Patent
    77
     
    7171  and make further progress in the boot process.
    7272
    73   @param  ImageContext           Pointer to PE/COFF image context
    74   @param  SectionHeaderOffset    Offset of PE/COFF image section header
    75   @param  NumberOfSections       Number of Sections
    76   @param  TextUpdater            Function to change code permissions
    77   @param  ReadOnlyUpdater        Function to change RO permissions
    78   @param  ReadWriteUpdater       Function to change RW permissions
     73  @param  [in] ImageContext           Pointer to PE/COFF image context
     74  @param  [in] ImageBase              Base of image in memory
     75  @param  [in] SectionHeaderOffset    Offset of PE/COFF image section header
     76  @param  [in] NumberOfSections       Number of Sections
     77  @param  [in] TextUpdater            Function to change code permissions
     78  @param  [in] ReadOnlyUpdater        Function to change RO permissions
     79  @param  [in] ReadWriteUpdater       Function to change RW permissions
    7980
    8081**/
     
    8384UpdateMmFoundationPeCoffPermissions (
    8485  IN  CONST PE_COFF_LOADER_IMAGE_CONTEXT      *ImageContext,
     86  IN  EFI_PHYSICAL_ADDRESS                    ImageBase,
    8587  IN  UINT32                                  SectionHeaderOffset,
    8688  IN  CONST  UINT16                           NumberOfSections,
     
    9799  individual sections later in the boot process.
    98100
    99   @param  TeData                 Pointer to PE/COFF image data
    100   @param  ImageContext           Pointer to PE/COFF image context
    101   @param  SectionHeaderOffset    Offset of PE/COFF image section header
    102   @param  NumberOfSections       Number of Sections
     101  @param  [in]      TeData                Pointer to PE/COFF image data
     102  @param  [in, out] ImageContext          Pointer to PE/COFF image context
     103  @param  [out]     ImageBase             Pointer to ImageBase variable
     104  @param  [in, out] SectionHeaderOffset   Offset of PE/COFF image section header
     105  @param  [in, out] NumberOfSections      Number of Sections
    103106
    104107**/
     
    108111  IN        VOID                            *TeData,
    109112  IN  OUT   PE_COFF_LOADER_IMAGE_CONTEXT    *ImageContext,
     113      OUT   EFI_PHYSICAL_ADDRESS            *ImageBase,
    110114  IN  OUT   UINT32                          *SectionHeaderOffset,
    111115  IN  OUT   UINT16                          *NumberOfSections
     
    118122  module PE/COFF image in the BFV and returns this information.
    119123
    120   @param  BfvAddress             Base Address of Boot Firmware Volume
    121   @param  TeData                 Pointer to address for allocating memory for
    122                                  PE/COFF image data
    123   @param  TeDataSize             Pointer to size of PE/COFF image data
     124  @param  [in]      BfvAddress         Base Address of Boot Firmware Volume
     125  @param  [in, out] TeData             Pointer to address for allocating memory
     126                                       for PE/COFF image data
     127  @param  [in, out] TeDataSize         Pointer to size of PE/COFF image data
    124128
    125129**/
     
    137141  suitable for consumption by the MM Core and drivers.
    138142
    139   @param  CpuDriverEntryPoint    Address of MM CPU driver entrypoint
    140   @param  PayloadBootInfo        Boot information passed by privileged firmware
     143  @param  [in, out] CpuDriverEntryPoint   Address of MM CPU driver entrypoint
     144  @param  [in]      PayloadBootInfo       Boot information passed by privileged
     145                                          firmware
    141146
    142147**/
     
    152157  The entry point of Standalone MM Foundation.
    153158
    154   @param  SharedBufAddress  Pointer to the Buffer between SPM and SP.
    155   @param  cookie1.
    156   @param  cookie2.
     159  @param  [in]  SharedBufAddress  Pointer to the Buffer between SPM and SP.
     160  @param  [in]  SharedBufSize     Size of the shared buffer.
     161  @param  [in]  cookie1           Cookie 1
     162  @param  [in]  cookie2           Cookie 2
     163
    157164**/
    158165VOID
  • trunk/src/VBox/Devices/EFI/FirmwareNew/StandaloneMmPkg/Include/Library/FvLib.h

    r80721 r89983  
    5151**/
    5252EFI_STATUS
     53EFIAPI
    5354FfsFindSection (
    5455  IN EFI_SECTION_TYPE              SectionType,
  • trunk/src/VBox/Devices/EFI/FirmwareNew/StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h

    r80721 r89983  
    77
    88  Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
    9   Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
     9  Copyright (c) 2016 - 2021, Arm Limited. All rights reserved.<BR>
    1010
    1111  SPDX-License-Identifier: BSD-2-Clause-Patent
     
    7070  @param  Length              The number of bytes to copy from SourceBuffer to DestinationBuffer.
    7171
    72   @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per processor architecture or overlap with MMRAM.
     72  @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per processor architecture or overlap with MMRAM.
    7373  @retval EFI_SUCCESS            Memory is copied.
    7474
     
    9595  @param  Length              The number of bytes to copy from SourceBuffer to DestinationBuffer.
    9696
    97   @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per processor architecture or overlap with MMRAM.
     97  @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per processor architecture or overlap with MMRAM.
    9898  @retval EFI_SECURITY_VIOLATION The SourceBuffer is invalid per processor architecture or overlap with MMRAM.
    9999  @retval EFI_SUCCESS            Memory is copied.
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