80 Commits

Author SHA1 Message Date
Alex
7487204417
Rust support 2022-12-01 06:13:31 +02:00
Alex
0289054900
Changed a lot of files. Summary: profiler support; "SafeFunction"; UnlockDeadLock kernel config; Code optimization & more 2022-11-28 08:25:37 +02:00
Alex
1afe255fed
Hope now scheduler won't crash at IPC Service 2022-11-20 16:13:49 +02:00
Alex
f907ca907d
Updated lock 2022-11-20 16:13:19 +02:00
Alex
eb980a95d9
Get SMBIOS from bootloader 2022-11-19 09:54:34 +02:00
Alex
fa921fe626
Update files 2022-11-18 06:46:43 +02:00
Alex
1a6665fd67
Not useful 2022-11-18 05:25:33 +02:00
Alex
35c4c3bbd5
Check if CPU 0 is active too 2022-11-17 19:10:21 +02:00
Alex
2571c4f539
Added ubsan 2022-11-17 03:33:18 +02:00
Alex
c2628019b7
Syscalls working as expected 2022-11-15 15:09:52 +02:00
Alex
5dd496a73f
TODO 2022-11-15 01:50:11 +02:00
Alex
3542dfca8b
Code fixes and stability 2022-11-15 01:50:07 +02:00
Alex
08ab104eb1
Runtime stuff 2022-11-11 04:41:12 +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
3e5c2bcacd
If empty, set default 2022-11-07 11:27:35 +02:00
Alex
2bd8e8d948
cld 2022-11-07 06:14:28 +02:00
Alex
3c4d67fa48
Do not trace icr registers 2022-11-07 06:13:23 +02:00
Alex
5624b82b0f
Rewrite tss 2022-11-07 01:41:47 +02:00
Alex
971f4b2b27
SetKernelStack should have no_stack_protector attribute 2022-11-06 05:04:57 +02:00
Alex
b82560e5d4
Removed limine.h and use one inside tools/limine 2022-11-06 05:02:15 +02:00
Alex
416e290c51
Updated GDT & IDT 2022-11-06 04:55:12 +02:00
Alex
776f6d71b0
implemented fxsr 2022-11-06 04:55:01 +02:00
Alex
9635cefa17
Fixed compiler warnings 2022-11-06 01:58:24 +02:00
Alex
14ccd20d9b
Updated GDT code 2022-11-05 07:36:57 +02:00
Alex
8e579133cc
Updated GDT code 2022-11-05 06:31:45 +02:00
Alex
3e33106a25
Set the timer to OneShot mode 2022-11-01 01:55:16 +02:00
Alex
3f0d496eb6
Comparison of narrow type with wide type in loop condition 2022-10-28 09:02:11 +03: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
33f95cb427
Update files 2022-10-27 03:24:08 +03:00
Alex
305168a593
Fixed compiler warnings 2022-10-27 03:23:47 +03:00
Alex
42dc78626a
Changed how lock works (now it's assembly spinlock) 2022-10-27 02:44:09 +03:00
Alex
581638c256
Update files 2022-10-26 21:55:31 +03:00
Alex
23f980f010
Fixed DSDT 2022-10-25 19:14:18 +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
b66e8fb4f8
Split IOAPICRedirectEntry 2022-10-25 02:43:47 +03:00
Alex
7b324f020f
Renamed enum 2022-10-25 02:42:30 +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
62bd906e61
Added IOAPIC redirect structure 2022-10-25 02:31:27 +03:00
Alex
31e26040da
Added InterruptCommandRegisterHigh for future use 2022-10-25 02:25:56 +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
4f94d4cc6d
Updated tasking 2022-10-22 04:56:57 +03:00