VirtualBox

Changeset 99499 in vbox for trunk/src/VBox/Devices/EFI


Ignore:
Timestamp:
Apr 21, 2023 8:29:45 AM (20 months ago)
Author:
vboxsync
Message:

Devices/EFI/Firmware: Refined workaround needed for old OS X boot loaders.

File:
1 edited

Legend:

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

    r99404 r99499  
    409409   * This worked with 6.0 and earlier firmware because the variable store was much smaller (only 128KB)
    410410   * which happened to work by accident.
     411   *
     412   * Update: We now allocate two pages, one code and one data. If only one page is allocated, it may
     413   * be merged with the next allocation and defeat the workaround.
    411414   */
    412415  PeiServicesAllocatePages (EfiRuntimeServicesCode, 1, &Memory);
     416  PeiServicesAllocatePages (EfiRuntimeServicesData, 1, &Memory);
    413417#endif
    414418
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