Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Process exiting & thread termination. IMPORTANT NOTE FOLLOWS. | Alex Auvolat | 2015-03-04 | 8 | -84/+219 |
| | | | | | | | | 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 | 5 | -28/+193 |
| | |||||
* | Add prototypes for process management... | Alex Auvolat | 2015-03-03 | 4 | -16/+64 |
| | |||||
* | Add comment about vfs_handle_t | Alex Auvolat | 2015-03-02 | 1 | -0/+3 |
| | |||||
* | Change VFS interface : handles no longer visible to underlying FS. | Alex Auvolat | 2015-03-02 | 7 | -233/+139 |
| | |||||
* | Fix VFS reference counting. | Alex Auvolat | 2015-03-02 | 1 | -17/+16 |
| | |||||
* | More uses of free_some_memory() | Alex Auvolat | 2015-03-02 | 3 | -7/+20 |
| | |||||
* | No lazy allocation of kernel memory. Placeholder for pmem freeing routine. | Alex Auvolat | 2015-03-02 | 8 | -15/+70 |
| | |||||
* | Setup critical section management for parts that must not be interrupted. | Alex Auvolat | 2015-03-02 | 7 | -45/+65 |
| | |||||
* | IRQ handlers must be written with caution! | Alex Auvolat | 2015-02-28 | 2 | -3/+16 |
| | |||||
* | Implement fs_subfs (it's simple, really) ; add placeholders for more syscalls | Alex Auvolat | 2015-02-24 | 4 | -3/+122 |
| | |||||
* | Fix calculations in iso9660_fh_read | Alex Auvolat | 2015-02-24 | 2 | -20/+16 |
| | |||||
* | Another important lesson. | Alex Auvolat | 2015-02-24 | 1 | -1/+1 |
| | |||||
* | Complete ISO9660 impl ; some strange wtf is going on. | Alex Auvolat | 2015-02-24 | 4 | -3/+300 |
| | |||||
* | Fix a bug (dispose in pciide should not exist) | Alex Auvolat | 2015-02-24 | 4 | -19/+28 |
| | |||||
* | Change VFS a bit : the root directory of a fs is now a pointer. Fix tests. | Alex Auvolat | 2015-02-24 | 5 | -57/+61 |
| | |||||
* | More preparation for iso9660 | Alex Auvolat | 2015-02-24 | 3 | -5/+126 |
| | |||||
* | Make way for ISO 9660 driver. | Alex Auvolat | 2015-02-24 | 4 | -10/+135 |
| | |||||
* | Add PCI IDE driver (only PIO mode, no DMA yet.) | Alex Auvolat | 2015-02-24 | 9 | -14/+925 |
| | |||||
* | PCI enumeration ; rename dev:/ to io:/ | Alex Auvolat | 2015-02-24 | 7 | -28/+338 |
| | |||||
* | Change mode of operation for mmap_file (see readme) | Alex Auvolat | 2015-02-20 | 8 | -34/+68 |
| | |||||
* | Think a bit ; ioctls only on open file descriptors. | Alex Auvolat | 2015-02-20 | 5 | -61/+9 |
| | |||||
* | Add kernel worker threads for handling various tasks (eg. interrupts) | Alex Auvolat | 2015-02-19 | 7 | -9/+157 |
| | |||||
* | Remove global locking on handles by VFS ; adapt nullfs. | Alex Auvolat | 2015-02-19 | 3 | -40/+32 |
| | |||||
* | Add syscall for ioctl on open handle | Alex Auvolat | 2015-02-19 | 3 | -4/+31 |
| | |||||
* | Userland test infrastructure | Alex Auvolat | 2015-02-19 | 1 | -1/+1 |
| | |||||
* | Several things : | Alex Auvolat | 2015-02-19 | 5 | -26/+44 |
| | | | | | | | - 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 | 3 | -3/+257 |
| | |||||
* | Implement userspace malloc | Alex Auvolat | 2015-02-19 | 3 | -14/+41 |
| | |||||
* | Make VFS thread-safe, probably. | Alex Auvolat | 2015-02-19 | 3 | -36/+145 |
| | |||||
* | Make nullfs thread-safe (maybe in an overkill manner, but it doesn't cost ↵ | Alex Auvolat | 2015-02-19 | 1 | -10/+26 |
| | | | | mutch). | ||||
* | Moving files. | Alex Auvolat | 2015-02-15 | 1 | -1/+1 |
| | |||||
* | Fix mchmap. Lesson : invalid pointer dereferences happen! with unexpected ↵ | Alex Auvolat | 2015-02-14 | 2 | -8/+10 |
| | | | | results. | ||||
* | Many things : | Alex Auvolat | 2015-02-14 | 8 | -67/+99 |
| | | | | | | - 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 | 2 | -14/+34 |
| | |||||
* | Add btree_remove_v to selectively remove bindings that have a key | Alex Auvolat | 2015-02-14 | 1 | -0/+1 |
| | |||||
* | Add first btree test ; fix first btree test. | Alex Auvolat | 2015-02-14 | 3 | -5/+5 |
| | |||||
* | Rearrange testing architecture : just type 'make run_tests' | Alex Auvolat | 2015-02-14 | 3 | -192/+29 |
| | |||||
* | Change hashtbl memory freeing method | Alex Auvolat | 2015-02-14 | 4 | -12/+12 |
| | |||||
* | Change a bit of structure | Alex Auvolat | 2015-02-14 | 4 | -34/+32 |
| | |||||
* | Begin implementation of syscalls. | Alex Auvolat | 2015-02-13 | 8 | -9/+117 |
| | |||||
* | Implement ELF loading ; arrange so that user processes run. | Alex Auvolat | 2015-02-13 | 8 | -16/+172 |
| | |||||
* | Reorganize code in preparation for user apps. | Alex Auvolat | 2015-02-13 | 2 | -5/+3 |
| | |||||
* | Implement some handling of user stuff... | Alex Auvolat | 2015-02-13 | 6 | -46/+159 |
| | |||||
* | Implement switching to usermode. | Alex Auvolat | 2015-02-13 | 5 | -6/+71 |
| | |||||
* | Add stubs for process-related functions. | Alex Auvolat | 2015-02-13 | 5 | -18/+165 |
| | |||||
* | Prepare for user memory management and usermode code | Alex Auvolat | 2015-02-13 | 6 | -50/+94 |
| | |||||
* | Isolate cmdline test ; rename tests. | Alex Auvolat | 2015-02-13 | 1 | -16/+27 |
| | |||||
* | Cleanup output. | Alex Auvolat | 2015-02-13 | 5 | -51/+80 |
| |