Commit Graph

794 Commits

Author SHA1 Message Date
Alex
9718defcaa Add an argument parser 2023-03-25 12:02:26 +02:00
Alex
7218575b48 Rename heap allocation function 2023-03-25 12:02:01 +02:00
Alex
e3a544e79c Directly return the fs root if the path is "/" 2023-03-25 12:00:43 +02:00
Alex
2d03d629dc Check if CreateThread() has a valid parent 2023-03-25 12:00:00 +02:00
Alex
981534ea47 Document ID inside RFLAGS 2023-03-25 11:58:11 +02:00
Alex
3aba6b4881 Add backtrace log inside deadlocks 2023-03-25 11:57:31 +02:00
Alex
42bcdefc6b Rename "vfs" to "vfs_ctx" inside USTAR class 2023-03-25 11:57:07 +02:00
Alex
177a80403f Fix isdelim 2023-03-25 11:55:42 +02:00
Alex
13890ba91a Add stub headers 2023-03-25 11:55:22 +02:00
Alex
4bd42e4378 Add stb headers 2023-03-25 11:54:27 +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
7391a283a3 Use physical address for Kernel.FileBase 2023-03-23 23:26:42 +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
14bd4e1b96 Detect earlier if TCG processor is present 2023-03-23 23:25:19 +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
6c1e2e50a4 Add GetKernelStack 2023-03-23 23:21:50 +02:00
Alex
86c290f830 Remove broken code 2023-03-23 23:21:34 +02:00
Alex
76f8477712 Update driver loading procedure 2023-03-23 20:49:13 +02:00
Alex
7b2137bf4d Update shared_ptr function names 2023-03-23 20:48:50 +02:00
Alex
6b01a21a71 Change Interrupts::Handler 2023-03-23 20:48:09 +02:00
Alex
958e4c792e Update Fex header 2023-03-23 20:46:28 +02:00
Alex
bff3cb04a0 Update Driver API header 2023-03-23 20:46:19 +02:00
Alex
692a309289 Rename arm include directory 2023-03-23 05:03:09 +02:00
Alex
f86f3d9293 Rename std functions to match the standard 2023-03-23 04:56:49 +02:00
Alex
4cd4e4cdc6 Add smart pointers to std 2023-03-23 01:48:58 +02:00
Alex
cd7267d3c3 Rename smart pointers 2023-03-23 01:48:49 +02:00
Alex
6762cbfded Add vector and string to std class 2023-03-23 01:36:06 +02:00
Alex
33b19c02a4 Rename iterator class 2023-03-23 01:35:52 +02:00
Alex
71cc336ac5 Not a good idea to spam NIST with NTP requests 2023-03-22 23:49:21 +02:00
Alex
518ef7b0fd Add log2 2023-03-22 22:50:08 +02:00
Alex
35a11d2285 Update ubsan blacklist 2023-03-22 21:18:45 +02:00
Alex
2d3b89bd33 Allocate argv and envp 2023-03-22 21:18:35 +02:00
Alex
9f0d1aed80 cwk_path_get_extension's length should not point to nullptr 2023-03-22 20:30:58 +02:00
Alex
c23385a243 Add more tables to ACPI SearchTables() 2023-03-22 20:23:38 +02:00
Alex
5fd8e8f152 Specify the invalid address 2023-03-20 20:30:13 +02:00
Alex
aaa458f407 Send ElfFile too 2023-03-20 06:56:09 +02:00
Alex
45cd4bb13c Fix wrong MemoryImage address given to the elf interpreter 2023-03-20 05:17:35 +02:00
Alex
6492da3237 Add InterpreterIPCData 2023-03-20 04:42:10 +02:00
Alex
82911c8559 Display how many bytes are allocated 2023-03-20 03:54:17 +02:00
Alex
6408121b3e Disable interrupts on Reboot / Shutdown buttons 2023-03-20 03:06:27 +02:00
Alex
c9c58f78a8 Wrong arguments for warn message 2023-03-20 01:43:37 +02:00
Alex
ff214dc10b Add Sleep syscall 2023-03-20 01:35:59 +02:00
Alex
ac0c9505f3 Replace SmartCriticalSection with SmartLock 2023-03-20 01:27:34 +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
Alex
ef98d9eb1b Add spinlock to BeforeShutdown() 2023-03-19 22:43:52 +02:00