1097 Commits

Author SHA1 Message Date
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
Alex
7ddc0a63a4
Update API 2022-11-05 08:03:34 +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
6d15a42e17
Updated Kernel.cpp 2022-11-05 05:39:18 +02:00
Alex
52ef1e3b3b
Updated memory mapping functions 2022-11-05 04:40:15 +02:00
Alex
6ae0e9db26
Optimize 2022-11-05 04:25:38 +02:00
Alex
9dbe40704d
If a wrong color is specified, set the color value to 0xFFFFFF 2022-11-05 04:25:07 +02:00
Alex
4af2b199f4
Perform CPU sleep when using Sleep() function 2022-11-04 20:52:38 +02:00
Alex
a5fdf14f0d
Todo 2022-11-04 05:37:06 +02:00
Alex
5de0a3972c
Added usermode process creation (currently broken) 2022-11-04 05:32:27 +02:00
Alex
8cc9ff4ff3
Updated tasking functions 2022-11-04 05:31:55 +02:00
Alex
aa45396d5b
Updated memory initializator 2022-11-04 05:31:12 +02:00