VirtualBox

Ignore:
Timestamp:
Aug 14, 2024 1:16:30 PM (6 months ago)
Author:
vboxsync
Message:

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, 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/UefiCpuPkg/CpuDxeRiscV64/CpuDxe.c

    r101291 r105670  
    9191  )
    9292{
     93  switch (FlushType) {
     94    case EfiCpuFlushTypeWriteBack:
     95      WriteBackDataCacheRange ((VOID *)(UINTN)Start, (UINTN)Length);
     96      break;
     97    case EfiCpuFlushTypeInvalidate:
     98      InvalidateDataCacheRange ((VOID *)(UINTN)Start, (UINTN)Length);
     99      break;
     100    case EfiCpuFlushTypeWriteBackInvalidate:
     101      WriteBackInvalidateDataCacheRange ((VOID *)(UINTN)Start, (UINTN)Length);
     102      break;
     103    default:
     104      return EFI_INVALID_PARAMETER;
     105  }
     106
    93107  return EFI_SUCCESS;
    94108}
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