Commit Graph
466 Commits
Author SHA1 Message Date
harraiken e57985da8d Rename MM_LA57_SHIFT to MM_P5I_SHIFT for consistency 2025-08-15 20:49:25 +02:00
harraiken 560bd8b65e Update CPUID requests 2025-08-10 16:53:45 +02:00
harraiken a431816243 Update CPUID requests 2025-08-10 16:52:59 +02:00
harraiken 574582f977 Add forward declarations for CPUID feature enums 2025-08-10 16:36:32 +02:00
harraiken 23f022965a Add forward declarations for CPUID feature enums 2025-08-10 16:35:40 +02:00
harraiken aef81760d0 Rename enumeration lists 2025-08-10 16:33:36 +02:00
harraiken bb5deb10d5 Rename enumeration lists 2025-08-10 16:32:49 +02:00
harraiken 69d4e0cd84 Add enums for CPU feature flags used in CPUID detection 2025-08-10 16:27:14 +02:00
harraiken a9a264252a Add enums for CPU feature flags used in CPUID detection 2025-08-10 16:25:26 +02:00
harraiken a2b9af56dd Add boot utils to loader protocol 2025-08-10 00:07:40 +02:00
harraiken 58c2092049 Revert latest changes 2025-08-09 14:53:31 +02:00
harraiken 39d8f82caf Define MM_HARDWARE_POOL_PAGE_COUNT 2025-08-08 21:44:33 +02:00
harraiken 9badf36ce0 Add ring indicator field to CPPORT structure 2025-08-05 23:25:30 +02:00
harraiken 2ca708fe43 Define stack alignment required by the architecture's ABI 2025-07-28 17:53:50 +02:00
belliash 7b8f4f15cc Add APIC Logical Destination Register (LDR) shifts and correct APIC delivery mode values 2024-07-23 20:14:06 +02:00
belliash 088940424d Fix data types and rename some fields to avoid confusion 2024-07-16 16:28:12 +02:00
belliash ceb36ae8ec Add PAGES_TO_SIZE macro definition 2024-07-13 15:39:08 +02:00
belliash 3804786e89 All ACPI related structures should be packed 2024-07-07 22:13:34 +02:00
belliash 6bcf3e134f Unify naming convention and switch to ULONG in memory map related routines 2024-07-06 22:59:10 +02:00
belliash 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
belliash 906e09fd9f Refactor COM port support, to get rid of global variables in library 2024-06-12 18:02:29 +02:00
belliash 91e8a86ee2 Implement kernel undefined behavior sanitizer support 2024-06-12 16:19:24 +02:00
belliash c7e96184e6 Correct typo 2024-06-12 16:11:38 +02:00
belliash bd7d4f5a0d Fix function type mismatch undefined behavior when calling through a pointer 2024-06-09 22:26:01 +02:00
belliash 3097ff6250 Get rid of NULL pointer dereference 2024-06-09 12:45:01 +02:00
belliash 2f16f4f613 Traverse Local x2APIC structures to find all processors 2024-06-07 23:05:12 +02:00
belliash f36b59c961 Store processor identities in system info structure 2024-06-07 20:19:56 +02:00
belliash 86bc2042e5 Cleanup XTDK headers 2024-06-06 23:09:03 +02:00
belliash 92e861ebae Cleanup APIC related headers 2024-06-06 21:50:20 +02:00
belliash 4212453cf5 Fix APIC initialization code 2024-06-06 16:49:08 +02:00
belliash ef65bceccd Initialize legacy PIC and mask all interrupts 2024-06-05 16:08:54 +02:00
belliash 7b29897efb Initialize ACPI Timer 2024-06-04 21:04:09 +02:00
belliash 7704e5d399 Initial kernel ACPI support 2024-06-04 16:24:13 +02:00
belliash de709162e3 ACPI_RSDT structure does not need to be packed 2024-06-03 22:27:36 +02:00
belliash 5d2d409d0f Add more XTSTATUS status codes 2024-06-03 22:14:58 +02:00
belliash 9124574bc5 Fixes and improvements to ACPI related structures and definitions 2024-06-03 21:17:31 +02:00
belliash c289dab514 Add ACPI resource type 2024-06-02 21:36:59 +02:00
belliash 6176ca38a8 Cleanup hardware allocation memory pool related code 2024-06-02 17:29:31 +02:00
belliash 6b1ccc4ce5 Do not hardcode PML shift values 2024-05-27 22:26:05 +02:00
belliash 7f8846f23d Map memory for hardware layer on i686 2024-05-27 22:17:30 +02:00
belliash 70d1295919 Do not support non-PAE systems 2024-05-24 23:47:29 +02:00
belliash 03ba3b5583 Add missing forward references for APIC related structures 2024-05-24 23:41:27 +02:00
belliash 94a40501d4 Mask APIC ICR0 and disable APIC interrupts for initialization time by raising APIC TPR 2024-05-24 23:39:06 +02:00
belliash b4588d5b4c Make ExectOS only run on processors which support PAE 2024-05-24 16:30:39 +02:00
belliash 5221db2e63 Rename LOADER_MEMORY_MAPPING structure to more meaningful LOADER_MEMORY_DESCRIPTOR 2024-05-23 19:00:50 +02:00
belliash 143803aad9 PPE needs PAE on i686 2024-05-22 23:09:30 +02:00
belliash 609538b9be Implement MmpGetPdeAddress() and MmpGetPteAddress() routines for i686 architecture as well as MmpMemoryExtensionEnabled() for checking PAE/LA57 support 2024-05-22 22:47:28 +02:00
belliash 4db5425238 Add PHYSICAL_ADDRESS type definition 2024-05-22 18:52:57 +02:00
belliash 03727a61d3 Implement hardware layer pool memory management 2024-05-22 18:51:09 +02:00
belliash 500498508e Rename PACK definition 2024-05-20 15:34:15 +02:00