Commit Graph

26 Commits

Author SHA1 Message Date
88b3a57962 Allow specifying an allocation type when allocating pages 2025-08-20 20:59:31 +02:00
c3ece4f317 Fix type usage in XtpMapHardwareMemoryPool 2025-08-17 00:51:26 +02:00
3ca6d04f6b Add definitions for 5-level paging and refactor constants 2025-08-16 00:22:21 +02:00
2375a653fe Resolve potential PDE conflict in non-PAE boot path 2025-08-11 20:59:00 +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
a539191a33 Implement paging level detection for i686 based on CPUID and boot parameters 2025-08-10 15:42:41 +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
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
4453b95f5c Correct status variable type in XtpMapHardwareMemoryPool 2025-07-30 21:48:38 +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
29ff9e114e Mark XtMapHardwareMemoryPool() routine private 2024-06-02 17:34:30 +02:00
c1ab5fe98d Cleanup hardware allocation memory pool related code for i686 2024-06-02 17:32:39 +02:00
f968eb21fd Cleanup the code 2024-05-27 22:20:53 +02:00
7f8846f23d Map memory for hardware layer on i686 2024-05-27 22:17:30 +02:00
388ac1a8c2 Properly, recursively self map page tables on i686 architecture 2024-04-07 17:11:14 +02:00
1305672875 Properly, recursively self map page tables; currently only for AMD64 and PML4 2024-04-05 00:26:41 +02:00
e6736087ba Corrections in printing debug messages 2024-03-13 15:55:03 +01:00
98acc6f3d4 Use uppercase when printing status codes 2024-02-16 22:09:38 +01:00
af400920d0 Make a use of BlBuildPageMap() 2024-01-22 15:20:22 +01:00
0e4575b278 Use new paging implementation 2024-01-17 22:24:55 +01:00
11979f758b Conform BlExitBootServices() to UEFI Specification 2024-01-10 21:59:51 +01:00
4412d4fc98 Rewrite core of the XTLDR boot loader
Reviewed-on: xt-sys/exectos#7
Reviewed-by: Piotr Likoski <likoski@noreply.codingworkshop.git>
Co-authored-by: Rafal Kupiec <belliash@codingworkshop.eu.org>
Co-committed-by: Rafal Kupiec <belliash@codingworkshop.eu.org>
2024-01-09 18:51:04 +01:00