VirtualBox

Ignore:
Timestamp:
Mar 31, 2025 11:31:09 AM (4 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:
1 added
2 edited

Legend:

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

  • trunk/src/VBox/Devices/EFI/FirmwareNew/UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c

    r101291 r108794  
    1616#include <Library/PcdLib.h>
    1717#include <Library/HobLib.h>
     18#include <Library/FdtLib.h>
    1819#include "VirtualMemory.h"
    1920#include "UefiPayloadEntry.h"
     
    2122#define STACK_SIZE       0x20000
    2223#define IDT_ENTRY_COUNT  32
     24
     25extern VOID  *mHobList;
    2326
    2427typedef struct _X64_IDT_TABLE {
     
    175178  // read-only.
    176179  //
    177   EnablePageTableProtection ((UINTN)PageMap, FALSE);
     180  EnablePageTableProtection ((UINTN)PageMap, 3);
    178181
    179182  return (UINTN)PageMap;
     
    269272  X64_IDT_TABLE            *IdtTableForX64;
    270273
     274  // Initialize floating point operating environment to be compliant with UEFI spec.
     275  InitializeFloatingPointUnits ();
     276
     277  //
     278  // Mask off all legacy 8259 interrupt sources
     279  //
     280  IoWrite8 (LEGACY_8259_MASK_REGISTER_MASTER, 0xFF);
     281  IoWrite8 (LEGACY_8259_MASK_REGISTER_SLAVE, 0xFF);
     282
    271283  //
    272284  // Clear page 0 and mark it as allocated if NULL pointer detection is enabled.
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