39 Commits

Author SHA1 Message Date
Alex
3bc76edec0
Security fix for allocating pages for user-mode 2023-02-07 03:21:39 +02:00
Alex
a592b85ce5
Updated kernel (tl;dr: improved filesystem, tasking, loading files, etc..) 2023-02-06 19:35:44 +02:00
Alex
cfb69bf15a
Check for pointers 2022-12-29 04:58:30 +02:00
Alex
18f05c6d83
Updated memory manager 2022-12-26 08:40:09 +02:00
Alex
a9dacd1d21
Renamed "Tracker" to "MemMgr" because it could be used for shared memory and more useful features 2022-12-24 01:51:55 +02:00
Alex
865fa79f0b
Security fix 2022-12-22 01:42:35 +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
a677f3c159
Updated types 2022-12-21 00:43:51 +02:00
Alex
013b635524
Memory Tracker: If PageTable is nullptr, read the current one 2022-12-17 19:02:07 +02:00
Alex
a3664662f3
Updated StackGuard 2022-12-15 03:06:55 +02:00
Alex
ab7f20d5f5
Implemented memory tracker 2022-12-11 14:34:24 +02:00
Alex
224905ac06
Fixed vmm mapped framebuffer to the wrong address 2022-12-09 16:26:55 +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
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
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
eaaf8427dc
Stack guard implementation 2022-11-21 03:20:13 +02:00
Alex
cabdc5263e
Kernel now compiles on x32 2022-11-14 14:54:18 +02:00
Alex
5f320bcf25
Better address check 2022-11-11 04:41:37 +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
5ead0d7f9b
Fixed usermode apps crashing 2022-11-07 01:43:12 +02:00
Alex
52ef1e3b3b
Updated memory mapping functions 2022-11-05 04:40:15 +02:00
Alex
aa45396d5b
Updated memory initializator 2022-11-04 05:31:12 +02:00
Alex
359c88150f
Updated memory initializator 2022-11-04 05:28:24 +02:00
Alex
b9c725c1db
Removed debug messages in Check() 2022-11-01 20:12:55 +02:00
Alex
00cda98a62
Added Check() function 2022-11-01 19:57:15 +02:00
Alex
74a4685ba9
Clear new allocated memory 2022-10-28 08:49:52 +03:00
Alex
33f95cb427
Update files 2022-10-27 03:24:08 +03:00
Alex
11e6080fe1
Fixed "_ZnwmSt11align_val_t" compiler error 2022-10-22 04:00:42 +03:00
Alex
5d41d36bd8
Implemented SmartCriticalSection 2022-10-21 03:49:12 +03:00
Alex
7750dd777e
Replaced string to convert 2022-10-20 01:06:20 +03:00
Alex
cb349ae620
x32 still not working (TODO: do 1:1 page mapping, except for kernel) 2022-10-18 21:16:12 +03:00
Alex
4b6683823f
Update files 2022-10-10 23:29:39 +03:00