Commit Graph

862 Commits

Author SHA1 Message Date
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
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
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
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
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
61aea6aa8d fork() stub and QoL improvements 2023-05-03 06:37:39 +03:00
6e6d22403c Fix flawfinder workflow 2023-04-30 20:51:28 +03:00
5e81421ec6 Add Elf32_Phdr 2023-04-28 23:06:48 +03:00
52f506e882 Remove multiboot2 boot code 2023-04-27 05:06:07 +03:00
5893030f32 Update TODO 2023-04-25 05:30:38 +03:00
920cc9e74a Wrong SMBIOSProcessorInformation structure 2023-04-25 05:30:28 +03:00
c1eaabf97b Bug fixes 2023-04-25 05:14:12 +03:00
299c919d1d Add UserTime and KernelTime tracker 2023-04-25 05:12:58 +03:00
03b667f5c0 Fix i386 and aarch64 compilation issues 2023-04-23 07:55:27 +03:00
efc16409a6 QoL improvements 2023-04-23 07:51:05 +03:00
cd0a470e1d Fix a bug where GetCurrentProcess returned null inside DSDT 2023-04-23 07:50:09 +03:00
f41faf0fea Display seconds since boot in kernel messages 2023-04-23 07:33:14 +03:00
8471126696 Change "GetMillisecondsSinceClassCreation" to "GetNanosecondsSinceClassCreation" 2023-04-23 07:29:08 +03:00
fcbb298077 Fix compiler warnings 2023-04-23 07:02:24 +03:00
a73a49094c Add TSC timer stub 2023-04-23 06:29:31 +03:00
dc6fd148fc Reserve more pages for SMP trampoline 2023-04-23 06:28:12 +03:00
89d747e52c Update timing implementation 2023-04-23 05:30:58 +03:00
7e201e0958 Update kernelctl syscall 2023-04-21 18:53:09 +03:00
1eb41e4977 Update init envp 2023-04-21 18:35:58 +03:00
d76585cce3 Implement file syscalls 2023-04-21 18:32:43 +03:00
dc7b1fc4c9 Rework virtual filesystem implementation 2023-04-21 18:32:20 +03:00
f2eab6c64f Fix elf loading 2023-04-21 17:47:09 +03:00
96a27f7bc8 Update syscall doc functions 2023-04-21 17:46:11 +03:00
41bdbada31 Update todo 2023-04-20 04:07:07 +03:00
0eb8ba0f69 Fix bug causing vector removal to skip elements 2023-04-20 03:24:23 +03:00