Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement missing syscalls. | Alex Auvolat | 2015-03-08 | 1 | -0/+83 |
| | |||||
* | Tokens. | Alex Auvolat | 2015-03-08 | 1 | -0/+114 |
| | |||||
* | Change prototypes for read, write, readdir, close ; implement blocking IPC. | Alex Auvolat | 2015-03-08 | 3 | -62/+79 |
| | |||||
* | Channels. | Alex Auvolat | 2015-03-08 | 1 | -0/+162 |
| | |||||
* | Change VFS a bit in preparation for IPC code : ... | Alex Auvolat | 2015-03-08 | 1 | -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 Auvolat | 2015-03-07 | 2 | -5/+190 |
| | |||||
* | Implement some missing syscalls. | Alex Auvolat | 2015-03-07 | 2 | -21/+205 |
| | |||||
* | Fix stupid forget-to-unreference bug. | Alex Auvolat | 2015-03-04 | 1 | -1/+5 |
| | |||||
* | Process exiting & thread termination. IMPORTANT NOTE FOLLOWS. | Alex Auvolat | 2015-03-04 | 2 | -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 Auvolat | 2015-03-03 | 1 | -0/+1 |
| | |||||
* | Implement process termination and cleaning up (not completely though) | Alex Auvolat | 2015-03-03 | 2 | -25/+137 |
| | |||||
* | Add prototypes for process management... | Alex Auvolat | 2015-03-03 | 2 | -10/+34 |
| | |||||
* | Change VFS interface : handles no longer visible to underlying FS. | Alex Auvolat | 2015-03-02 | 4 | -127/+68 |
| | |||||
* | Fix VFS reference counting. | Alex Auvolat | 2015-03-02 | 1 | -17/+16 |
| | |||||
* | More uses of free_some_memory() | Alex Auvolat | 2015-03-02 | 1 | -4/+3 |
| | |||||
* | Setup critical section management for parts that must not be interrupted. | Alex Auvolat | 2015-03-02 | 1 | -1/+1 |
| | |||||
* | Implement fs_subfs (it's simple, really) ; add placeholders for more syscalls | Alex Auvolat | 2015-02-24 | 3 | -2/+118 |
| | |||||
* | Change VFS a bit : the root directory of a fs is now a pointer. Fix tests. | Alex Auvolat | 2015-02-24 | 2 | -42/+53 |
| | |||||
* | Change mode of operation for mmap_file (see readme) | Alex Auvolat | 2015-02-20 | 3 | -20/+30 |
| | |||||
* | Think a bit ; ioctls only on open file descriptors. | Alex Auvolat | 2015-02-20 | 3 | -44/+6 |
| | |||||
* | Add kernel worker threads for handling various tasks (eg. interrupts) | Alex Auvolat | 2015-02-19 | 1 | -0/+6 |
| | |||||
* | Remove global locking on handles by VFS ; adapt nullfs. | Alex Auvolat | 2015-02-19 | 2 | -39/+32 |
| | |||||
* | Add syscall for ioctl on open handle | Alex Auvolat | 2015-02-19 | 2 | -1/+22 |
| | |||||
* | Several things : | Alex Auvolat | 2015-02-19 | 2 | -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 Auvolat | 2015-02-19 | 2 | -1/+251 |
| | |||||
* | Implement userspace malloc | Alex Auvolat | 2015-02-19 | 2 | -10/+40 |
| | |||||
* | Make VFS thread-safe, probably. | Alex Auvolat | 2015-02-19 | 2 | -28/+122 |
| | |||||
* | Make nullfs thread-safe (maybe in an overkill manner, but it doesn't cost ↵ | Alex Auvolat | 2015-02-19 | 1 | -10/+26 |
| | | | | mutch). | ||||
* | Fix mchmap. Lesson : invalid pointer dereferences happen! with unexpected ↵ | Alex Auvolat | 2015-02-14 | 1 | -1/+1 |
| | | | | results. | ||||
* | Many things : | Alex Auvolat | 2015-02-14 | 2 | -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 Auvolat | 2015-02-14 | 1 | -14/+32 |
| | |||||
* | Add btree_remove_v to selectively remove bindings that have a key | Alex Auvolat | 2015-02-14 | 1 | -0/+1 |
| | |||||
* | Change hashtbl memory freeing method | Alex Auvolat | 2015-02-14 | 3 | -8/+8 |
| | |||||
* | Change a bit of structure | Alex Auvolat | 2015-02-14 | 3 | -29/+20 |
| | |||||
* | Begin implementation of syscalls. | Alex Auvolat | 2015-02-13 | 2 | -1/+89 |
| | |||||
* | Implement ELF loading ; arrange so that user processes run. | Alex Auvolat | 2015-02-13 | 2 | -0/+78 |
| | |||||
* | Implement some handling of user stuff... | Alex Auvolat | 2015-02-13 | 1 | -37/+145 |
| | |||||
* | Implement switching to usermode. | Alex Auvolat | 2015-02-13 | 1 | -4/+42 |
| | |||||
* | Add stubs for process-related functions. | Alex Auvolat | 2015-02-13 | 1 | -1/+124 |
| | |||||
* | Cleanup output. | Alex Auvolat | 2015-02-13 | 1 | -0/+3 |
| | |||||
* | Complete nullfs : create, delete, trunc, read, write | Alex Auvolat | 2015-02-13 | 2 | -11/+169 |
| | |||||
* | Unlink function now called delete() (becaue that's what it does) | Alex Auvolat | 2015-02-13 | 2 | -9/+9 |
| | |||||
* | Change semantics of VFS : | Alex Auvolat | 2015-02-13 | 1 | -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 Auvolat | 2015-02-12 | 2 | -232/+291 |
| | |||||
* | Adjust nullfs header | Alex Auvolat | 2015-02-12 | 1 | -3/+11 |
| | |||||
* | Implement walk_path_except_last | Alex Auvolat | 2015-02-12 | 1 | -5/+52 |
| | |||||
* | Begin ajusting vfs.c | Alex Auvolat | 2015-02-12 | 1 | -14/+144 |
| | |||||
* | Add ioctl support in nullfs. | Alex Auvolat | 2015-02-09 | 1 | -1/+13 |
| | |||||
* | Add stating on open files | Alex Auvolat | 2015-02-09 | 1 | -4/+50 |
| | |||||
* | Forgot something | Alex Auvolat | 2015-02-09 | 1 | -1/+3 |
| |