VirtualBox

Ignore:
Timestamp:
Aug 14, 2024 1:16:30 PM (6 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164367
Message:

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

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

Legend:

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

  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c

    r99404 r105670  
    389389
    390390    //
     391    // Save main counter value before calling notification function
     392    // that may enable interrupts and allow interrupt nesting.
     393    //
     394    mPreviousMainCounter = MainCounter;
     395
     396    //
    391397    // Call registered notification function passing in the time since the last
    392398    // interrupt in 100 ns units.
    393399    //
    394400    mTimerNotifyFunction (TimerPeriod);
     401    return;
    395402  }
    396403
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/Library/AcpiTimerLib/DxeStandaloneMmAcpiTimerLib.c

    r99404 r105670  
    22  ACPI Timer implements one instance of Timer Library.
    33
    4   Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
     4  Copyright (c) 2013 - 2023, Intel Corporation. All rights reserved.<BR>
    55  SPDX-License-Identifier: BSD-2-Clause-Patent
    66
     
    1111#include <Library/BaseLib.h>
    1212#include <Library/HobLib.h>
     13
     14//
     15// Cached performance counter frequency
     16//
     17static UINT64  mAcpiTimerLibTscFrequency = 0;
    1318
    1419extern GUID  mFrequencyHobGuid;
     
    4954  );
    5055
    51 //
    52 // Cached performance counter frequency
    53 //
    54 UINT64  mPerformanceCounterFrequency = 0;
    55 
    5656/**
    5757  Internal function to retrieves the 64-bit frequency in Hz.
     
    6767  )
    6868{
    69   return mPerformanceCounterFrequency;
     69  return mAcpiTimerLibTscFrequency;
    7070}
    7171
     
    9393  GuidHob = GetFirstGuidHob (&mFrequencyHobGuid);
    9494  if (GuidHob != NULL) {
    95     mPerformanceCounterFrequency = *(UINT64 *)GET_GUID_HOB_DATA (GuidHob);
     95    mAcpiTimerLibTscFrequency = *(UINT64 *)GET_GUID_HOB_DATA (GuidHob);
    9696  } else {
    97     mPerformanceCounterFrequency = InternalCalculateTscFrequency ();
     97    mAcpiTimerLibTscFrequency = InternalCalculateTscFrequency ();
    9898  }
    9999
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c

    r101291 r105670  
    123123  @param[in]    Context Event Context
    124124**/
     125STATIC
    125126VOID
    126127EFIAPI
    127 LibRtcVirtualNotifyEvent (
     128VirtualNotifyEvent (
    128129  IN EFI_EVENT  Event,
    129130  IN VOID       *Context
     
    221222                    EVT_NOTIFY_SIGNAL,
    222223                    TPL_NOTIFY,
    223                     LibRtcVirtualNotifyEvent,
     224                    VirtualNotifyEvent,
    224225                    NULL,
    225226                    &gEfiEventVirtualAddressChangeGuid,
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