351 Commits

Author SHA1 Message Date
Alex
e4ec9d87b8
Improved driver loading/unloading 2022-12-18 14:31:02 +02:00
Alex
02f592ede9
Updated Driver API 2022-12-18 14:30:44 +02:00
Alex
013b635524
Memory Tracker: If PageTable is nullptr, read the current one 2022-12-17 19:02:07 +02:00
Alex
32e8eecc69
Added "UnloadDriver" function 2022-12-17 18:21:28 +02:00
Alex
ed49b3ab7c
Fixed broken driver unloading on shutdown/crash 2022-12-17 18:20:47 +02:00
Alex
d33a812703
Updated driver loading code 2022-12-16 03:08:31 +02:00
Alex
e930e02752
Updated Fex header 2022-12-16 03:07:55 +02:00
Alex
b4cb49e696
Updated driver shutdown 2022-12-16 03:07:29 +02:00
Alex
e1985cea90
Typo 2022-12-15 21:32:59 +02:00
Alex
ad61c7acc5
Stop all drivers on shutdown / crash 2022-12-15 14:16:22 +02:00
Alex
2ed1bf05a0
Updated Driver API 2022-12-15 14:16:11 +02:00
Alex
59fe56302f
Thread arguments are now available from it's stack 2022-12-15 03:08:16 +02:00
Alex
a3664662f3
Updated StackGuard 2022-12-15 03:06:55 +02:00
Alex
83a5b2a4ee
Dynamic ELF stub 2022-12-14 14:54:13 +02:00
Alex
3828186c56
RIP history implementation for broken stacks 2022-12-14 14:21:48 +02:00
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