Commit Graph

1982 Commits

Author SHA1 Message Date
c7046fe06f Fix aarch64 2023-05-11 18:45:49 +03:00
28ec505b78 Create an empty root if initrd failed to be loaded 2023-05-11 18:34:49 +03:00
149d8ba790 Make kernel to boot in x32 2023-05-11 18:34:21 +03:00
15637438da Update Intel's CPUID structs 2023-05-11 16:36:51 +03:00
9f70ff9621 Do not request a specific resolution 2023-05-11 15:10:06 +03:00
78cc9fa642 Reduce stack usage for memory operations test 2023-05-11 15:09:29 +03:00
f1dc3868ca Add support for multiboot2 2023-05-10 21:50:11 +03:00
79c6a5096d Add ROUND_UP and ROUND_DOWN 2023-05-10 21:49:28 +03:00
fa8122659a Request 1280x720x32 framebuffer 2023-05-09 05:14:13 +03:00
5511fdf6b0 Stub support mb2 for i386 2023-05-09 05:11:24 +03:00
b68c8c18a5 Implement mb2 stub support 2023-05-09 04:57:17 +03:00
408344e4f7 Update multiboot stubs 2023-05-09 01:06:42 +03:00
3dcb696de1 Update linker for i386 2023-05-09 01:06:30 +03:00
649450d191 Fix kernel section are not aligned 2023-05-08 05:46:38 +03:00
198742526c Remove unnecessary code 2023-05-08 05:32:44 +03:00
1efc8f9537 Create a new stack for kernel and update BootInfo structure before anything else 2023-05-08 05:29:32 +03:00
c9e2d99570 Add checks for invalid addresses 2023-05-08 05:27:16 +03:00
e57195ef51 Add stub multiboot headers 2023-05-08 05:16:16 +03:00
404be92d43 Rewrite the linker script 2023-05-08 05:15:56 +03:00
78cfe17749 Update libc 2023-05-06 05:16:32 +03:00
cbbd3d0456 Update libc 2023-05-05 21:02:11 +03:00
2271e1c5c7 Add doom.elf to vscode debug 2023-05-05 21:02:01 +03:00
9f0d77f5a7 Update doomgeneric submodule 2023-05-05 21:01:35 +03:00
f2abcdd15d Update libc 2023-05-05 20:17:52 +03:00
6916eb7537 Check if path is relative 2023-05-05 20:04:22 +03:00
1df78907fc Add PathIsRelative() 2023-05-05 20:02:53 +03:00
7d939c001b Add process cwd 2023-05-05 19:40:01 +03:00
dd232a3721 Fix compiler warnings 2023-05-05 19:39:46 +03:00
f48511c6ff Implement fseek 2023-05-05 19:19:44 +03:00
8349339f32 Update errno macros 2023-05-05 19:19:19 +03:00
50a0857524 Implement file seek 2023-05-05 19:19:05 +03:00
b0e0415b3e Track which core was used to schedule 2023-05-05 18:45:28 +03:00
59ebcdfa8e Print backtrace on deadlocks 2023-05-05 18:21:31 +03:00
953401c4b2 More progress on fork() support 2023-05-05 17:34:00 +03:00
72918cdc18 Rewrite syscall stub and SyscallsFrame structure 2023-05-05 17:33:33 +03:00
2b44ad7d75 Fix compiler warning on syscall functions 2023-05-05 17:32:33 +03:00
39c3d4e2f2 Add syscalls test 2023-05-05 17:10:44 +03:00
d0ec077c09 Add gdb for init.elf 2023-05-05 17:08:36 +03:00
607d0dc048 Update doomgeneric submodule 2023-05-05 17:07:52 +03:00
a280de7d73 Exit on fork() failure 2023-05-05 17:07:35 +03:00
d472fddb61 Check if the thread pointer is valid before accessing it's data 2023-05-04 22:42:14 +03:00
71c9306828 Make syscall handler stub easier to debug 2023-05-04 22:40:18 +03:00
533b945e84 Save/Restore shadow GS too while scheduling tasks 2023-05-04 22:39:37 +03:00
7abbc51d99 fixme 2023-05-04 05:09:44 +03:00
4c224557d1 Fix InitDSDT called while APIC wasn't initialized 2023-05-04 05:09:33 +03:00
87c7e0f286 If filename is invalid, fopen should return NULL 2023-05-04 05:01:20 +03:00
f4ca629a8f Cleanup code 2023-05-04 05:00:47 +03:00
4953000370 Workaround for errno 2023-05-04 04:59:19 +03:00
159fd7506a Do not accept invalid kernel private object 2023-05-04 02:39:40 +03:00
d7427ff2fa Make sure InterpreterPath has \0 character by default 2023-05-04 02:39:13 +03:00