68 Commits

Author SHA1 Message Date
Alex
a23d999183
IPC stub 2023-02-07 03:22:44 +02:00
Alex
a592b85ce5
Updated kernel (tl;dr: improved filesystem, tasking, loading files, etc..) 2023-02-06 19:35:44 +02:00
Alex
1297aecc8a
Added "DoNotCreatePageTable" boolean to CreateProcess 2023-01-09 17:19:06 +02:00
Alex
7fd6532345
Renamed print functions 2023-01-07 20:13:46 +02:00
Alex
a4efcb9292
Fixed tasking when a thread is sleeping 2023-01-05 08:01:21 +02:00
Alex
4501826025
Kernel now uses SSE instructions properly 2023-01-03 06:36:15 +02:00
Alex
3f166b97c7
Improved shutting down procedure 2022-12-29 05:25:43 +02:00
Alex
e8d8f45c8a
Scheduler optimizations 2022-12-29 04:46:12 +02:00
Alex
e53bc14240
Fixed tasking SSE 2022-12-29 02:05:07 +02:00
Alex
f07c10a2ee
Improved checks for WakeUpThreads 2022-12-24 07:57:35 +02:00
Alex
0942fb4cd3
Implemented sleep for threads🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 2022-12-24 06:22:50 +02:00
Alex
a9dacd1d21
Renamed "Tracker" to "MemMgr" because it could be used for shared memory and more useful features 2022-12-24 01:51:55 +02:00
Alex
cddf0426e3
Fixed compiler warnings 2022-12-21 20:05:57 +02:00
Alex
985d614be2
Compiles on x86 but everything is broken 2022-12-21 02:11:49 +02:00
Alex
a677f3c159
Updated types 2022-12-21 00:43:51 +02:00
Alex
59fe56302f
Thread arguments are now available from it's stack 2022-12-15 03:08:16 +02:00
Alex
3828186c56
RIP history implementation for broken stacks 2022-12-14 14:21:48 +02:00
Alex
359612abb5
Updated process debug info trace 2022-12-12 20:28:18 +02:00
Alex
d5ac3226b2
Replaced "schedbg" to "trace" 2022-12-12 00:33:02 +02:00
Alex
ab7f20d5f5
Implemented memory tracker 2022-12-11 14:34:24 +02:00
Alex
7b68099808
Fixed arguments for thread 2022-12-10 06:02:21 +02:00
Alex
1317dc53fa
Updated argv and envp in tasking 2022-12-08 10:35:05 +02:00
Alex
eab80c215c
Fixed wrong stack pointer & new tss command for crash screen 2022-12-07 04:15:20 +02:00
Alex
1bb97f19fd
Apply code from memory-test branch 2022-12-05 23:20:06 +02:00
Alex
2d1c42fbcd
Memory related code optimization 2022-12-05 00:48:41 +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
eaaf8427dc
Stack guard implementation 2022-11-21 03:20:13 +02:00
Alex
1afe255fed
Hope now scheduler won't crash at IPC Service 2022-11-20 16:13:49 +02:00
Alex
03d77c9774
IPC implementation 2022-11-18 05:09:25 +02:00
Alex
2571c4f539
Added ubsan 2022-11-17 03:33:18 +02:00
Alex
9fdad650b9
Trying to fix user stack 2022-11-16 16:04:09 +02:00
Alex
c2628019b7
Syscalls working as expected 2022-11-15 15:09:52 +02:00
Alex
3542dfca8b
Code fixes and stability 2022-11-15 01:50:07 +02:00
Alex
62ded83a9b
Typo 2022-11-14 16:12:35 +02:00
Alex
cabdc5263e
Kernel now compiles on x32 2022-11-14 14:54:18 +02:00
Alex
042bce48a0
Kernel & User time stub 2022-11-14 07:42:37 +02:00
Alex
dc5b6498f9
Improved crash screen 2022-11-11 04:42:28 +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
40b1da9dd1
Syscalls didn't worked because I'm dumb... 2022-11-08 22:01:39 +02:00
Alex
b60ec62bde
Update file loading 2022-11-07 08:34:22 +02:00
Alex
31fa93ab96
TODO: Fix multicore tasking deadlock 2022-11-07 06:14:16 +02:00
Alex
2ddfec2130
Optimization 2022-11-07 01:42:32 +02:00
Alex
664cea41a5
Added Schedule() 2022-11-06 06:04:34 +02:00
Alex
416e290c51
Updated GDT & IDT 2022-11-06 04:55:12 +02:00
Alex
3d947c2a03
Added implementation of critical thread/process 2022-11-06 03:43:12 +02:00
Alex
8cc9ff4ff3
Updated tasking functions 2022-11-04 05:31:55 +02:00
Alex
0f16d63553
Improved tasking 2022-11-01 01:54:57 +02:00
Alex
a245fb009c
Fixed compilation failing on i386 2022-10-28 09:06:09 +03:00
Alex
400a715e94
fxsave/fxrstor stub 2022-10-28 03:28:52 +03:00
Alex
94bbe5e069
Added writecr3 to scheduler 2022-10-27 03:44:04 +03:00