aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/user
Commit message (Collapse)AuthorAgeFilesLines
* Require all fs_handle_t objects to point to a node.Alex Auvolat2015-03-093-40/+73
|
* Implement select ; add two tests for channels.Alex Auvolat2015-03-084-1/+86
|
* Implement missing syscalls.Alex Auvolat2015-03-081-0/+83
|
* Tokens.Alex Auvolat2015-03-081-0/+114
|
* Change prototypes for read, write, readdir, close ; implement blocking IPC.Alex Auvolat2015-03-083-62/+79
|
* Channels.Alex Auvolat2015-03-081-0/+162
|
* Change VFS a bit in preparation for IPC code : ...Alex Auvolat2015-03-081-11/+13
| | | | | Handles now have a copy of data and ops, and may reference a null node in the case of an IPC channel.
* Implement wait and exec.Alex Auvolat2015-03-072-5/+190
|
* Implement some missing syscalls.Alex Auvolat2015-03-072-21/+205
|
* Fix stupid forget-to-unreference bug.Alex Auvolat2015-03-041-1/+5
|
* Process exiting & thread termination. IMPORTANT NOTE FOLLOWS.Alex Auvolat2015-03-042-41/+66
| | | | | | | | 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.
* TY tito.Alex Auvolat2015-03-031-0/+1
|
* Implement process termination and cleaning up (not completely though)Alex Auvolat2015-03-032-25/+137
|
* Add prototypes for process management...Alex Auvolat2015-03-032-10/+34
|
* Change VFS interface : handles no longer visible to underlying FS.Alex Auvolat2015-03-024-127/+68
|
* Fix VFS reference counting.Alex Auvolat2015-03-021-17/+16
|
* More uses of free_some_memory()Alex Auvolat2015-03-021-4/+3
|
* Setup critical section management for parts that must not be interrupted.Alex Auvolat2015-03-021-1/+1
|
* Implement fs_subfs (it's simple, really) ; add placeholders for more syscallsAlex Auvolat2015-02-243-2/+118
|
* Change VFS a bit : the root directory of a fs is now a pointer. Fix tests.Alex Auvolat2015-02-242-42/+53
|
* Change mode of operation for mmap_file (see readme)Alex Auvolat2015-02-203-20/+30
|
* Think a bit ; ioctls only on open file descriptors.Alex Auvolat2015-02-203-44/+6
|
* Add kernel worker threads for handling various tasks (eg. interrupts)Alex Auvolat2015-02-191-0/+6
|
* Remove global locking on handles by VFS ; adapt nullfs.Alex Auvolat2015-02-192-39/+32
|
* Add syscall for ioctl on open handleAlex Auvolat2015-02-192-1/+22
|
* Several things :Alex Auvolat2015-02-192-22/+40
| | | | | | | - disambiguate syscall.h : kernel syscall.h moved to sct.h - fix btree_remove_v !! (munmap fucked up stuff before) - make nullfs's directory listing non-exclusive (it actually copies the listing on open() and readdir()'s from that copy)
* Implement basic syscalls...Alex Auvolat2015-02-192-1/+251
|
* Implement userspace mallocAlex Auvolat2015-02-192-10/+40
|
* Make VFS thread-safe, probably.Alex Auvolat2015-02-192-28/+122
|
* Make nullfs thread-safe (maybe in an overkill manner, but it doesn't cost ↵Alex Auvolat2015-02-191-10/+26
| | | | mutch).
* Fix mchmap. Lesson : invalid pointer dereferences happen! with unexpected ↵Alex Auvolat2015-02-141-1/+1
| | | | results.
* Many things :Alex Auvolat2015-02-142-10/+54
| | | | | | - fix context switching (it actually worked only because of optimizations!) - complete mchmap implementation - adjust elf parser to load binaries correctly even without FM_MMAP
* Use btrees to find memory regions.Alex Auvolat2015-02-141-14/+32
|
* Add btree_remove_v to selectively remove bindings that have a keyAlex Auvolat2015-02-141-0/+1
|
* Change hashtbl memory freeing methodAlex Auvolat2015-02-143-8/+8
|
* Change a bit of structureAlex Auvolat2015-02-143-29/+20
|
* Begin implementation of syscalls.Alex Auvolat2015-02-132-1/+89
|
* Implement ELF loading ; arrange so that user processes run.Alex Auvolat2015-02-132-0/+78
|
* Implement some handling of user stuff...Alex Auvolat2015-02-131-37/+145
|
* Implement switching to usermode.Alex Auvolat2015-02-131-4/+42
|
* Add stubs for process-related functions.Alex Auvolat2015-02-131-1/+124
|
* Cleanup output.Alex Auvolat2015-02-131-0/+3
|
* Complete nullfs : create, delete, trunc, read, writeAlex Auvolat2015-02-132-11/+169
|
* Unlink function now called delete() (becaue that's what it does)Alex Auvolat2015-02-132-9/+9
|
* Change semantics of VFS :Alex Auvolat2015-02-131-10/+48
| | | | | - nodes can be loaded in ram only once (nodes identified by their path) - unlink() can only be called if the node to be deleted is not used (not in ram)
* Begin implementation of nullfs.Alex Auvolat2015-02-122-232/+291
|
* Adjust nullfs headerAlex Auvolat2015-02-121-3/+11
|
* Implement walk_path_except_lastAlex Auvolat2015-02-121-5/+52
|
* Begin ajusting vfs.cAlex Auvolat2015-02-121-14/+144
|
* Add ioctl support in nullfs.Alex Auvolat2015-02-091-1/+13
|