Commit Graph

65 Commits

Author SHA1 Message Date
45406209d8 Refactor debug print statements in user.cpp 2024-04-01 01:21:36 +03:00
08c4bcc4a3 Fix RawKeyQueue empty check 2024-03-31 02:26:07 +02:00
5a00e91011 Fix signals from exception handler 2024-03-28 03:15:05 +02:00
eb3020bde7 Fix key event handling 2024-03-27 22:29:19 +02:00
3dc1981820 Implement VirtualAllocation class 2024-03-27 19:51:15 +02:00
b8355ec455 Update Xalloc configuration 2024-03-27 16:43:40 +02:00
3d1ecc3db0 Rework signal handling code 2024-03-25 23:21:27 +02:00
49ef1dc454 Refactor stack expansion and stack fork implementation 2024-03-21 02:09:48 +02:00
70cbbea3c0 Clear CR2 if the page fault is handled 2024-03-21 02:08:18 +02:00
bd24471748 Fix before panic framebuffer 2024-03-21 01:57:11 +02:00
4293d2a9ac Update logging 2024-03-19 20:57:14 +02:00
b35045e7ca Refactor memory allocation implementation and add KernelReserve flag to memory mappings 2024-03-19 03:57:30 +02:00
464022a61d Check Display class in InitFont() 2024-03-19 02:20:58 +02:00
9722a44dc2 Fix typo in help command 2024-03-18 21:33:06 +02:00
c197383a74 Update page table in __stack_chk_fail and __chk_fail functions 2024-03-14 04:44:19 +02:00
56e47f5cef Refactor MainInterruptHandler 2024-03-14 04:42:06 +02:00
6f76e13c6d Rename TPL to TPR in used.cpp 2024-03-13 18:46:59 +02:00
2d5bb5193d Refactor BaseBufferStackError function 2024-03-13 18:45:07 +02:00
0d2036139c Update DisplayDetailsScreen to include CopyOnWrite flag in page table entry 2024-03-11 23:29:47 +02:00
0270192eec Add more page fault details 2024-03-10 22:51:09 +02:00
196aacda84 Update DisplayProcessScreen function to include executable name 2024-03-05 01:07:09 +02:00
52ec0a25bf Fix incorrect condition in HandleException function 2024-03-04 23:11:40 +02:00
d2db08b2cf Workaround for QEMU TCG crash 2024-03-04 02:07:53 +02:00
e69ace7fdc Add ExGetKSymbolByAddress function to retrieve kernel symbols by address 2024-03-03 23:48:19 +02:00
8caed0c35c Update error colors 2024-03-02 01:42:23 +02:00
d651dcbe7f Add check for empty drivers list and print message if no drivers to load 2024-03-02 01:33:00 +02:00
d3a16469ad Revise PID and TID generation to align with standards 2024-03-02 00:51:06 +02:00
a60ac0ca73 Fix KEY_SLASH character 2024-02-29 03:50:16 +02:00
574c753b77 Add GetPixel and DrawRectangle functions to Display class 2024-02-29 02:18:08 +02:00
2f1611fe87 Add dump command in kernel shell 2024-02-29 00:46:28 +02:00
c967e94187 Update ACPI print format 2024-02-29 00:28:34 +02:00
72ee2075ae Add "screen" command to panic UI 2024-02-29 00:05:59 +02:00
455c8a82de Fix DisplayProcessScreen function to show ready threads, add note for hidden processes 2024-02-28 23:57:13 +02:00
5fd8d3b3a5 Revamped kernel panic functions with significant improvements 2024-02-28 06:31:02 +02:00
e74c5f7bab Do not map the framebuffer with user flag 2024-02-28 05:50:39 +02:00
ef542145f7 Update CPU prevention features 2024-02-28 05:50:12 +02:00
1c59565553 Fix memory allocation exploit (driver mapped with user flag) 2024-02-28 05:35:10 +02:00
a49d4936e3 Fix cpuid 0x7 for AMD 2024-02-28 05:07:22 +02:00
3eb25c8e14 Remove unnecessary calls to CPUID.Get() 2024-02-25 18:43:11 +02:00
8fd29ff0a9 Fix InterruptFrames for aarch64 2024-02-20 18:07:02 +02:00
495e75c649 Add IgnoreSpecialChars parameter to Print and PrintString functions 2024-02-19 01:42:29 +02:00
65d1b9f58b Fix uninitialized variables 2024-02-16 20:55:39 +02:00
69aeb5c36a Add PrintString() 2024-02-15 22:53:39 +02:00
9ab246f8c4 Refactor ExceptionHandler 2024-02-15 22:10:04 +02:00
06abcd6c79 Add CrashFont initialization 2024-02-10 07:09:15 +02:00
174df62d85 Move font declarations to display.hpp 2024-02-10 07:09:11 +02:00
cfd4b8d6a5 Update display buffer handling 2024-02-10 06:56:26 +02:00
eba6bc07c1 Declare all Tamsyn font files to display.cpp 2024-02-10 04:45:34 +02:00
b0575ba4f2 Rename "SafeFunction" macro to "NoSecurityAnalysis" 2024-02-04 04:31:30 +02:00
11221b205a Refactor code to improve performance and readability 2024-02-04 04:29:17 +02:00