Changeset 108794 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/UefiPayloadPkg/UefiPayloadEntry/Ia32
- Timestamp:
- Mar 31, 2025 11:31:09 AM (4 weeks ago)
- svn:sync-xref-src-repo-rev:
- 168237
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-164365 /vendor/edk2/current 103735-103757,103769-103776,129194-168232
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c
r101291 r108794 16 16 #include <Library/PcdLib.h> 17 17 #include <Library/HobLib.h> 18 #include <Library/FdtLib.h> 18 19 #include "VirtualMemory.h" 19 20 #include "UefiPayloadEntry.h" … … 21 22 #define STACK_SIZE 0x20000 22 23 #define IDT_ENTRY_COUNT 32 24 25 extern VOID *mHobList; 23 26 24 27 typedef struct _X64_IDT_TABLE { … … 175 178 // read-only. 176 179 // 177 EnablePageTableProtection ((UINTN)PageMap, FALSE);180 EnablePageTableProtection ((UINTN)PageMap, 3); 178 181 179 182 return (UINTN)PageMap; … … 269 272 X64_IDT_TABLE *IdtTableForX64; 270 273 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 271 283 // 272 284 // Clear page 0 and mark it as allocated if NULL pointer detection is enabled.
Note:
See TracChangeset
for help on using the changeset viewer.