350 Commits

Author SHA1 Message Date
Alex
4fb789fbdb
Wrong strcmp usage 2022-12-21 21:18:25 +02:00
Alex
4febfad479
Fix "KPT = KernelPageTable;" in wrong place 2022-12-21 20:58:37 +02:00
Alex
cddf0426e3
Fixed compiler warnings 2022-12-21 20:05:57 +02:00
Alex
985d614be2
Compiles on x86 but everything is broken 2022-12-21 02:11:49 +02:00
Alex
a677f3c159
Updated types 2022-12-21 00:43:51 +02:00
Alex
e07d774c2b
Updated stack guard 2022-12-20 06:56:35 +02:00
Alex
a43e4f1593
Updated the random number generator 2022-12-20 06:55:34 +02:00
Alex
0a2e8f7154
Updated bitmap command 2022-12-20 00:47:46 +02:00
Alex
47e4731b78
Fixed RIP tracing 2022-12-20 00:38:52 +02:00
Alex
061edc0f13
Updated UBSAN 2022-12-19 23:01:02 +02:00
Alex
9c16a522ef
Added "mem" command 2022-12-18 16:11:28 +02:00
Alex
ddfd071788
DriverInterruptHook::OnInterruptReceived should have SafeFunction macro 2022-12-18 14:34:35 +02:00
Alex
e4ec9d87b8
Improved driver loading/unloading 2022-12-18 14:31:02 +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
b4cb49e696
Updated driver shutdown 2022-12-16 03:07:29 +02:00
Alex
ad61c7acc5
Stop all drivers on shutdown / crash 2022-12-15 14:16:22 +02:00
Alex
a3664662f3
Updated StackGuard 2022-12-15 03:06:55 +02:00
Alex
3828186c56
RIP history implementation for broken stacks 2022-12-14 14:21:48 +02:00
Alex
d142128538
Check if the page is mapped 2022-12-14 13:01:52 +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
d57d593829
Mapping IO Base and Memory Base (TODO: Map all memory base length) 2022-12-10 06:03:04 +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
eea4a9eae1
Added dump command 2022-12-08 19:15:34 +02:00
Alex
eab80c215c
Fixed wrong stack pointer & new tss command for crash screen 2022-12-07 04:15:20 +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
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
7487204417
Rust support 2022-12-01 06:13:31 +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
Alex
eaaf8427dc
Stack guard implementation 2022-11-21 03:20:13 +02:00