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 |
|
Ali Mashtizadeh
|
52377a980c
|
Add waitchannels into the kernel.
|
2023-08-30 12:49:23 -04:00 |
|
Ali Mashtizadeh
|
1c2848207d
|
Make sure test asserts are always included.
|
2023-08-30 12:46:17 -04:00 |
|
Ali Mashtizadeh
|
67578f14b7
|
Add lock and malloc annotations to the code.
|
2023-08-30 12:45:51 -04:00 |
|
Ali Mashtizadeh
|
562cfeec44
|
x86 ide: Remove unlock in IDE_Identify when failing to select the drive.
|
2023-08-27 16:57:38 -04:00 |
|
Ali Mashtizadeh
|
0f2f6df2bf
|
Add EPERM to errno.h
|
2023-08-27 16:56:13 -04:00 |
|
Ali Mashtizadeh
|
9e1002d0c7
|
Add compile_commands.json to gitignore
|
2023-08-22 22:04:44 -04:00 |
|
Ali Mashtizadeh
|
91e2e76c91
|
Add printf checking
|
2023-08-22 22:03:53 -04:00 |
|
Ali Mashtizadeh
|
06e247a401
|
Add NO_RETURN to abort and assert functions.
|
2023-08-22 21:53:26 -04:00 |
|
Ali Mashtizadeh
|
53161c2c95
|
Improve SConstruct file to improve compatability and expose the compiledb.
|
2023-08-22 18:03:24 -04:00 |
|
Ali Mashtizadeh
|
5295c3c8d2
|
Fix warnings from old style C code.
|
2023-08-22 18:02:12 -04:00 |
|
Ali Mashtizadeh
|
1df34b2d2e
|
Cleanup loader and unify init and spawn paths.
|
2023-08-21 22:06:57 -04:00 |
|
Ali Mashtizadeh
|
1676ae4056
|
Add sched and process to kernel build.
|
2023-08-21 18:39:26 -04:00 |
|
Ali Mashtizadeh
|
ff7c6309b7
|
Split up thread.c into thread, process and scheduler files.
|
2023-08-21 18:38:51 -04:00 |
|
Ali Mashtizadeh
|
e4ca21fa2e
|
Destroy spinlock when destroying the semaphore
|
2023-08-21 18:36:54 -04:00 |
|
Ali Mashtizadeh
|
c1b7d47be9
|
Update license
|
2023-08-21 17:44:50 -04:00 |
|
Ali Mashtizadeh
|
7a6ec996ae
|
Cleanup sysctl command
|
2023-08-21 17:01:14 -04:00 |
|
Ali Mashtizadeh
|
c4f5deba68
|
Add EACCES errno
|
2023-08-21 17:00:37 -04:00 |
|
Ali Mashtizadeh
|
8a737aea8e
|
Fix typeo in atoi when copying from kdb
|
2023-08-21 17:00:18 -04:00 |
|
Ali Mashtizadeh
|
1a67c4841b
|
Fix argument passing and cleanup sysctl
|
2023-08-21 16:57:54 -04:00 |
|
Ali Mashtizadeh
|
765bde0c82
|
Add basic breakpoint support to kdb
|
2023-08-21 16:42:29 -04:00 |
|
Ali Mashtizadeh
|
0a11ea3e50
|
Separate echo from shell
|
2023-08-21 00:28:15 -04:00 |
|
Ali Mashtizadeh
|
0804766a40
|
Cleanup logging throughout kernel
|
2023-08-20 19:08:26 -04:00 |
|
Ali Mashtizadeh
|
45928b97a8
|
Document initialization on AMD64
|
2023-08-20 19:06:38 -04:00 |
|
Ali Mashtizadeh
|
c8f6294511
|
Fix address printing in Debug_HexDump
|
2023-08-20 19:05:59 -04:00 |
|
Ali Mashtizadeh
|
fa2c3487af
|
Add atoi to stdlib
|
2023-08-20 19:05:08 -04:00 |
|
Ali Mashtizadeh
|
2718379e6d
|
Add argument passing
|
2023-08-20 19:04:28 -04:00 |
|
Ali Mashtizadeh
|
e261ccdcec
|
Add calloc to libc
|
2023-08-19 22:14:06 -04:00 |
|
Ali Mashtizadeh
|
febc7b7997
|
Support loading unaligned binaries
|
2023-08-16 23:05:52 -04:00 |
|
Ali Mashtizadeh
|
a7c7a06a5b
|
Change debug shell from > to kdbg>
|
2022-12-10 01:08:36 -05:00 |
|
Ali Mashtizadeh
|
f5eaced208
|
Add pcilist debug command and bonus cleanup
|
2022-12-10 01:08:20 -05:00 |
|
Ali Mashtizadeh
|
54e9da89c5
|
Fix SConstruct indentation bug in CopyTree
|
2022-12-10 01:07:35 -05:00 |
|
Ali Mashtizadeh
|
19b1bf216f
|
Split date out of shell
|
2022-12-10 01:01:38 -05:00 |
|
Ali Mashtizadeh
|
dfff32378c
|
Style fixes
|
2022-12-09 23:51:59 -05:00 |
|
Ali Mashtizadeh
|
f86e4ad966
|
Cleanup and commenting source code
|
2022-12-09 23:51:45 -05:00 |
|
Ali Mashtizadeh
|
88cbddb3ad
|
Split up cat and ls
|
2022-12-09 23:37:47 -05:00 |
|
Ali Mashtizadeh
|
98a9fc5a6f
|
Update SConstruct to Python3
|
2022-12-09 23:29:49 -05:00 |
|
Ali Mashtizadeh
|
04b709f3b3
|
Cleanup: Disable LWIP and address compiler warnings
|
2019-07-31 17:30:50 -04:00 |
|