45 Commits

Author SHA1 Message Date
Alex
6d95cd5261
Rework for APIC & added support for x2APIC 2023-08-31 01:07:55 +03:00
Alex
83bd843e2b
Move ACPI and DSDT files to Core directory 2023-08-24 04:29:39 +03:00
Alex
ef3b761d4f
Removal of NASM support and migration of .asm files to .s 2023-08-11 04:57:32 +03:00
Alex
89d747e52c
Update timing implementation 2023-04-23 05:30:58 +03:00
Alex
b4dbf2c281
QoL and bug fixes 2023-04-10 03:11:46 +03:00
Alex
76239ec4ad
Add Get() function for every cpuid struct 2023-04-06 18:36:16 +03:00
Alex
5e5819e3be
Fix compilation issues 2023-04-06 18:11:01 +03:00
Alex
25256d81a8
Added license headers to all project files 2023-04-04 02:19:05 +03:00
Alex
93afcd2210
QoL improvements 2023-03-27 20:11:32 +03:00
Alex
6b01a21a71
Change Interrupts::Handler 2023-03-23 20:48:09 +02:00
Alex
5c91f23527
x32 is now compiling 2023-03-04 21:17:19 +02:00
Alex
c817be50ff
Put CPU namespaces in separate files to make cpu.hpp smaller 2023-02-22 01:48:38 +02:00
Alex
4501826025
Kernel now uses SSE instructions properly 2023-01-03 06:36:15 +02:00
Alex
0ac4fa3e14
APIC timer should tick every 1ms 2022-12-24 06:24:26 +02:00
Alex
cddf0426e3
Fixed compiler warnings 2022-12-21 20:05:57 +02:00
Alex
1a6665fd67
Not useful 2022-11-18 05:25:33 +02:00
Alex
2571c4f539
Added ubsan 2022-11-17 03:33:18 +02:00
Alex
3542dfca8b
Code fixes and stability 2022-11-15 01:50:07 +02:00
Alex
77081b4e1e
Stability fixes (i hope); attempt to implement argc, argv, envp, auxv; Syscalls 2022-11-10 07:09:32 +02:00
Alex
3c4d67fa48
Do not trace icr registers 2022-11-07 06:13:23 +02:00
Alex
3e33106a25
Set the timer to OneShot mode 2022-11-01 01:55:16 +02:00
Alex
4fced18138
Do not divide the APIC if we are debugging 2022-10-28 08:38:18 +03:00
Alex
c741c4252f
Divide one-shot by 128 2022-10-28 04:52:00 +03:00
Alex
55f63d26fa
Revert and ignore the compiler warning 2022-10-27 03:37:35 +03:00
Alex
305168a593
Fixed compiler warnings 2022-10-27 03:23:47 +03:00
Alex
581638c256
Update files 2022-10-26 21:55:31 +03:00
Alex
9eaefb6d6c
divide ticks in OneShot 2022-10-25 04:28:45 +03:00
Alex
0beb57eae8
Fix for APIC 2022-10-25 02:51:53 +03:00
Alex
c69496cac1
Update APIC according to Intel manual (2.4.3 Interrupt Command Register) 2022-10-25 02:42:12 +03:00
Alex
6af8c9c4ee
Improved APIC (more human readable) 2022-10-25 02:24:37 +03:00
Alex
7918999799
Fixed timer calibration 2022-10-23 03:47:38 +03:00
Alex
782b3fa78a
Moved IOAPICVersion 2022-10-23 03:17:57 +03:00
Alex
eb65bd1896
Added APIC_BASE structure 2022-10-23 03:10:43 +03:00
Alex
fd154bc547
Added LVTTimer union structure 2022-10-23 02:48:42 +03:00
Alex
21478ca5b8
Added memory barriers 2022-10-23 02:24:07 +03:00
Alex
8308506ace
Update files 2022-10-23 02:18:29 +03:00
Alex
ebd0273a99
More tasking implementation 2022-10-21 05:31:50 +03:00
Alex
5d17c5a411
Better printing on SMP status 2022-10-20 05:07:53 +03:00
Alex
fa92676d9f
Changed SMP code 2022-10-20 05:04:15 +03:00
Alex
3dc83ad90f
Fix SMP 2022-10-20 05:02:09 +03:00
Alex
e0d4e38b99
APIC should be fixed 2022-10-17 19:17:31 +03:00
Alex
4ca5db1fee
APIC interrupts working 2022-10-17 18:11:39 +03:00
Alex
c944f57a3b
APIC implementation (not working as expected) 2022-10-17 04:05:44 +03:00
Alex
d5c496ea14
Compile fix 2022-10-11 02:43:54 +03:00
Alex
ad9817a2db
Added APIC & SMP stub 2022-10-11 02:43:23 +03:00