50 Commits

Author SHA1 Message Date
Alex
41db477173
Update kernel 2023-06-10 13:11:25 +03:00
Alex
816e5461c9
Fix type sizes 2023-05-13 07:40:07 +03:00
Alex
7d939c001b
Add process cwd 2023-05-05 19:40:01 +03:00
Alex
7abbc51d99
fixme 2023-05-04 05:09:44 +03:00
Alex
d7427ff2fa
Make sure InterpreterPath has \0 character by default 2023-05-04 02:39:13 +03:00
Alex
61aea6aa8d
fork() stub and QoL improvements 2023-05-03 06:37:39 +03:00
Alex
fcbb298077
Fix compiler warnings 2023-04-23 07:02:24 +03:00
Alex
89d747e52c
Update timing implementation 2023-04-23 05:30:58 +03:00
Alex
dc7b1fc4c9
Rework virtual filesystem implementation 2023-04-21 18:32:20 +03:00
Alex
f2eab6c64f
Fix elf loading 2023-04-21 17:47:09 +03:00
Alex
411b468f71
Optimize memory usage 2023-04-11 12:06:32 +03:00
Alex
b4dbf2c281
QoL and bug fixes 2023-04-10 03:11:46 +03:00
Alex
540152a339
Add support for 2MB and 1GB map 2023-04-07 01:39:11 +03:00
Alex
25256d81a8
Added license headers to all project files 2023-04-04 02:19:05 +03:00
Alex
f69f29c5bb
Implementation for userspace interpreter 2023-03-31 17:36:34 +03:00
Alex
8747a54fea
Interpreter thread should exit after sending IPC data 2023-03-31 17:35:24 +03:00
Alex
93afcd2210
QoL improvements 2023-03-27 20:11:32 +03:00
Alex
7b2137bf4d
Update shared_ptr function names 2023-03-23 20:48:50 +02:00
Alex
f86f3d9293
Rename std functions to match the standard 2023-03-23 04:56:49 +02:00
Alex
cd7267d3c3
Rename smart pointers 2023-03-23 01:48:49 +02:00
Alex
aaa458f407
Send ElfFile too 2023-03-20 06:56:09 +02:00
Alex
45cd4bb13c
Fix wrong MemoryImage address given to the elf interpreter 2023-03-20 05:17:35 +02:00
Alex
6492da3237
Add InterpreterIPCData 2023-03-20 04:42:10 +02:00
Alex
d7c9b7ab02
Prevent dangling pointer 2023-03-14 06:24:02 +02:00
Alex
419b5bee0d
Replaced "__sync_synchronize" with "__sync" 2023-02-18 04:13:49 +02:00
Alex
0fb62e52d2
Use correct instruction 2023-02-18 04:11:59 +02:00
Alex
a99a2ef34b
Added stub interpreter support 2023-02-10 16:31:33 +02:00
Alex
a592b85ce5
Updated kernel (tl;dr: improved filesystem, tasking, loading files, etc..) 2023-02-06 19:35:44 +02:00
Alex
0ddda954f6
t1 2023-01-16 06:10:52 +02:00
Alex
98d58cf655
TODO 2022-12-26 08:39:27 +02:00
Alex
8a195c124c
More work on ELF interpreter implementation 2022-12-24 01:44:21 +02:00
Alex
3124e879c3
Progress on loading shared objects 2022-12-22 03:57:26 +02:00
Alex
a677f3c159
Updated types 2022-12-21 00:43:51 +02:00
Alex
d33a812703
Updated driver loading code 2022-12-16 03:08:31 +02:00
Alex
59fe56302f
Thread arguments are now available from it's stack 2022-12-15 03:08:16 +02:00
Alex
83a5b2a4ee
Dynamic ELF stub 2022-12-14 14:54:13 +02:00
Alex
6cc71028c9
Fixed ELF loading (global variables are not initialized) 2022-12-12 21:07:06 +02:00
Alex
58709c1310
memset was clearing process data from memory 2022-12-12 20:28:50 +02:00
Alex
bade38e173
Do not read the header if it's not "PT_LOAD" 2022-12-10 06:43:37 +02:00
Alex
3ef08457e3
Fixed Spawn() 2022-12-10 06:03:32 +02:00
Alex
2d1c42fbcd
Memory related code optimization 2022-12-05 00:48:41 +02:00
Alex
9fdad650b9
Trying to fix user stack 2022-11-16 16:04:09 +02:00
Alex
cabdc5263e
Kernel now compiles on x32 2022-11-14 14:54:18 +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
b60ec62bde
Update file loading 2022-11-07 08:34:22 +02:00
Alex
2eb7e82a3e
Loaded image should have RW flag 2022-11-07 01:42:14 +02:00
Alex
6ae0e9db26
Optimize 2022-11-05 04:25: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
bb92e820fc
Userspace process creation stub 2022-11-02 17:16:11 +02:00