aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/core/thread.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove kernel region pf handlers ; fix forget-to-zero-out bug.Alex Auvolat2015-03-091-1/+1
|
* Partial implement VFS pager (enough for ISO9660!)Alex Auvolat2015-03-091-1/+1
| | | | Also add some debugging facilities (especially stack trace).
* Implement select ; add two tests for channels.Alex Auvolat2015-03-081-28/+58
|
* Add two entropy sources. Warning: prng is not secure in any way, I have no ↵Alex Auvolat2015-03-081-0/+4
| | | | knowlege of such things.
* Update readme ; change time-related function names.Alex Auvolat2015-03-071-2/+2
|
* Process exiting & thread termination. IMPORTANT NOTE FOLLOWS.Alex Auvolat2015-03-041-20/+90
| | | | | | | | Threads may now communicate via wait_on(void* ressource) and resume_on (void* ressource). Previous pause() is replaced by wait_on(current_thread) and resume(thread) by resume_on(thread). wait_on(x) may return false, indicating that the reason for returning is NOT that resume_on(x) was called but something else happenned. Typically false indicates that the curent thread is being killed and must terminate its kernel-land processing as soon as possible.
* Implement process termination and cleaning up (not completely though)Alex Auvolat2015-03-031-2/+53
|
* More uses of free_some_memory()Alex Auvolat2015-03-021-1/+7
|
* No lazy allocation of kernel memory. Placeholder for pmem freeing routine.Alex Auvolat2015-03-021-3/+6
|
* Setup critical section management for parts that must not be interrupted.Alex Auvolat2015-03-021-28/+33
|
* Change mode of operation for mmap_file (see readme)Alex Auvolat2015-02-201-0/+4
|
* Add kernel worker threads for handling various tasks (eg. interrupts)Alex Auvolat2015-02-191-1/+18
|
* Many things :Alex Auvolat2015-02-141-3/+3
| | | | | | - fix context switching (it actually worked only because of optimizations!) - complete mchmap implementation - adjust elf parser to load binaries correctly even without FM_MMAP
* Reorganize code in preparation for user apps.Alex Auvolat2015-02-131-4/+2
|
* Implement some handling of user stuff...Alex Auvolat2015-02-131-1/+1
|
* Implement switching to usermode.Alex Auvolat2015-02-131-1/+2
|
* Prepare for user memory management and usermode codeAlex Auvolat2015-02-131-5/+12
|
* Change semantics of pd_map_page to return true on success, false on error.Alex Auvolat2015-02-091-1/+4
|
* Reorganize all.Alex Auvolat2015-02-091-0/+208