Commit Graph

332 Commits

Author SHA1 Message Date
8491e5fed1 Remove PageMapLevel from the loader information block 2025-08-16 20:18:34 +02:00
f85fe31b38 Adapt i686 memory mapping to new PML3 types 2025-08-16 00:36:20 +02:00
3ca6d04f6b Add definitions for 5-level paging and refactor constants 2025-08-16 00:22:21 +02:00
e57985da8d Rename MM_LA57_SHIFT to MM_P5I_SHIFT for consistency 2025-08-15 20:49:25 +02:00
2375a653fe Resolve potential PDE conflict in non-PAE boot path 2025-08-11 20:59:00 +02:00
bf291613a3 Add debug messages to display PML set by bootloader 2025-08-10 18:07:26 +02:00
383d5eeb06 Add missing forward declaration to resolve compile issue 2025-08-10 17:43:27 +02:00
dce2c50b9d Replace hardcoded PML level with dynamic detection using XtpDeterminePagingLevel 2025-08-10 17:39:38 +02:00
a33a45fc20 Implement paging level detection for AMD64 based on CPUID and boot parameters 2025-08-10 17:27:12 +02:00
23e8be1097 Remove PAE support check to allow both PAE and non-PAE configurations 2025-08-10 17:25:04 +02:00
800810169d Fix XtpDeterminePagingLevel after renaming CPUID requests 2025-08-10 17:19:44 +02:00
eeb5e8d455 Fix broken AcGetApicBase 2025-08-10 17:16:48 +02:00
3472b448c7 Fix broken AcGetApicBase implementation 2025-08-10 17:05:13 +02:00
a539191a33 Implement paging level detection for i686 based on CPUID and boot parameters 2025-08-10 15:42:41 +02:00
3f2496644f Compile bootutil.c 2025-08-10 00:12:01 +02:00
daf8b87832 Expose GetBooleanParameter via loader protocol 2025-08-10 00:10:36 +02:00
8de661494a Add BlGetBooleanParameter declaration 2025-08-10 00:04:25 +02:00
07f2e73a22 Add helper functions used by the boot protocol during system startup 2025-08-09 23:58:52 +02:00
2472cbbff4 Revert 'Simplify and correct hardware pool mapping' 2025-08-09 17:15:35 +02:00
311d5e1f5c Simplify and correct hardware pool mapping 2025-08-08 21:49:21 +02:00
aff069dd1a Add i686-specific implementation of BlpGetNextPageTable supporting PML2 and PML3 2025-08-04 23:28:12 +02:00
f29f2bca74 Add AMD64-specific implementation of BlpGetNextPageTable matching new signature 2025-08-04 23:25:57 +02:00
544ec63d6e Remove global BlpGetNextPageTable implementation in favor of arch-specific versions 2025-08-04 23:22:23 +02:00
ed75060482 Update BlpGetNextPageTable declaration to support multiple levels of PML 2025-08-04 23:01:03 +02:00
1d376486cd Add myself to the list of authors due to significant contributions 2025-08-04 14:34:40 +02:00
1ffddfd0e2 Add non-PAE paging support to BlMapPage 2025-08-04 14:18:21 +02:00
0d3fb550f2 Initialize page directory for non-PAE paging 2025-08-04 14:05:58 +02:00
ca6c913fa7 Clarify PAE state management logic 2025-08-02 18:30:23 +02:00
ca06f9ebb5 Correctly manage PAE state when enabling paging 2025-08-02 18:26:01 +02:00
e6ebac7cda Correct status variable type in XtpMapHardwareMemoryPool 2025-07-30 21:50:36 +02:00
4453b95f5c Correct status variable type in XtpMapHardwareMemoryPool 2025-07-30 21:48:38 +02:00
61d5e36a4e Partially revert previous commit 2025-07-30 17:23:11 +02:00
410b96b58a Zero-initialize Page Directory entries before use 2025-07-30 17:19:37 +02:00
66e136c7d6 Enable paging 2025-07-30 16:58:25 +02:00
d61b48740f Declare CpuRegisters as a local structure instead of a pointer 2025-07-30 16:53:07 +02:00
3607a6d930 Zero-initialize Page Directory entries before use 2025-07-30 16:49:49 +02:00
c8787c3bd6 Zero-initialize Page Directory entries before use 2025-07-30 16:38:17 +02:00
7fce778ee4 Harden BlpDuplicateDevicePath against malformed device paths 2025-07-29 12:15:27 +02:00
b0aabf96b8 Improve device enumeration logic in BlEnumerateBlockDevices
These changes result in a more robust and reliable device enumeration process, better prepared to handle edge cases and non-standard firmware behavior.
2025-07-29 10:44:50 +02:00
486e987b71 Ensure correct boot volume is used by the chainloader 2025-07-29 08:04:33 +02:00
ecaf923e6d Ensure correct boot volume is used to boot XTOS 2025-07-29 08:01:32 +02:00
953de7fb5f Correct default OS selection in boot menu 2025-07-28 21:39:07 +02:00
55ef9bf686 Correct function declaration for BlpFindParentBlockDevice 2025-07-28 19:45:19 +02:00
6823982227 Correctly return parent device in BlpFindParentBlockDevice 2025-07-28 19:43:13 +02:00
a81bad32fe Implement scrolling in the boot menu 2025-07-20 16:45:15 +02:00
94076b7471 Separate image base address per architecture 2024-07-10 22:42:48 +02:00
6bcf3e134f Unify naming convention and switch to ULONG in memory map related routines 2024-07-06 22:59:10 +02:00
906e09fd9f Refactor COM port support, to get rid of global variables in library 2024-06-12 18:02:29 +02:00
bfe3d4b18a Fix pointer overflow 2024-06-10 16:01:19 +02:00
bd7d4f5a0d Fix function type mismatch undefined behavior when calling through a pointer 2024-06-09 22:26:01 +02:00