Commit Graph

466 Commits

Author SHA1 Message Date
1a0bc7f65f Update and correct CR4 bit definitions 2025-08-19 21:45:13 +02:00
c409400cbf Correct VA masking in AMD64 page mapping functions 2025-08-18 01:07:28 +02:00
f77f2bbf92 Introduce architecture-specific page map routines 2025-08-17 00:23:19 +02:00
0ed59f223c Relocate page mapping helpers and add PML5 support 2025-08-16 21:07:54 +02:00
8491e5fed1 Remove PageMapLevel from the loader information block 2025-08-16 20:18:34 +02:00
1dcd3fceed Define page map information structure for both supported architectures 2025-08-16 20:08:12 +02:00
22f81a106b Update forward declarations for PML2/PML3 types 2025-08-16 00:33:18 +02:00
7e08dc286e Separate types for legacy (PML2) and PAE (PML3) paging 2025-08-16 00:29: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
560bd8b65e Update CPUID requests 2025-08-10 16:53:45 +02:00
a431816243 Update CPUID requests 2025-08-10 16:52:59 +02:00
574582f977 Add forward declarations for CPUID feature enums 2025-08-10 16:36:32 +02:00
23f022965a Add forward declarations for CPUID feature enums 2025-08-10 16:35:40 +02:00
aef81760d0 Rename enumeration lists 2025-08-10 16:33:36 +02:00
bb5deb10d5 Rename enumeration lists 2025-08-10 16:32:49 +02:00
69d4e0cd84 Add enums for CPU feature flags used in CPUID detection 2025-08-10 16:27:14 +02:00
a9a264252a Add enums for CPU feature flags used in CPUID detection 2025-08-10 16:25:26 +02:00
a2b9af56dd Add boot utils to loader protocol 2025-08-10 00:07:40 +02:00
58c2092049 Revert latest changes 2025-08-09 14:53:31 +02:00
39d8f82caf Define MM_HARDWARE_POOL_PAGE_COUNT 2025-08-08 21:44:33 +02:00
9badf36ce0 Add ring indicator field to CPPORT structure 2025-08-05 23:25:30 +02:00
9eae01cc98 Disable built-in compiler functions 2025-07-29 18:20:20 +02:00
2ca708fe43 Define stack alignment required by the architecture's ABI 2025-07-28 17:53:50 +02:00
e0125dda54 Use virtual FAT disk images 2025-01-24 09:19:59 +01:00
7b8f4f15cc Add APIC Logical Destination Register (LDR) shifts and correct APIC delivery mode values 2024-07-23 20:14:06 +02:00
088940424d Fix data types and rename some fields to avoid confusion 2024-07-16 16:28:12 +02:00
ceb36ae8ec Add PAGES_TO_SIZE macro definition 2024-07-13 15:39:08 +02:00
94076b7471 Separate image base address per architecture 2024-07-10 22:42:48 +02:00
ebc2607446 Update compiler optimization flags 2024-07-10 17:57:29 +02:00
3804786e89 All ACPI related structures should be packed 2024-07-07 22:13:34 +02:00
6bcf3e134f Unify naming convention and switch to ULONG in memory map related routines 2024-07-06 22:59:10 +02:00
156cb7bcac Refactor system resources to be able to distinguish if requested resource does not exist or if it is locked and cannot be reused 2024-06-22 18:54:34 +02:00
906e09fd9f Refactor COM port support, to get rid of global variables in library 2024-06-12 18:02:29 +02:00
91e8a86ee2 Implement kernel undefined behavior sanitizer support 2024-06-12 16:19:24 +02:00
c7e96184e6 Correct typo 2024-06-12 16:11:38 +02:00
bd7d4f5a0d Fix function type mismatch undefined behavior when calling through a pointer 2024-06-09 22:26:01 +02:00
3097ff6250 Get rid of NULL pointer dereference 2024-06-09 12:45:01 +02:00
2f16f4f613 Traverse Local x2APIC structures to find all processors 2024-06-07 23:05:12 +02:00
f36b59c961 Store processor identities in system info structure 2024-06-07 20:19:56 +02:00
86bc2042e5 Cleanup XTDK headers 2024-06-06 23:09:03 +02:00
92e861ebae Cleanup APIC related headers 2024-06-06 21:50:20 +02:00
4212453cf5 Fix APIC initialization code 2024-06-06 16:49:08 +02:00
ef65bceccd Initialize legacy PIC and mask all interrupts 2024-06-05 16:08:54 +02:00
7b29897efb Initialize ACPI Timer 2024-06-04 21:04:09 +02:00
7704e5d399 Initial kernel ACPI support 2024-06-04 16:24:13 +02:00
de709162e3 ACPI_RSDT structure does not need to be packed 2024-06-03 22:27:36 +02:00
5d2d409d0f Add more XTSTATUS status codes 2024-06-03 22:14:58 +02:00
9124574bc5 Fixes and improvements to ACPI related structures and definitions 2024-06-03 21:17:31 +02:00
c289dab514 Add ACPI resource type 2024-06-02 21:36:59 +02:00