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/NetworkPkg/SnpDxe/Reset.c

    r99404 r108794  
    33
    44Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
     5SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
    56SPDX-License-Identifier: BSD-2-Clause-Patent
    67
     
    9495
    9596  //
    96   // Resolve Warning 4 unreferenced parameter problem
     97  // There is no support when ExtendedVerification is set to FALSE.
    9798  //
    98   ExtendedVerification = 0;
    99   DEBUG ((DEBUG_WARN, "ExtendedVerification = %d is not implemented!\n", ExtendedVerification));
     99  if (!ExtendedVerification) {
     100    DEBUG ((DEBUG_WARN, "ExtendedVerification = %d is not implemented!\n", ExtendedVerification));
     101    return EFI_INVALID_PARAMETER;
     102  }
    100103
    101104  if (This == NULL) {
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