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/ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.c

    r105670 r108794  
    376376  Status = mInterruptProtocol->RegisterInterruptSource (
    377377                                 mInterruptProtocol,
    378                                  FixedPcdGet32 (PcdGenericWatchdogEl2IntrNum),
     378                                 PcdGet32 (PcdGenericWatchdogEl2IntrNum),
    379379                                 WatchdogInterruptHandler
    380380                                 );
     
    385385  Status = mInterruptProtocol->SetTriggerType (
    386386                                 mInterruptProtocol,
    387                                  FixedPcdGet32 (PcdGenericWatchdogEl2IntrNum),
     387                                 PcdGet32 (PcdGenericWatchdogEl2IntrNum),
    388388                                 EFI_HARDWARE_INTERRUPT2_TRIGGER_EDGE_RISING
    389389                                 );
     
    391391    goto UnregisterHandler;
    392392  }
     393
     394  WatchdogDisable ();
    393395
    394396  // Install the Timer Architectural Protocol onto a new handle
     
    414416  ASSERT_EFI_ERROR (Status);
    415417
    416   WatchdogDisable ();
    417 
    418418  return EFI_SUCCESS;
    419419
     
    422422  mInterruptProtocol->RegisterInterruptSource (
    423423                        mInterruptProtocol,
    424                         FixedPcdGet32 (PcdGenericWatchdogEl2IntrNum),
     424                        PcdGet32 (PcdGenericWatchdogEl2IntrNum),
    425425                        NULL
    426426                        );
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