Ali Mashtizadeh
|
ccebc2fe60
|
Finished Process_Wait implementation
|
2015-01-22 15:00:01 -08:00 |
|
Ali Mashtizadeh
|
9c4761b5f3
|
Fix thread reference counting leak in Semaphore_Acquire
|
2015-01-22 14:51:27 -08:00 |
|
Ali Mashtizadeh
|
2f199cf4ae
|
Have init wait for zombie processes
|
2015-01-22 14:17:56 -08:00 |
|
Ali Mashtizadeh
|
c80577c5e8
|
OSWait now waits for child process to exit
|
2015-01-22 14:11:26 -08:00 |
|
Ali Mashtizadeh
|
534879b0c0
|
Show lock stack when a spinlock waits too long
|
2015-01-22 13:52:02 -08:00 |
|
Ali Mashtizadeh
|
ee3874da77
|
Bug fixes and code cleanup for thread related code
|
2015-01-22 13:04:43 -08:00 |
|
Ali Mashtizadeh
|
7aaf5cbc5f
|
Adding title to process structure and create default kernel process
|
2015-01-22 10:08:09 -08:00 |
|
Ali Mashtizadeh
|
fa1b3c9ed2
|
Fix thread reference counting
|
2015-01-22 09:46:48 -08:00 |
|
Ali Mashtizadeh
|
63c04f37df
|
Moving to using reference counts for process and thread structures.
|
2015-01-20 15:30:11 -08:00 |
|
Ali Mashtizadeh
|
2447babe6a
|
Renaming functions and reorganizing functions in thread.c
|
2015-01-20 15:07:31 -08:00 |
|
Ali Mashtizadeh
|
5808a2564d
|
Implemented CopyStrIn/Out to fix bugginess of using CopyIn/Out wrapping passed a mapped page.
|
2015-01-19 17:57:20 -08:00 |
|
Ali Mashtizadeh
|
5ed248c8ec
|
Cleanup and fixing warnings
|
2015-01-19 17:04:14 -08:00 |
|
Ali Mashtizadeh
|
a0a9f28e25
|
Adding threadtest to the build
|
2015-01-18 15:15:55 -08:00 |
|
Ali Mashtizadeh
|
02c0816e41
|
Adding wait system call
|
2015-01-18 15:08:12 -08:00 |
|
Ali Mashtizadeh
|
4f15c9fd01
|
Improvement to ThreadWait
|
2015-01-18 13:56:15 -08:00 |
|
Ali Mashtizadeh
|
29dd4d3af8
|
Implement kernel semaphores
|
2015-01-18 13:48:16 -08:00 |
|
Ali Mashtizadeh
|
4d3eefa3e7
|
Renaming Timer to KTimer to mach the file names
|
2015-01-17 13:52:04 -08:00 |
|
Ali Mashtizadeh
|
929784bc52
|
Adding threadList to process structure.
|
2015-01-17 13:37:32 -08:00 |
|
Ali Mashtizadeh
|
89ac71a773
|
Remove unnecessary logging from kern/thread.c
|
2015-01-16 20:29:45 -08:00 |
|
Ali Mashtizadeh
|
102520ec1b
|
Remove unnecessary logging from kern/thread.c
|
2015-01-16 20:22:01 -08:00 |
|
Ali Mashtizadeh
|
34c637960a
|
Begin implementing basic pthread functionality.
|
2015-01-16 20:15:47 -08:00 |
|
Ali Mashtizadeh
|
1160570250
|
Implemented OSThreadExit and a nonblocking OSThreadWait
|
2015-01-16 19:41:27 -08:00 |
|
Ali Mashtizadeh
|
db7bb93d56
|
Adding log message to RTC
|
2015-01-16 18:48:15 -08:00 |
|
Ali Mashtizadeh
|
5a3d86aa7b
|
Implemented OSThreadCreate system call
|
2015-01-16 17:57:21 -08:00 |
|
Ali Mashtizadeh
|
114b35bbbc
|
Fix overflow in KTime_GetEpochNS
|
2015-01-16 17:08:29 -08:00 |
|
Ali Mashtizadeh
|
c408b47966
|
Keep track of process wait times
|
2015-01-16 15:25:36 -08:00 |
|
Ali Mashtizadeh
|
6953d03cb3
|
Fix bug in timer wheel
|
2015-01-16 15:25:13 -08:00 |
|
Ali Mashtizadeh
|
a01b839b67
|
Fix bug in KTime_GetEpochNS()
|
2015-01-16 15:16:44 -08:00 |
|
Ali Mashtizadeh
|
2342aefe9e
|
Support sleep(0)
|
2015-01-16 14:52:20 -08:00 |
|
Ali Mashtizadeh
|
37a8bebd1b
|
Expose POSIX sleep
|
2015-01-16 14:51:03 -08:00 |
|
Ali Mashtizadeh
|
60799c824e
|
Support thread sleep system call
|
2015-01-16 14:50:10 -08:00 |
|
Ali Mashtizadeh
|
35b633417f
|
Fix time keeping, TSC ticks per second, and implement generic timer infrastructure.
|
2015-01-16 14:32:47 -08:00 |
|
Ali Mashtizadeh
|
64f2ca2259
|
Fix a bug in the scheduler
|
2015-01-15 21:24:15 -08:00 |
|
Ali Mashtizadeh
|
e1f9737450
|
Improve slab debugging
|
2015-01-15 21:24:04 -08:00 |
|
Ali Mashtizadeh
|
858f3cff69
|
Plumbing thread related system calls into user-level
|
2015-01-14 14:57:47 -08:00 |
|
Ali Mashtizadeh
|
156e25fcc5
|
Improving process debugging code and scheduler queues
|
2015-01-14 14:44:32 -08:00 |
|
Ali Mashtizadeh
|
9d9f301bdd
|
Begin refactoring to support both threads and processes
|
2015-01-14 14:28:43 -08:00 |
|
Ali Mashtizadeh
|
c74592a3ba
|
Merge branch 'master' of bitbucket.org:/mashtizadeh/castor
|
2015-01-05 17:06:55 -08:00 |
|
Ali Mashtizadeh
|
408cb2adc0
|
Cleanup thread and loader code
|
2015-01-05 17:06:35 -08:00 |
|
Ali Mashtizadeh
|
88f4a73df7
|
Implemented a simple malloc and a few minor fixes
|
2015-01-04 22:10:37 -08:00 |
|
Ali Mashtizadeh
|
7ecac84809
|
Enable fprintf for user level asserts.
|
2015-01-02 16:23:53 -08:00 |
|
Ali Mashtizadeh
|
03061ed968
|
Fallout from refactoring and readdir wrappers.
|
2015-01-02 16:13:53 -08:00 |
|
Ali Mashtizadeh
|
582f83ca54
|
Rename userlevel system call wrappers
|
2015-01-02 14:04:14 -08:00 |
|
Ali Mashtizadeh
|
9b4e8af58c
|
Basic NIC enumeration and wrapping
|
2014-12-31 19:31:25 -08:00 |
|
Ali Mashtizadeh
|
907baa75a7
|
Fix bug that caused a crash if an interrupt was triggered while loading a binary.
|
2014-12-30 21:13:29 -08:00 |
|
Ali Mashtizadeh
|
9a4ad50d34
|
Fixing some pmap issues with regards to the loader
|
2014-12-30 20:40:02 -08:00 |
|
Ali Mashtizadeh
|
266dfcc857
|
Basic time functions and fix time system call
|
2014-12-30 17:54:42 -08:00 |
|
Ali Mashtizadeh
|
79a55fc518
|
Fix bug in E1000 tx initialization
|
2014-12-30 15:56:18 -08:00 |
|
Ali Mashtizadeh
|
babed0bfae
|
Add files to gitignore
|
2014-12-30 12:54:52 -08:00 |
|
Ali Mashtizadeh
|
9ea5850518
|
Test code verified RX interrupt handling works correctly
|
2014-12-30 12:23:30 -08:00 |
|