Commit Graph

83 Commits

Author SHA1 Message Date
ac88a1edb7 Zero tss stack tables 2023-03-06 03:21:06 +02:00
5c91f23527 x32 is now compiling 2023-03-04 21:17:19 +02:00
207eb77160 Debug messages 2023-03-03 16:14:13 +02:00
75883030ad Renamed "interrupts.hpp" to "ints.hpp" 2023-02-28 12:58:09 +02:00
65dfa325e9 Optimize 2023-02-27 22:20:02 +02:00
62e9d7b9c9 fixme 2023-02-24 10:15:05 +02:00
c817be50ff Put CPU namespaces in separate files to make cpu.hpp smaller 2023-02-22 01:48:38 +02:00
73e5f13d35 Signal all cores to stop on exception 2023-02-19 00:51:44 +02:00
0f1f66668b Optimize smp GetCurrentCPU() 2023-02-15 07:13:25 +02:00
2c714bbcbc Optimize GetCurrentCPU 2023-02-14 16:07:02 +02:00
4501826025 Kernel now uses SSE instructions properly 2023-01-03 06:36:15 +02:00
e53bc14240 Fixed tasking SSE 2022-12-29 02:05:07 +02:00
0ac4fa3e14 APIC timer should tick every 1ms 2022-12-24 06:24:26 +02:00
873b2e0051 VirtualBox now works with SMP enabled 2022-12-21 21:46:25 +02:00
cddf0426e3 Fixed compiler warnings 2022-12-21 20:05:57 +02:00
48e8f0c513 Updated TaskStateSegment structure 2022-12-21 05:13:59 +02:00
0a2e8f7154 Updated bitmap command 2022-12-20 00:47:46 +02:00
eab80c215c Fixed wrong stack pointer & new tss command for crash screen 2022-12-07 04:15:20 +02:00
f86777a856 KPT global variable 2022-12-06 09:30:09 +02:00
0289054900 Changed a lot of files. Summary: profiler support; "SafeFunction"; UnlockDeadLock kernel config; Code optimization & more 2022-11-28 08:25:37 +02:00
fa921fe626 Update files 2022-11-18 06:46:43 +02:00
1a6665fd67 Not useful 2022-11-18 05:25:33 +02:00
35c4c3bbd5 Check if CPU 0 is active too 2022-11-17 19:10:21 +02:00
2571c4f539 Added ubsan 2022-11-17 03:33:18 +02:00
c2628019b7 Syscalls working as expected 2022-11-15 15:09:52 +02:00
3542dfca8b Code fixes and stability 2022-11-15 01:50:07 +02:00
08ab104eb1 Runtime stuff 2022-11-11 04:41:12 +02:00
77081b4e1e Stability fixes (i hope); attempt to implement argc, argv, envp, auxv; Syscalls 2022-11-10 07:09:32 +02:00
3e5c2bcacd If empty, set default 2022-11-07 11:27:35 +02:00
3c4d67fa48 Do not trace icr registers 2022-11-07 06:13:23 +02:00
5624b82b0f Rewrite tss 2022-11-07 01:41:47 +02:00
971f4b2b27 SetKernelStack should have no_stack_protector attribute 2022-11-06 05:04:57 +02:00
416e290c51 Updated GDT & IDT 2022-11-06 04:55:12 +02:00
776f6d71b0 implemented fxsr 2022-11-06 04:55:01 +02:00
9635cefa17 Fixed compiler warnings 2022-11-06 01:58:24 +02:00
14ccd20d9b Updated GDT code 2022-11-05 07:36:57 +02:00
8e579133cc Updated GDT code 2022-11-05 06:31:45 +02:00
3e33106a25 Set the timer to OneShot mode 2022-11-01 01:55:16 +02:00
3f0d496eb6 Comparison of narrow type with wide type in loop condition 2022-10-28 09:02:11 +03:00
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
581638c256 Update files 2022-10-26 21:55:31 +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