Commit Graph

730 Commits

Author SHA1 Message Date
59aa62916a Include architecture specific HAL headers 2023-11-29 20:15:12 +01:00
3800138f52 Move (A)PIC related forward references to arch-specific headers 2023-11-29 20:13:03 +01:00
Jozef Nagy
c8a54e602b Disable legacy 8259 PIC before enabling APIC
Reviewed-on: xt-sys/exectos#5
Reviewed-by: Rafal Kupiec <belliash@noreply.codingworkshop.git>
Co-authored-by: Jozef Nagy <schkwve@gmail.com>
Co-committed-by: Jozef Nagy <schkwve@gmail.com>
2023-11-29 20:07:16 +01:00
669b84a826 Add architecture related information to kernel startup string 2023-11-29 18:32:03 +01:00
9aafa63617 Move CPU and PIC support into common for i686 and amd64 place 2023-11-29 18:26:46 +01:00
a90a30ff7a Move XTOS GUIDs into separate header 2023-11-29 17:59:53 +01:00
7a60f46f24 Add preprocessor macro for including common headers and source files across different architectures 2023-11-29 16:12:55 +01:00
db1f693d9c Corrections to UEFI_FIRMWARE_INFORMATION and KERNEL_INITIALIZATION_BLOCK 2023-11-29 15:57:09 +01:00
0d1fcde3a5 Add missing StallScaleFactor to KPROCESSOR_BLOCK 2023-11-28 23:08:35 +01:00
f6c621c2a6 Basic processor initialization code 2023-11-28 22:31:39 +01:00
d4ee87fd62 Fix function prototype 2023-11-28 15:39:32 +01:00
d17b06a180 Register interrupt handlers once the APIC initialization is done 2023-11-28 14:20:23 +01:00
c4ccf52782 Correct code formatting 2023-11-28 14:05:08 +01:00
e5adc31af7 Implement basic APIC support, including X2APIC 2023-11-27 22:38:15 +01:00
4ca4e298f0 Add more PIC/APIC related definitions 2023-11-26 23:35:14 +01:00
e886baa0d8 Fix reading from and writting to APIC registers 2023-11-26 16:57:40 +01:00
5b48525b1d Increase commit hash to 10 characters to match Gitea 2023-11-26 16:26:22 +01:00
0e6844e2fa Fix page fault on accessing initial thread frame 2023-11-26 14:14:54 +01:00
96a19d23b3 Fix i686 build by setting APIC transformation tables static 2023-11-26 00:38:20 +01:00
ba6e68e1b5 Fix a bug that caused overwritting a value read from CR8 with a default value 2023-11-26 00:33:46 +01:00
bed49fa0ac Fix function prototypes using fastcall and stdcall calling convensions 2023-11-25 23:25:44 +01:00
e245754d95 Add running level management support 2023-11-25 23:14:15 +01:00
4701351bd7 Add missing SYNC_LEVEL definition 2023-11-25 22:14:45 +01:00
5204d8bc2f Correct (A)PIC related source file description 2023-11-25 19:23:18 +01:00
14a966043e Add missing Interrupt request level definitions 2023-11-25 18:50:59 +01:00
0e6bf984a5 Add APIC vector definitions 2023-11-25 18:33:01 +01:00
55cc62f5a0 Rename KIRQL to KRUNLEVEL type 2023-11-25 00:32:55 +01:00
236927fba0 Move APIC related routines 2023-11-24 22:45:29 +01:00
3c4ebe12e1 POSIX compliant stream redirection
Reviewed-on: xt-sys/exectos#1
Reviewed-by: Rafal Kupiec <belliash@noreply.codingworkshop.git>
Co-authored-by: Pedro Valadés <perikiyoxd@gmail.com>
Co-committed-by: Pedro Valadés <perikiyoxd@gmail.com>
2023-11-23 23:26:26 +01:00
c526e63b7a Add EFI Framework MP services protocol related structures 2023-11-23 15:38:32 +01:00
1cb21a81dd Rename HlInitializeDisplay() to HlInitializeFrameBuffer() 2023-11-22 20:36:05 +01:00
f28c870192 Implement KeHaltSystem() routine 2023-11-22 19:24:14 +01:00
d7e6d319cf Update XTOS ideas 2023-11-22 19:22:51 +01:00
d8403d01f5 Verify kernel and boot loader compatibility 2023-11-22 17:22:57 +01:00
c66ea77a8b Enable ASM, C and CXX compilers 2023-11-20 23:52:49 +01:00
c4143c63f9 Enable LLVM MASM Assembly 2023-11-20 23:30:44 +01:00
d2fb0a6830 Update ideas file 2023-11-20 16:44:21 +01:00
1eecad21db Implement HlReadApicRegister() and HlWriteApicRegister() routines for basic APIC support 2023-11-20 15:26:03 +01:00
a3c28cee73 Initial XTLDR APIC support, finds and maps base APIC address for kernel 2023-11-20 15:18:22 +01:00
3d0a48df26 Give qemu direct access to the terminal 2023-11-19 20:41:21 +01:00
575b842d05 Add APIC Registers address map (APIC_REGISTER enumeration list) 2023-11-19 00:57:27 +01:00
0c3268acd1 Export registers read/write related routines 2023-11-19 00:46:51 +01:00
42b7c3698c Add missing I/O register routines forward references 2023-11-19 00:41:21 +01:00
12f946c92d Fixes to I/O registers related routines 2023-11-19 00:39:52 +01:00
71d0608643 Implement ArGetStackPointer() routine 2023-11-19 00:09:16 +01:00
83c692bfcb Fix publishing artifacts 2023-11-18 13:55:26 +01:00
b2f0584cb9 Archive libraries and symbols 2023-11-18 13:49:52 +01:00
cb2ce9be83 Set libraries target directory 2023-11-18 13:34:52 +01:00
64ffe0d7d7 Add EFI task priority levels 2023-11-17 00:11:30 +01:00
71e7adadbd Correct typo 2023-11-17 00:10:54 +01:00