VirtualBox

Ignore:
Timestamp:
Mar 31, 2025 11:31:09 AM (2 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168237
Message:

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

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/StandaloneMmPkg/Library/StandaloneMmMemLib/ArmStandaloneMmMemLibInternal.c

    r99404 r108794  
    77  and MM driver) and/or specific dedicated hardware.
    88
    9   Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
     9  Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.<BR>
    1010  Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
    1111
     
    1313
    1414**/
    15 #include <Library/BaseLib.h>
    16 #include <Library/BaseMemoryLib.h>
    17 #include <Library/DebugLib.h>
     15#include "StandaloneMmMemLibInternal.h"
    1816//
    1917// Maximum support address used to check input buffer
     
    2624**/
    2725VOID
    28 MmMemLibInternalCalculateMaximumSupportAddress (
     26MmMemLibCalculateMaximumSupportAddress (
    2927  VOID
    3028  )
     
    3634
    3735/**
    38   Initialize cached Mmram Ranges from HOB.
    39 
    40   @retval EFI_UNSUPPORTED   The routine is unable to extract MMRAM information.
    41   @retval EFI_SUCCESS       MmRanges are populated successfully.
    42 
    43 **/
    44 EFI_STATUS
    45 MmMemLibInternalPopulateMmramRanges (
    46   VOID
    47   )
    48 {
    49   // Not implemented for AARCH64.
    50   return EFI_SUCCESS;
    51 }
    52 
    53 /**
    54   Deinitialize cached Mmram Ranges.
     36  Initialize valid non-Mmram Ranges from Resource HOB.
    5537
    5638**/
    5739VOID
    58 MmMemLibInternalFreeMmramRanges (
     40MmMemLibInitializeValidNonMmramRanges (
    5941  VOID
    6042  )
     
    6244  // Not implemented for AARCH64.
    6345}
     46
     47/**
     48  Deinitialize cached non-Mmram Ranges.
     49
     50**/
     51VOID
     52MmMemLibFreeValidNonMmramRanges (
     53  VOID
     54  )
     55{
     56  // Not implemented for AARCH64.
     57}
     58
     59/**
     60  This function check if the buffer is valid non-MMRAM memory range.
     61
     62  @param[in] Buffer  The buffer start address to be checked.
     63  @param[in] Length  The buffer length to be checked.
     64
     65  @retval TRUE  This buffer is valid non-MMRAM memory range.
     66  @retval FALSE This buffer is not valid non-MMRAM memory range.
     67**/
     68BOOLEAN
     69MmMemLibIsValidNonMmramRange (
     70  IN EFI_PHYSICAL_ADDRESS  Buffer,
     71  IN UINT64                Length
     72  )
     73{
     74  return TRUE;
     75}
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