Commit Graph

1596 Commits

Author SHA1 Message Date
Alex
39c3d4e2f2 Add syscalls test 2023-05-05 17:10:44 +03:00
Alex
d0ec077c09 Add gdb for init.elf 2023-05-05 17:08:36 +03:00
Alex
607d0dc048 Update doomgeneric submodule 2023-05-05 17:07:52 +03:00
Alex
a280de7d73 Exit on fork() failure 2023-05-05 17:07:35 +03:00
Alex
d472fddb61 Check if the thread pointer is valid before accessing it's data 2023-05-04 22:42:14 +03:00
Alex
71c9306828 Make syscall handler stub easier to debug 2023-05-04 22:40:18 +03:00
Alex
533b945e84 Save/Restore shadow GS too while scheduling tasks 2023-05-04 22:39:37 +03:00
Alex
7abbc51d99 fixme 2023-05-04 05:09:44 +03:00
Alex
4c224557d1 Fix InitDSDT called while APIC wasn't initialized 2023-05-04 05:09:33 +03:00
Alex
87c7e0f286 If filename is invalid, fopen should return NULL 2023-05-04 05:01:20 +03:00
Alex
f4ca629a8f Cleanup code 2023-05-04 05:00:47 +03:00
Alex
4953000370 Workaround for errno 2023-05-04 04:59:19 +03:00
Alex
159fd7506a Do not accept invalid kernel private object 2023-05-04 02:39:40 +03:00
Alex
d7427ff2fa Make sure InterpreterPath has \0 character by default 2023-05-04 02:39:13 +03:00
Alex
7c51807812 Update init code 2023-05-03 06:40:55 +03:00
Alex
cf3a5599a4 Update libc 2023-05-03 06:40:31 +03:00
Alex
f01eed8dd2 Update libs header path 2023-05-03 06:40:12 +03:00
Alex
5a017b6626 Stub shell 2023-05-03 06:39:20 +03:00
Alex
2523ad0911 Update echo program 2023-05-03 06:38:49 +03:00
Alex
850415b559 Create "bin" directory 2023-05-03 06:38:33 +03:00
Alex
61aea6aa8d fork() stub and QoL improvements 2023-05-03 06:37:39 +03:00
Alex
6e6d22403c Fix flawfinder workflow 2023-04-30 20:51:28 +03:00
Alex
4e8599969b Update loader 2023-04-30 02:49:19 +03:00
Alex
cdfbbf6eab Debug memory usage before jumping to kernel 2023-04-29 07:38:45 +03:00
Alex
ea1b0bb72a Test kernel bootstrap 2023-04-29 06:52:22 +03:00
Alex
5e81421ec6 Add Elf32_Phdr 2023-04-28 23:06:48 +03:00
Alex
52f506e882 Remove multiboot2 boot code 2023-04-27 05:06:07 +03:00
Alex
5893030f32 Update TODO 2023-04-25 05:30:38 +03:00
Alex
920cc9e74a Wrong SMBIOSProcessorInformation structure 2023-04-25 05:30:28 +03:00
Alex
c1eaabf97b Bug fixes 2023-04-25 05:14:12 +03:00
Alex
299c919d1d Add UserTime and KernelTime tracker 2023-04-25 05:12:58 +03:00
Alex
faa781a9ca Cleanup init 2023-04-23 22:18:14 +03:00
Alex
1000a57531 Fix std file operations 2023-04-23 22:18:06 +03:00
Alex
f740c1e736 Fix compiler warning 2023-04-23 22:17:43 +03:00
Alex
0c24ad31ae Update doomgeneric submodule 2023-04-23 21:38:50 +03:00
Alex
43aad488a7 Update libc implementation 2023-04-23 21:38:36 +03:00
Alex
6deb37fbfe Compile doom 2023-04-23 21:38:12 +03:00
Alex
7b31e421bc Update Kernel submodule 2023-04-23 08:21:37 +03:00
Alex
1c202cdda8 Do not compile ExtMemDbg 2023-04-23 08:21:18 +03:00
Alex
03b667f5c0 Fix i386 and aarch64 compilation issues 2023-04-23 07:55:27 +03:00
Alex
efc16409a6 QoL improvements 2023-04-23 07:51:05 +03:00
Alex
cd0a470e1d Fix a bug where GetCurrentProcess returned null inside DSDT 2023-04-23 07:50:09 +03:00
Alex
f41faf0fea Display seconds since boot in kernel messages 2023-04-23 07:33:14 +03:00
Alex
8471126696 Change "GetMillisecondsSinceClassCreation" to "GetNanosecondsSinceClassCreation" 2023-04-23 07:29:08 +03:00
Alex
fcbb298077 Fix compiler warnings 2023-04-23 07:02:24 +03:00
Alex
a73a49094c Add TSC timer stub 2023-04-23 06:29:31 +03:00
Alex
dc6fd148fc Reserve more pages for SMP trampoline 2023-04-23 06:28:12 +03:00
Alex
89d747e52c Update timing implementation 2023-04-23 05:30:58 +03:00
Alex
a1fa69b39d Update github workflow 2023-04-21 19:06:32 +03:00
Alex
0f85f34657 Update submodules 2023-04-21 19:04:49 +03:00