VirtualBox

Ignore:
Timestamp:
Apr 5, 2022 11:58:22 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150797
Message:

Devices/EFI: Fix possible triple fault with SMP configurations during reset [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/PlatformPei/Platform.c

    r94465 r94466  
    815815  }
    816816#else
    817   GetVmVariable(EFI_INFO_INDEX_CPU_COUNT_CURRENT, &BootCpuCount, sizeof(BootCpuCount));
    818   GetVmVariable(EFI_INFO_INDEX_CPU_COUNT_MAX, &mMaxCpuCount, sizeof(mMaxCpuCount));
     817  GetVmVariable(EFI_INFO_INDEX_CPU_COUNT_CURRENT, (CHAR8 *)&BootCpuCount, sizeof(BootCpuCount));
     818  GetVmVariable(EFI_INFO_INDEX_CPU_COUNT_MAX, (CHAR8 *)&mMaxCpuCount, sizeof(mMaxCpuCount));
    819819#endif
    820820
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