Commit Graph
368 Commits
Author SHA1 Message Date
harraiken 7791ca13e2 Partially move global variables into classes 2025-09-20 20:16:55 +02:00
harraiken c041457799 Refactor bootloader code into C++ classes 2025-09-20 18:47:36 +02:00
harraiken 08a9a0273f Move trampoline handling code 2025-09-19 19:32:04 +02:00
harraiken 7b357ebc54 Fix build after migration 2025-09-19 13:41:05 +02:00
harraiken e7425de523 Drop C wrappers and switch to C++ API 2025-09-19 12:56:06 +02:00
harraiken 9bbac6d3c1 Migrate XTOS module to C++ 2025-09-18 21:54:11 +02:00
harraiken dcae0cbb91 Migrate XTLDR modules to C++ 2025-09-17 22:30:48 +02:00
harraiken 57fbbf820c Remove stale comments and whitespace 2025-09-17 16:10:36 +02:00
harraiken 86fd2b4eea Migrate XTLDR to C++ 2025-09-17 15:56:41 +02:00
harraiken fabf3a3a5e Replace all occurrences of NULL with NULLPTR for unified C and C++ null pointer handling 2025-09-16 15:59:56 +02:00
harraiken 4592955da1 Migrate HL subsystem to C++ 2025-09-13 19:15:13 +02:00
harraiken d8e0e07805 Correct format specifier for partition size to prevent stack corruption 2025-09-04 12:21:04 +02:00
harraiken 7e039c47ae Simplify BlpDebugPutChar return path 2025-09-04 10:56:17 +02:00
harraiken 602da0960c Unify string API parameter types to PCSTR/PCWSTR 2025-09-03 19:54:46 +02:00
harraiken 9577a39046 Fix initialization block size calculation to account for variable-length kernel parameters 2025-09-03 18:10:42 +02:00
harraiken 9f5daafad9 Unify wide string types across console and debug functions 2025-09-03 10:41:24 +02:00
harraiken 418ff68be4 Add ESP boot support and improve block device enumeration 2025-09-01 14:02:38 +02:00
harraiken 2d1b6363e6 Add CTRL-B shortcut to boot OS directly from edit menu 2025-09-01 12:43:33 +02:00
harraiken 34cebf2810 Allow editing boot options using 'e' key 2025-09-01 11:47:36 +02:00
harraiken 0fa4a175e0 Correct Backspace behavior in input dialog 2025-09-01 11:40:48 +02:00
harraiken 72a832f190 Fix type mismatch in BlGetEditableOptions OptionsCount parameter 2025-08-30 20:35:01 +02:00
harraiken ba65264d1e Remove unnecessary console input buffer reset 2025-08-27 22:21:39 +02:00
harraiken 2ee33ab229 Refactor BlGetConfigValue to return EFI_STATUS and output value via parameter 2025-08-27 19:44:52 +02:00
harraiken 1eea654a36 Expose BlGetBootOptionValue, BlGetEditableOptions and BlSetBootOptionValue 2025-08-27 19:26:01 +02:00
harraiken c6643125e1 Implement boot entry editor 2025-08-27 19:15:38 +02:00
harraiken b68514b176 Limit boot menu entry names to available menu width 2025-08-25 19:03:57 +02:00
harraiken 960e913222 Optimize boot menu drawing to eliminate screen flickering 2025-08-25 17:56:40 +02:00
harraiken e99e563aff Correct .modinfo section parsing 2025-08-25 12:07:49 +02:00
harraiken 1ef2560ef6 Enable LA57 by invoking the trampoline code 2025-08-21 00:14:49 +02:00
harraiken d1b14fccdd Resolve build issues caused by the last commit 2025-08-20 21:08:43 +02:00
harraiken 88b3a57962 Allow specifying an allocation type when allocating pages 2025-08-20 20:59:31 +02:00
harraiken 9f6121e9b2 Map the physical page for trampoline code 2025-08-20 20:37:55 +02:00
harraiken 91a5db2ee4 Implement PML5 support in XtpMapHardwareMemoryPool 2025-08-18 12:13:48 +02:00
harraiken b639bf3077 Implement PML5 self-mapping 2025-08-18 11:59:05 +02:00
harraiken d602038858 Temporarily disable LA57 paging 2025-08-18 00:10:32 +02:00
harraiken c3ece4f317 Fix type usage in XtpMapHardwareMemoryPool 2025-08-17 00:51:26 +02:00
harraiken 8491e5fed1 Remove PageMapLevel from the loader information block 2025-08-16 20:18:34 +02:00
harraiken f85fe31b38 Adapt i686 memory mapping to new PML3 types 2025-08-16 00:36:20 +02:00
harraiken 3ca6d04f6b Add definitions for 5-level paging and refactor constants 2025-08-16 00:22:21 +02:00
harraiken e57985da8d Rename MM_LA57_SHIFT to MM_P5I_SHIFT for consistency 2025-08-15 20:49:25 +02:00
harraiken 2375a653fe Resolve potential PDE conflict in non-PAE boot path 2025-08-11 20:59:00 +02:00
harraiken bf291613a3 Add debug messages to display PML set by bootloader 2025-08-10 18:07:26 +02:00
harraiken 383d5eeb06 Add missing forward declaration to resolve compile issue 2025-08-10 17:43:27 +02:00
harraiken dce2c50b9d Replace hardcoded PML level with dynamic detection using XtpDeterminePagingLevel 2025-08-10 17:39:38 +02:00
harraiken a33a45fc20 Implement paging level detection for AMD64 based on CPUID and boot parameters 2025-08-10 17:27:12 +02:00
harraiken 23e8be1097 Remove PAE support check to allow both PAE and non-PAE configurations 2025-08-10 17:25:04 +02:00
harraiken 800810169d Fix XtpDeterminePagingLevel after renaming CPUID requests 2025-08-10 17:19:44 +02:00
harraiken eeb5e8d455 Fix broken AcGetApicBase 2025-08-10 17:16:48 +02:00
harraiken 3472b448c7 Fix broken AcGetApicBase implementation 2025-08-10 17:05:13 +02:00
harraiken a539191a33 Implement paging level detection for i686 based on CPUID and boot parameters 2025-08-10 15:42:41 +02:00