Commit Graph

381 Commits

Author SHA1 Message Date
Ali Mashtizadeh
032bf32d88 Remove accidently committed debugging 2023-10-02 19:46:25 -04:00
Ali Mashtizadeh
8eedef4e9a Move network commands into sbin 2023-10-02 19:46:06 -04:00
Ali Mashtizadeh
9864ede62c Allow shell exit to take an argument 2023-10-02 19:42:20 -04:00
Ali Mashtizadeh
fb3348128e Add sys/wait.h 2023-10-02 19:34:24 -04:00
Ali Mashtizadeh
92c5b44114 Merge branch 'master' of ssh://review.rcs.uwaterloo.ca:77/source/castoros 2023-10-02 19:33:50 -04:00
Ali Mashtizadeh
63f2ae716e Add spawn and wait/waitpid functions into libc. 2023-10-02 19:33:47 -04:00
Emil Tsalapatis
79016dc2b3 break up spawntest into seperate tests 2023-10-02 18:16:18 -04:00
Ali Mashtizadeh
21a30db5d3 Prevent ls from running on files 2023-10-01 20:47:09 -04:00
Ali Mashtizadeh
64818e1337 Reduce default log level 2023-10-01 20:30:12 -04:00
Ali Mashtizadeh
e2be315cfc Reentrant strtok for kernel debugger 2023-10-01 19:47:26 -04:00
Ali Mashtizadeh
78768d172a Implementing strtok and adding strtok to the shell 2023-10-01 19:36:02 -04:00
Ali Mashtizadeh
2695dcf2b0 Reorganize the kernel binary to support loading a non-stripped kernel. 2023-09-22 21:37:37 -04:00
Ali Mashtizadeh
3b0d7ca64c Fix the DEBUG and PERF build targets. 2023-09-22 21:36:50 -04:00
Ali Mashtizadeh
6441ca6707 Merge branch 'master' of ssh://review.rcs.uwaterloo.ca:77/source/castoros 2023-09-22 21:07:33 -04:00
Ali Mashtizadeh
56bef77cce Fix backspace emulation in the serial console and in fgets() 2023-09-22 21:07:27 -04:00
Emil Tsalapatis
462d4af3eb clarify that bin/cat only takes one argument 2023-09-20 11:48:09 -04:00
Ali Mashtizadeh
fe1f411bdc Create a toolenv for newfs 2023-09-10 21:03:01 -04:00
Ali Mashtizadeh
344c104ceb Use triple to fix the abi issues 2023-09-10 20:56:49 -04:00
Ali Mashtizadeh
fc665b5f5b Forgot to initialize ObjId structure in newfs 2023-09-10 20:56:37 -04:00
Ali Mashtizadeh
b39acb2afd Cleanup docs in assembly routines. 2023-09-10 16:36:43 -04:00
Ali Mashtizadeh
3a21b98358 Merge branch 'master' of ssh://review.rcs.uwaterloo.ca:77/source/castoros 2023-09-10 16:32:09 -04:00
Ali Mashtizadeh
ce4bc130af Cleanup machine.c 2023-09-10 16:32:03 -04:00
Ali Mashtizadeh
ddab13b829 pmap 2023-09-10 16:31:44 -04:00
Ali Mashtizadeh
631603cab3 Fix up documentation 2023-09-10 16:12:25 -04:00
Emil Tsalapatis
534c4871cd added Emil as author 2023-09-10 14:53:35 -04:00
Ali Mashtizadeh
a71bebe92e Adjust tabsize in doxygen 2023-09-09 20:28:00 -04:00
Ali Mashtizadeh
22704368cb Documentation cleanup throughout the kernel 2023-09-09 20:18:08 -04:00
Ali Mashtizadeh
ac1d7e05ee Cleanup documentation add doxygen and README. 2023-09-09 18:15:41 -04:00
Ali Mashtizadeh
a58001cd9e Cleanup and comments in process and thread code and bonus asserts. 2023-09-06 13:51:47 -04:00
Ali Mashtizadeh
a9acaf0489 Cleanup pmapdump* commands 2023-09-06 13:46:47 -04:00
Ali Mashtizadeh
4e7deee132 Fix warning 2023-09-05 22:19:11 -04:00
Ali Mashtizadeh
3bde8dd084 Cleaning up a pile of bugs 2023-09-05 22:18:10 -04:00
Ali Mashtizadeh
b508aaca27 Fix handle use after free 2023-09-05 21:20:02 -04:00
Ali Mashtizadeh
fde5d543a6 Merge branch 'master' of ssh://review.rcs.uwaterloo.ca:77/source/castoros 2023-09-05 17:47:58 -04:00
Ali Mashtizadeh
09f3e260ff NMI now triggers the debugger 2023-09-05 17:47:52 -04:00
Emil Tsalapatis
d0f236206a do not remove process from parent zombie list during Process_Destroy 2023-09-05 17:26:34 -04:00
Emil Tsalapatis
1c88ad598c wake up procs in wait channel during Mutex_Unlock 2023-09-05 16:37:22 -04:00
Ali Mashtizadeh
e991129de9 Free pages in PMap_Destroy and add extra assertions to catch errors in PAlloc. 2023-09-04 16:03:34 -04:00
Ali Mashtizadeh
3e5eeacf09 Add extra ASSERTs to PAlloc_AllocPage 2023-09-03 14:56:44 -04:00
Ali Mashtizadeh
ed9a15e97d Add spawntest to tests directory. 2023-09-03 14:55:51 -04:00
Ali Mashtizadeh
feb45381ba OSWait: Fix waiting on a specific PID 2023-09-03 14:54:14 -04:00
Ali Mashtizadeh
179c862c51 Add spawntest 2023-09-02 18:42:00 -04:00
Ali Mashtizadeh
72341c3c8b Fix WaitChannel_Wake to do nothing if there's no threads to wake up. 2023-09-02 18:41:20 -04:00
Ali Mashtizadeh
d3349d9eaa Adding kernel side Mutex, CV, and testing it with Exit/Wait. 2023-09-02 17:51:10 -04:00
Ali Mashtizadeh
8ce9e523e0 Print currently running threads as well for debugging. 2023-08-30 15:50:41 -04:00
Ali Mashtizadeh
3796627962 Remove sibling calls to make the disassembly cleaner. 2023-08-30 15:12:24 -04:00
Ali Mashtizadeh
1143dc1b3f Merge branch 'master' of ssh://review.rcs.uwaterloo.ca:77/source/castoros 2023-08-30 13:06:18 -04:00
Ali Mashtizadeh
d4839182f9 Remove C++ compiler flags and parameters 2023-08-30 13:06:07 -04:00
Ali Mashtizadeh
f2b35697a5 Remove warning and cleanup console output. 2023-08-30 13:03:55 -04:00
Ali Mashtizadeh
cbf5643974 Add STRICT compile flag. 2023-08-30 12:58:14 -04:00