Commit Graph

36 Commits

Author SHA1 Message Date
dc6fd148fc Reserve more pages for SMP trampoline 2023-04-23 06:28:12 +03:00
70e11f17e7 Implement std::atomic and remove the old implementation Atomic and rename vector.hpp to vector 2023-04-10 05:29:41 +03:00
b4dbf2c281 QoL and bug fixes 2023-04-10 03:11:46 +03:00
540152a339 Add support for 2MB and 1GB map 2023-04-07 01:39:11 +03:00
25256d81a8 Added license headers to all project files 2023-04-04 02:19:05 +03:00
93afcd2210 QoL improvements 2023-03-27 20:11:32 +03:00
9ce301907a QoL improvements 2023-03-24 16:22:42 +02:00
115557a551 For Virtual() use KernelPageTable as page table 2023-03-20 00:11:10 +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
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
873b2e0051 VirtualBox now works with SMP enabled 2022-12-21 21:46:25 +02:00
35c4c3bbd5 Check if CPU 0 is active too 2022-11-17 19:10:21 +02:00
77081b4e1e Stability fixes (i hope); attempt to implement argc, argv, envp, auxv; Syscalls 2022-11-10 07:09:32 +02:00
3f0d496eb6 Comparison of narrow type with wide type in loop condition 2022-10-28 09:02:11 +03:00
33f95cb427 Update files 2022-10-27 03:24:08 +03:00
6af8c9c4ee Improved APIC (more human readable) 2022-10-25 02:24:37 +03:00
8308506ace Update files 2022-10-23 02:18:29 +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
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
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
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
aae1f22458 Fixing SMP stub for x32 and arm64 2022-10-12 04:34:56 +03:00
127476ac64 Added SMP support 2022-10-12 03:55:58 +03:00
ad9817a2db Added APIC & SMP stub 2022-10-11 02:43:23 +03:00