296 Commits

Author SHA1 Message Date
Alex
411b468f71
Optimize memory usage 2023-04-11 12:06:32 +03:00
Alex
69bfc7d9ed
Kernel processes should have IsCritical flag enabled by default 2023-04-11 11:42:12 +03:00
Alex
78f4bdd6a8
Refactored code to use {} initialization instead of dynamic allocation with 'new' in disk manager class 2023-04-10 06:24:44 +03:00
Alex
41dafe32fb
Move all std related headers to "include_std" 2023-04-10 06:08:58 +03:00
Alex
70e11f17e7
Implement std::atomic and remove the old implementation Atomic and rename vector.hpp to vector 2023-04-10 05:29:41 +03:00
Alex
b4dbf2c281
QoL and bug fixes 2023-04-10 03:11:46 +03:00
Alex
98c137566d
Replace __attribute__ with a macro from types.h 2023-04-07 05:22:14 +03:00
Alex
7fa3e91a53
Optimize memory mapping 2023-04-07 05:12:48 +03:00
Alex
540152a339
Add support for 2MB and 1GB map 2023-04-07 01:39:11 +03:00
Alex
5becc15ed7
Fix ubsan blacklist 2023-04-07 01:38:31 +03:00
Alex
76239ec4ad
Add Get() function for every cpuid struct 2023-04-06 18:36:16 +03:00
Alex
9b84d0147d
Add 2MB and 1GB PAGE_SIZE macro 2023-04-06 18:17:56 +03:00
Alex
5e5819e3be
Fix compilation issues 2023-04-06 18:11:01 +03:00
Alex
b8186bb3d9
Make rsp to be at physical address 2023-04-04 21:08:45 +03:00
Alex
4e20d4d9f4
Enable compilation of project on AArch64 architecture 2023-04-04 16:06:54 +03:00
Alex
25256d81a8
Added license headers to all project files 2023-04-04 02:19:05 +03:00
Alex
3f89b6d863
Crash screen: Frames tab should get physical address of rbp on usermode threads 2023-03-31 17:32:30 +03:00
Alex
eae6006d25
Add Virtual::GetPhysical() 2023-03-31 17:30:33 +03:00
Alex
9e21c5326b
Support i386 2023-03-29 03:02:49 +03:00
Alex
678744f65d
Fix kernel mapping 2023-03-27 20:30:19 +03:00
Alex
98677c7b5b
Unhook interrupts from every driver on crash 2023-03-27 20:30:03 +03:00
Alex
93afcd2210
QoL improvements 2023-03-27 20:11:32 +03:00
Alex
49c627589c
CheckSIMD should use flags 2023-03-27 16:32:42 +03:00
Alex
7d35a0c315
Change display buffer 2023-03-27 16:27:39 +03:00
Alex
fe64c55afc
Do not loop if the next hook is null 2023-03-27 02:50:22 +03:00
Alex
a09790e4f2
Test TO_PAGES and FROM_PAGES macros 2023-03-27 02:49:56 +03:00
Alex
d136f9fd42
Comment PRINT_BACKTRACE 2023-03-26 21:21:10 +03:00
Alex
f4641e21fe
Refactor driver file creation to use structured binding 2023-03-26 21:20:12 +03:00
Alex
e6c103c671
Ignore frame-address warning 2023-03-26 21:16:26 +03:00
Alex
c6da67a7a3
Add SetDoNotScroll 2023-03-26 21:16:02 +03:00
Alex
028115a1b0
Boot screen & change shutting down/rebooting procedure 2023-03-25 12:05:33 +02:00
Alex
cef9d89965
More debug messages 2023-03-25 12:03:14 +02:00
Alex
7218575b48
Rename heap allocation function 2023-03-25 12:02:01 +02:00
Alex
3aba6b4881
Add backtrace log inside deadlocks 2023-03-25 11:57:31 +02:00
Alex
9ce301907a
QoL improvements 2023-03-24 16:22:42 +02:00
Alex
3d03f8943b
Improve exception message 2023-03-23 23:27:37 +02:00
Alex
8b082ac98a
Map kernel file too 2023-03-23 23:26:18 +02:00
Alex
338df2d9fa
Better deadlock message 2023-03-23 23:25:32 +02:00
Alex
c56bc2c4d7
SwapPage should be after loop 2023-03-23 23:23:47 +02:00
Alex
6a7e940e80
Show address in error message 2023-03-23 23:23:02 +02:00
Alex
76f8477712
Update driver loading procedure 2023-03-23 20:49:13 +02:00
Alex
6b01a21a71
Change Interrupts::Handler 2023-03-23 20:48:09 +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
35a11d2285
Update ubsan blacklist 2023-03-22 21:18:45 +02:00
Alex
9f0d1aed80
cwk_path_get_extension's length should not point to nullptr 2023-03-22 20:30:58 +02:00
Alex
5fd8e8f152
Specify the invalid address 2023-03-20 20:30:13 +02:00
Alex
115557a551
For Virtual() use KernelPageTable as page table 2023-03-20 00:11:10 +02:00
Alex
e008796515
Add warn message when trying to free an already freed page 2023-03-19 23:57:17 +02:00
Alex
feb1af5984
Update external memory tracker logging 2023-03-19 23:56:25 +02:00