Commit Graph

  • 367e455506 Fixed compilation errors for filldir/sys_readdir() changes. Bahadir Balban 2008-04-12 18:03:49 +01:00
  • d7b06b5304 sys_readdir and root vnode fixes. Bahadir Balban 2008-04-12 17:57:45 +01:00
  • 5e0ec2db85 Readme grammar fix Bahadir Balban 2008-04-09 18:30:18 +01:00
  • 81ebffdc87 VFS updates, readme updates. Bahadir Balban 2008-04-09 16:55:54 +01:00
  • dd3f35bbd4 Moved vnum to priv_data of vm_file since its only related to vfs files. Bahadir Balban 2008-03-25 23:32:51 +00:00
  • 4b1abc60a6 Various minor fixes. Bahadir Balban 2008-03-24 22:39:21 +00:00
  • 13b9e5407a Removed non-standard allocation of mm0 utcb. Bahadir Balban 2008-03-24 00:46:31 +00:00
  • 35d2d275b6 Multiple above-minor updates. Bahadir Balban 2008-03-24 00:34:14 +00:00
  • 82a7228d89 Prefaulting of utcb pages seem to work. Bahadir Balban 2008-03-22 15:57:20 +00:00
  • 0dfbde6bc0 Update to README Bahadir Balban 2008-03-21 19:38:46 +00:00
  • d0084b2ee0 Trivial changes in comments for copy_on_write. Bahadir Balban 2008-03-21 16:06:08 +00:00
  • 0b279081b6 shm file didn't initialise with VM_WRITE. Added that. Bahadir Balban 2008-03-21 16:00:20 +00:00
  • b369ff6efe Added copy-on-write shared memory but untested yet. Bahadir Balban 2008-03-21 15:40:54 +00:00
  • 466138f125 shmat/shmget for utcbs are working for now. Bahadir Balban 2008-03-19 22:26:38 +00:00
  • 55d24dbbdf Managed to pass utcb information to tasks via an ipc() call. Bahadir Balban 2008-03-19 02:55:31 +00:00
  • 16617eed36 Various changes to incorporate new utcb setup. Bahadir Balban 2008-03-19 02:27:53 +00:00
  • ac3935a5d9 Initial efforts to transform utcb handling. Bahadir Balban 2008-03-18 21:50:47 +00:00
  • 26e6366014 Added a memlayout.txt, revised README, reduced env size to 4kb Bahadir Balban 2008-03-18 18:21:09 +00:00
  • d2aa9a552b Minor changes in README. Added fault debugging printfs that can be turned on/off. Bahadir Balban 2008-03-17 17:09:19 +00:00
  • 509e949983 Added a few vm_object debug functions. Fixed few bugs. Bahadir Balban 2008-03-16 18:57:26 +00:00
  • 0f4a4ae5b4 Changes in README. Fixes to fault handling. Bahadir Balban 2008-03-16 14:58:47 +00:00
  • 1cc6a87547 Previous commit. Bahadir Balban 2008-03-14 18:53:53 +00:00
  • b0900ad6c3 Forgotten to add vma to file reference in do_mmap(). This adds that. Bahadir Balban 2008-03-14 15:39:25 +00:00
  • ed68f934aa Fixed few more issues Bahadir Balban 2008-03-14 15:39:00 +00:00
  • dc3b63d924 Fixed detection of devzero file. Bahadir Balban 2008-03-14 15:37:10 +00:00
  • 2ecc7612c3 Fixed the error that file length was referenced without checking that the file pointer was valid. Bahadir Balban 2008-03-14 15:36:25 +00:00
  • 285e39870f Added #ifdef flags for enable/disabling data abort messages from c0 Bahadir Balban 2008-03-14 15:35:41 +00:00
  • 4f87b6672e Few map_address fixes to mmap() Bahadir Balban 2008-03-13 00:56:21 +00:00
  • d27f942702 Very minor fixes. Bahadir Balban 2008-03-13 00:40:12 +00:00
  • e304bb26c6 Clarified handling of anon and non-anon shared mappings. Bahadir Balban 2008-03-12 23:10:50 +00:00
  • d718b8efd5 Got mm0 to compile. A lot of issues expected. Bahadir Balban 2008-03-12 22:58:26 +00:00
  • cd79fa8f58 Fixed most compiler errors. Need to do more. Bahadir Balban 2008-03-12 22:20:32 +00:00
  • 8447cd6ce3 Fixed minor faults. More progress on vma merge. Bahadir Balban 2008-03-11 01:07:44 +00:00
  • e8561aa541 Minor updates to README Bahadir Balban 2008-03-10 23:19:00 +00:00
  • 47a6a31249 More progress on VMA merge/shadow collapse. Bahadir Balban 2008-03-10 18:38:08 +00:00
  • 584815a4db Bit more progress on dropping the vm_obj_link upon a collapse. Bahadir Balban 2008-03-09 01:18:33 +00:00
  • ed23d82fd7 More progress on copy_on_write(). Bahadir Balban 2008-03-09 00:19:55 +00:00
  • 7a54d722a7 Initial efforts to add copy on write and shadow vmas. Bahadir Balban 2008-03-07 18:35:40 +00:00
  • 98b5c217f5 Revised mmap, implemented find_unmapped_area properly. Bahadir Balban 2008-03-07 00:30:30 +00:00
  • 783904574d Revised task initialisation, revising mmap yet. Bahadir Balban 2008-03-06 20:55:46 +00:00
  • 5681f3d1cb More changes. Bahadir Balban 2008-03-05 01:59:31 +00:00
  • 58b833dd7f Forks and COW situations show that we need vm objects rather than vm_files. This is the first commit towards implementing vm object based paging with right COW methods. Bahadir Balban 2008-03-03 22:05:01 +00:00
  • e2e6c89da2 Prepare to reimplement copy-on-write. previous commit stable. Bahadir Balban 2008-03-01 15:15:36 +00:00
  • 4f346cea53 Added the first means to pass information between 2 tasks using the utcb as a shared page instead of the message registers. Bahadir Balban 2008-02-29 21:56:05 +00:00
  • 55117c600b Back to the same fs0 bug point as before, but environment, disjoint utcb addresses and passing of utcb address information via the environment are implemented. Bahadir Balban 2008-02-29 12:33:53 +00:00
  • 617d24b4f0 Modified task initialisation so that stack now comes beneath the environment Bahadir Balban 2008-02-29 01:43:56 +00:00
  • 5b7bb88008 Wrote the bits that would fill in arg/env info to first page of task stack. Bahadir Balban 2008-02-28 00:40:43 +00:00
  • e7b0e46065 Preparing to add utcbs at disjoint virtual addresses. Bahadir Balban 2008-02-28 00:25:04 +00:00
  • 6e6a92be8b Minor readme fix. Bahadir Balban 2008-02-27 01:24:02 +00:00
  • 0c9b42121a Adds reading pages into page-cache in an ordered manner. Bahadir Balban 2008-02-27 01:17:36 +00:00
  • 2a5cdf80b5 incomplete changes for sys_write/sys_close Bahadir Balban 2008-02-20 22:47:22 +00:00
  • f078116901 Added per-task curdir. and chdir, pager_read/write, mmap and munmap calls. Bahadir Balban 2008-02-20 00:50:03 +00:00
  • a160f6f151 Added vfs_read and vfs_write ipc calls to mm0 Bahadir Balban 2008-02-18 22:42:33 +00:00
  • c5713ae37d Add file.h to mm0 Bahadir Balban 2008-02-18 22:29:09 +00:00
  • d67d6b84a9 Wiring between mm0 page cache and vfs almost what it should look like. Bahadir Balban 2008-02-18 22:26:39 +00:00
  • 0fdc64ba2d Added vfs_create() to create files and directories. Bahadir Balban 2008-02-16 15:22:08 +00:00
  • 08b1e0e42c Adds tracking of hardlinks when reading a directory. Bahadir Balban 2008-02-16 12:36:50 +00:00
  • 09bd001e1a Added sys_mkdir and memfs_vnode_mkdir() functions. Untested but all implemented. Bahadir Balban 2008-02-15 17:32:41 +00:00
  • 5de93f707c Fixed lookup return value. Now using generic_lookup directy, i.e. not through a vnode, because it really isn't fs-specific. Bahadir Balban 2008-02-15 12:22:07 +00:00
  • 7bbc21d105 Another minor fix in lookup.c Bahadir Balban 2008-02-14 21:32:39 +00:00
  • 329dc53982 FS0 compiles with the changes, also caught an unparanthesised double-statement if clause in lookup.c Bahadir Balban 2008-02-14 21:23:49 +00:00
  • b54a0f78e8 minor commit just to be able to push Bahadir Balban 2008-02-14 19:55:10 +00:00
  • 1b387a1704 Implemented vfs_lookup_byvnum() close to what it should look like. Bahadir Balban 2008-02-14 15:46:30 +00:00
  • d3b6817887 Some more additional changes in same places. Bahadir Balban 2008-02-14 15:13:08 +00:00
  • a989e1f774 sys_readdir and memfs_readdir closer to targeted look and feel. Bahadir Balban 2008-02-14 14:37:56 +00:00
  • 2440b5be61 Some efforts to adding better support for readdir Bahadir Balban 2008-02-14 12:08:21 +00:00
  • 60cce15a4d Some preliminary efforts to reading directory contents in fs0. Bahadir Balban 2008-02-13 00:24:57 +00:00
  • 7f9380cc78 Errno is set by the posix calls read/write/open/close etc. rather than their l4_xxx equivalent. Bahadir Balban 2008-02-12 19:17:19 +00:00
  • 193430d226 Added test code for testing of directory listing. Bahadir Balban 2008-02-12 19:09:46 +00:00
  • 86dfd6a753 Changed name of utcb get function to match with general name conventions in syslib.h Bahadir Balban 2008-02-11 11:50:19 +00:00
  • dce3a9a47c Merged some libl4 utcb headers, moved mr defs to kernel message.h Bahadir Balban 2008-02-11 11:45:21 +00:00
  • e0492d672f Kernel inspects and sets sender id instead of userspace. Bahadir Balban 2008-02-11 11:11:17 +00:00
  • 0c7d2bbfd1 swapped write_mr() arguments. Bahadir Balban 2008-02-09 15:57:44 +00:00
  • 57420942ba Removed unnecessary printks, fixed few minor issues. Bahadir Balban 2008-02-09 15:48:10 +00:00
  • cd170c1b7c Changed unit macro to use section attribute directly.` Bahadir Balban 2008-02-09 14:33:37 +00:00
  • cc23568629 Added locking to id pool allocation and free. Bahadir Balban 2008-02-09 14:30:03 +00:00
  • ba0e3ada21 Few more fixes. Bahadir Balban 2008-02-09 14:24:49 +00:00
  • 4aa26af61d readme change. Bahadir Balban 2008-02-06 12:35:41 +00:00
  • f29c18ec09 Fixed various errors with ipc message passing. Bahadir Balban 2008-02-06 12:26:31 +00:00
  • 4f2e1d3e94 Fixed various minor issues. Bahadir Balban 2008-02-05 18:30:11 +00:00
  • 6b3d936933 Fixed the negligence in usr addr checking that pager has different vaddr range. Bahadir Balban 2008-02-05 17:05:36 +00:00
  • fcaeabc568 Added preliminary code for paging-in, but untested yet. Bahadir Balban 2008-02-05 16:23:14 +00:00
  • 62df138271 mm.c clean-up Bahadir Balban 2008-02-05 15:43:34 +00:00
  • a82cdd3456 User pointer validity checks. Bahadir Balban 2008-02-05 15:41:14 +00:00
  • 3a07ae70fd Rearranged devzero. More bugs to fix. Bahadir Balban 2008-02-05 01:21:55 +00:00
  • b725d09eff Added some forgotten files. new file: tasks/fs0/include/memfs/file.h new file: tasks/fs0/include/stat.h new file: tasks/fs0/include/vfs.h Bahadir Balban 2008-02-04 23:44:28 +00:00
  • 70d5ff33cd This patch adds ipc_sendrecv() and opens the way for client/server communication. Bahadir Balban 2008-02-04 21:03:51 +00:00
  • 13ee470a33 Mark the next bug to fix. Bahadir Balban 2008-02-04 19:40:23 +00:00
  • ca5229ff88 Fixed the problem that mm0 would read registers from actual MR0 instead of MR_UNUSED_START. Bahadir Balban 2008-02-04 19:35:13 +00:00
  • ddba7536cb Remove the mechanism for blocking tasks from doing ipc. Bahadir Balban 2008-02-04 16:58:05 +00:00
  • 938672f7c9 Changed the virt-to-phys debug breakpoint name to break_virtual Changed l4id_t type to integer to recognise negative id values like L4_ANYTHREAD. Added an extremely simple script that cleans and builds everything in right order. Bahadir Balban 2008-02-04 16:44:11 +00:00
  • cab2e8bdd3 Finished adding untested bare functionality vfs Finished adding untested shm syscalls. Finished adding untested l4 send/recv helpers Bahadir Balban 2008-02-03 17:42:38 +00:00
  • 05e9028e90 Some more minor changes. Bahadir Balban 2008-01-22 13:26:19 +00:00
  • adf54578f8 Improvising on disk layout of simple unix-like filesystem. modified: tasks/fs0/include/fs.h new file: tasks/fs0/src/simplefs/sfslayout.h Bahadir Balban 2008-01-18 15:20:46 +00:00
  • 66abb3d7f8 Added a public domain malloc temporarily. Bahadir Balban 2008-01-16 18:12:20 +00:00
  • c921197e69 A first step in writing a dynamically created bootfs for boot images. Bahadir Balban 2008-01-16 01:37:24 +00:00
  • 6bb5b45212 FS0 compiles now, with a mock-up rootfs. Bahadir Balban 2008-01-15 00:34:10 +00:00
  • efd797c678 Added two gitignore files to git. Bahadir Balban 2008-01-14 13:36:47 +00:00
  • 7a388f22b7 Removed all ignorable files from git. Previously python hex() would put an extra 'L' after printing out the value and this would be trimmed in readelf.py. Now it doesn't seem to do that so the lsd of the number was trimmed. This patch fixes that. Bahadir Balban 2008-01-14 12:23:40 +00:00
  • e2b791a3d8 Initial commit Bahadir Balban 2008-01-13 13:53:52 +00:00