1109 Commits

Author SHA1 Message Date
Alex
82bdd4ec8b
Better lock 2022-11-15 01:48:33 +02:00
Alex
62ded83a9b
Typo 2022-11-14 16:12:35 +02:00
Alex
6d11b62fd8
Forgot vs settings too (ノ_<。) 2022-11-14 14:55:45 +02:00
Alex
21152fad1e
Forgot to remove -w flag 2022-11-14 14:54:42 +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
6a05343e51
Moved vscode workspace file 2022-11-14 07:42:11 +02:00
Alex
04f1372422
Debugging is now easier 2022-11-11 19:40:40 +02:00
Alex
3112d51168
Few improvements for crash screen 2022-11-11 05:02:03 +02:00
Alex
dc5b6498f9
Improved crash screen 2022-11-11 04:42:28 +02:00
Alex
ec91346acd
Added GetBuffer() 2022-11-11 04:41:51 +02:00
Alex
5f320bcf25
Better address check 2022-11-11 04:41:37 +02:00
Alex
08ab104eb1
Runtime stuff 2022-11-11 04:41:12 +02:00
Alex
77b24c45ec
Forgot initializator 2022-11-11 04:40:53 +02:00
Alex
13ad74c1af
Kernel no longer crashes when trying to read symbols 2022-11-11 04:40:19 +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
3e5c2bcacd
If empty, set default 2022-11-07 11:27:35 +02:00
Alex
6409dfdf0b
Kernel now boots on BIOS systems 2022-11-07 11:17:06 +02:00
Alex
b60ec62bde
Update file loading 2022-11-07 08:34:22 +02:00
Alex
2bd8e8d948
cld 2022-11-07 06:14:28 +02:00
Alex
31fa93ab96
TODO: Fix multicore tasking deadlock 2022-11-07 06:14:16 +02:00
Alex
3c4d67fa48
Do not trace icr registers 2022-11-07 06:13:23 +02:00
Alex
2904ae14da
Updated lock 2022-11-07 06:12:42 +02:00
Alex
6025ef2e54
Fix for crash handler 2022-11-07 04:51:55 +02:00
Alex
6ce03ff0ed
Update KThread.cpp 2022-11-07 03:16:43 +02:00
Alex
0ee2230ca9
Fixed compiler warnings 2022-11-07 03:16:11 +02:00
Alex
5ead0d7f9b
Fixed usermode apps crashing 2022-11-07 01:43:12 +02:00
Alex
8d963bfd84
Disable SMEP and SMAP for now 2022-11-07 01:42:52 +02:00
Alex
2ddfec2130
Optimization 2022-11-07 01:42:32 +02:00
Alex
2eb7e82a3e
Loaded image should have RW flag 2022-11-07 01:42:14 +02:00
Alex
5624b82b0f
Rewrite tss 2022-11-07 01:41:47 +02:00
Alex
664cea41a5
Added Schedule() 2022-11-06 06:04:34 +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
3d947c2a03
Added implementation of critical thread/process 2022-11-06 03:43:12 +02:00
Alex
954223cbf5
Fixed memory leak 2022-11-06 03:16:03 +02:00
Alex
4e9891dba6
KernelMainThread should have the lowest priority 2022-11-06 03:10:23 +02:00
Alex
73e889c7e5
Updated driver loader 2022-11-06 02:49:19 +02:00
Alex
a037bc03b5
Forgot new line 2022-11-06 02:48:39 +02:00
Alex
74fc521ebf
Fixed compiler warning 2022-11-06 02:42:40 +02:00
Alex
93eeb1f53b
Show MD5 and Length 2022-11-06 02:41:51 +02:00
Alex
28a1428cf3
Added MD5 checksum (https://github.com/Zunawe/md5-c) 2022-11-06 02:41:12 +02:00
Alex
5682229f4f
Simple crc32 implementation 2022-11-06 02:18:31 +02:00
Alex
9635cefa17
Fixed compiler warnings 2022-11-06 01:58:24 +02:00
Alex
c602ad8db3
Delete hook if the driver fails 2022-11-06 01:20:24 +02:00
Alex
7541f3c856
Interrupt driver stub 2022-11-06 01:19:57 +02:00
Alex
a7bf3accca
Support multiple interrupt hooks 2022-11-06 01:19:28 +02:00