Commit Graph

302 Commits

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