336 Commits

Author SHA1 Message Date
Alex
40c26f1232
KernelCTL stub syscall 2022-12-14 13:02:30 +02:00
Alex
aed2b927f3
Removed debug flags for init process 2022-12-14 13:02:18 +02:00
Alex
d142128538
Check if the page is mapped 2022-12-14 13:01:52 +02:00
Alex
0fa30d6d7c
Fixed syscalls 2022-12-13 22:52:57 +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
359612abb5
Updated process debug info trace 2022-12-12 20:28:18 +02:00
Alex
d5ac3226b2
Replaced "schedbg" to "trace" 2022-12-12 00:33:02 +02:00
Alex
d540462e0a
Updated syscalls 2022-12-11 14:34:30 +02:00
Alex
ab7f20d5f5
Implemented memory tracker 2022-12-11 14:34:24 +02:00
Alex
16bcb896fa
QoL 2022-12-11 05:30:46 +02:00
Alex
bade38e173
Do not read the header if it's not "PT_LOAD" 2022-12-10 06:43:37 +02:00
Alex
b1e09147bf
Added "-Wstack-protector" flag 2022-12-10 06:03:42 +02:00
Alex
3ef08457e3
Fixed Spawn() 2022-12-10 06:03:32 +02:00
Alex
d57d593829
Mapping IO Base and Memory Base (TODO: Map all memory base length) 2022-12-10 06:03:04 +02:00
Alex
7b68099808
Fixed arguments for thread 2022-12-10 06:02:21 +02:00
Alex
a56f633709
Improved symbol table + every process have one allocated 2022-12-10 06:01:01 +02:00
Alex
6d58f04f1f
TODO 2022-12-10 05:58:52 +02:00
Alex
224905ac06
Fixed vmm mapped framebuffer to the wrong address 2022-12-09 16:26:55 +02:00
Alex
81371b14b0
Implemented strtoul, isdelim and strtok 2022-12-08 19:17:13 +02:00
Alex
de5a719d32
Fixed bug 2022-12-08 19:16:40 +02:00
Alex
2b669689b3
Implemented strtoul, isdelim and strtok 2022-12-08 19:16:19 +02:00
Alex
eea4a9eae1
Added dump command 2022-12-08 19:15:34 +02:00
Alex
1317dc53fa
Updated argv and envp in tasking 2022-12-08 10:35:05 +02:00
Alex
eab80c215c
Fixed wrong stack pointer & new tss command for crash screen 2022-12-07 04:15:20 +02:00
Alex
b9f8e976f6
Merge branch 'main' of https://github.com/Fennix-Project/Kernel 2022-12-06 09:33:35 +02:00
Alex
1b591e7e1d
Typo 2022-12-06 09:32:16 +02:00
Alex
4a536ed8b3
Added crX command in crash handler 2022-12-06 09:31:16 +02:00
Alex
c47ffb3256
Revert "Typo"
This reverts commit 7c079633f64f2698771d1b5908303273b92bac60.
2022-12-06 09:30:48 +02:00
Alex
7c079633f6
Typo 2022-12-06 09:30:15 +02:00
Alex
f86777a856
KPT global variable 2022-12-06 09:30:09 +02:00
Alex
da12880df2
Delete codeql.yml 2022-12-06 02:40:21 +00:00
Alex
45621ef1f8
Create codacy.yml 2022-12-06 02:40:08 +00:00
Alex
a95ffbd30b
Create codeql.yml 2022-12-06 02:36:35 +00:00
Alex
3454c9692f
Add flags to all page directories (as Intel 317080-003 doc says) 2022-12-06 01:27:00 +02:00
Alex
4188a465d2
Map address 0x0 to an empty page 2022-12-06 01:26:17 +02:00
Alex
8288de53a9
Print more info 2022-12-06 01:25:03 +02:00
Alex
90fc58f5fb
GetAddress() should be bit shifted 2022-12-06 01:24:49 +02:00
Alex
24382f80a1
How did I made this stupid mistake? 2022-12-06 01:24:26 +02:00
Alex
632852c9e4
Small fixes 2022-12-06 00:14:37 +02:00
Alex
1bb97f19fd
Apply code from memory-test branch 2022-12-05 23:20:06 +02:00
Alex
0116fd3b38
Oops, SetFlag() should not clear the entire data 2022-12-05 06:02:25 +02:00
Alex
2d1c42fbcd
Memory related code optimization 2022-12-05 00:48:41 +02:00
Alex
f34278891b
Added tlb & bitmap commands 2022-12-05 00:47:15 +02:00
Alex
58dfc9c407
Enable Global Pages 2022-12-05 00:43:59 +02:00
Alex
a47f998764
isalpha, isupper & strtol implementation 2022-12-05 00:43:39 +02:00
Alex
7487204417
Rust support 2022-12-01 06:13:31 +02:00
Alex
c9c248ccc7
Removed unused extern variable declaration 2022-12-01 06:13:10 +02:00
Alex
0289054900
Changed a lot of files. Summary: profiler support; "SafeFunction"; UnlockDeadLock kernel config; Code optimization & more 2022-11-28 08:25:37 +02:00
Alex
2fba834d41
Forgot to resume the stopped process 2022-11-21 16:19:51 +02:00