Commit Graph

103 Commits

Author SHA1 Message Date
4fced18138 Do not divide the APIC if we are debugging 2022-10-28 08:38:18 +03:00
c741c4252f Divide one-shot by 128 2022-10-28 04:52:00 +03:00
55f63d26fa Revert and ignore the compiler warning 2022-10-27 03:37:35 +03:00
33f95cb427 Update files 2022-10-27 03:24:08 +03:00
305168a593 Fixed compiler warnings 2022-10-27 03:23:47 +03:00
42dc78626a Changed how lock works (now it's assembly spinlock) 2022-10-27 02:44:09 +03:00
581638c256 Update files 2022-10-26 21:55:31 +03:00
23f980f010 Fixed DSDT 2022-10-25 19:14:18 +03:00
9eaefb6d6c divide ticks in OneShot 2022-10-25 04:28:45 +03:00
0beb57eae8 Fix for APIC 2022-10-25 02:51:53 +03:00
b66e8fb4f8 Split IOAPICRedirectEntry 2022-10-25 02:43:47 +03:00
7b324f020f Renamed enum 2022-10-25 02:42:30 +03:00
c69496cac1 Update APIC according to Intel manual (2.4.3 Interrupt Command Register) 2022-10-25 02:42:12 +03:00
62bd906e61 Added IOAPIC redirect structure 2022-10-25 02:31:27 +03:00
31e26040da Added InterruptCommandRegisterHigh for future use 2022-10-25 02:25:56 +03:00
6af8c9c4ee Improved APIC (more human readable) 2022-10-25 02:24:37 +03:00
7918999799 Fixed timer calibration 2022-10-23 03:47:38 +03:00
782b3fa78a Moved IOAPICVersion 2022-10-23 03:17:57 +03:00
eb65bd1896 Added APIC_BASE structure 2022-10-23 03:10:43 +03:00
fd154bc547 Added LVTTimer union structure 2022-10-23 02:48:42 +03:00
21478ca5b8 Added memory barriers 2022-10-23 02:24:07 +03:00
8308506ace Update files 2022-10-23 02:18:29 +03:00
4f94d4cc6d Updated tasking 2022-10-22 04:56:57 +03:00
ebd0273a99 More tasking implementation 2022-10-21 05:31:50 +03:00
5d17c5a411 Better printing on SMP status 2022-10-20 05:07:53 +03:00
fa92676d9f Changed SMP code 2022-10-20 05:04:15 +03:00
7f47b2a3a4 Update files 2022-10-20 05:03:31 +03:00
cae9572cc1 More work on system calls 2022-10-20 05:02:49 +03:00
3dc83ad90f Fix SMP 2022-10-20 05:02:09 +03:00
ea61229b18 Added better kernel arguments reading 2022-10-20 01:07:39 +03:00
7750dd777e Replaced string to convert 2022-10-20 01:06:20 +03:00
961d7d7270 Change printing colors 2022-10-17 20:47:16 +03:00
e0d4e38b99 APIC should be fixed 2022-10-17 19:17:31 +03:00
4ca5db1fee APIC interrupts working 2022-10-17 18:11:39 +03:00
7f70cafcf6 Comparison of narrow type with wide type in loop condition 2022-10-17 04:22:27 +03:00
c944f57a3b APIC implementation (not working as expected) 2022-10-17 04:05:44 +03:00
d35b4de246 added no_stack_protector attribute to functions 2022-10-16 21:25:11 +03:00
b8c5c15a47 implemented interrupts handler & stub crash screen 2022-10-16 20:53:57 +03:00
f7ea052a51 Moved Initialization code 2022-10-15 15:31:09 +03:00
004fa99590 Fixed SMP core detection 2022-10-15 15:09:26 +03:00
6256ab5a4f Workaround for VirtualBox 2022-10-15 14:46:45 +03:00
b96b09a8b5 kernel boots with multiboot2 2022-10-13 06:43:12 +03:00
d5d5478d4d Update HPETHeader 2022-10-13 06:31:59 +03:00
7b5758d950 Fixed "unknown pseudo-op: `.loop'" 2022-10-12 04:39:54 +03:00
aae1f22458 Fixing SMP stub for x32 and arm64 2022-10-12 04:34:56 +03:00
a2da69d777 Added syscalls stub 2022-10-12 04:34:37 +03:00
127476ac64 Added SMP support 2022-10-12 03:55:58 +03:00
11fba7bd68 Fixed .asm file not being able to be linked 2022-10-12 00:06:07 +03:00
f70e4b747b Compile fix 2022-10-11 02:54:27 +03:00
c95ccdb089 TODO: Trampoline can't be compiled. 2022-10-11 02:48:12 +03:00