Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
3210 5868 d 6 h svoboda /branches/dynload/ Introduce SMC_COHERENCE syscall  
/branches/dynload/kernel/generic/include/synch/smc.h
/branches/dynload/kernel/generic/src/synch/smc.c
/branches/dynload/uspace/lib/libc/generic/smc.c
/branches/dynload/uspace/lib/libc/include/smc.h
/branches/dynload/kernel/Makefile
/branches/dynload/kernel/generic/include/syscall/syscall.h
/branches/dynload/kernel/generic/src/syscall/syscall.c
/branches/dynload/uspace/lib/libc/Makefile
/branches/dynload/uspace/srv/loader/elf_load.c
3190 5875 d 3 h svoboda /branches/dynload/ Remove vestiges of loading code coming from trunk  
/branches/dynload/kernel/generic/include/proc/task.h
/branches/dynload/kernel/generic/include/proc/thread.h
/branches/dynload/kernel/generic/include/syscall/syscall.h
/branches/dynload/kernel/generic/src/proc/task.c
/branches/dynload/kernel/generic/src/proc/thread.c
/branches/dynload/kernel/generic/src/syscall/syscall.c
/branches/dynload/uspace/app/cli/cli.c
/branches/dynload/uspace/app/init/init.c
/branches/dynload/uspace/lib/libc/generic/task.c
/branches/dynload/uspace/lib/libc/include/task.h
3174 5886 d 6 h svoboda /branches/dynload/uspace/ Pass args to loader from task_spawn_ex(), completing argument support. Can pass args from CLI to tester.  
/branches/dynload/uspace/app/cli/cli.c
/branches/dynload/uspace/app/init/init.c
/branches/dynload/uspace/app/tester/tester.c
/branches/dynload/uspace/lib/libc/generic/task.c
/branches/dynload/uspace/lib/libc/include/ipc/loader.h
/branches/dynload/uspace/srv/loader/include/arch.h
/branches/dynload/uspace/srv/loader/main.c
3171 5886 d 22 h svoboda /branches/dynload/uspace/ Add argc, argv to pcb_t. Update libc to save PCB pointer and pass argc, argv to main. (None provided by loader, yet)  
/branches/dynload/uspace/lib/libc/Makefile
/branches/dynload/uspace/lib/libc/arch/amd64/src/entry.s
/branches/dynload/uspace/lib/libc/arch/arm32/src/entry.s
/branches/dynload/uspace/lib/libc/arch/ia32/src/entry.s
/branches/dynload/uspace/lib/libc/arch/ia64/src/entry.s
/branches/dynload/uspace/lib/libc/arch/mips32/src/entry.s
/branches/dynload/uspace/lib/libc/arch/ppc32/src/entry.s
/branches/dynload/uspace/lib/libc/arch/ppc64/src/entry.s
/branches/dynload/uspace/lib/libc/arch/sparc64/src/entry.s
/branches/dynload/uspace/lib/libc/generic/libc.c
/branches/dynload/uspace/lib/libc/include/loader/pcb.h
/branches/dynload/uspace/srv/loader/main.c
3168 5887 d 4 h svoboda /branches/dynload/ For each arch define one register for passing a pointer to PCB. Implemented in kernel lowlevel swich-to-userspace funcs and libc entry points. Missing in loader's program_run implementations.  
/branches/dynload/kernel/arch/amd64/src/userspace.c
/branches/dynload/kernel/arch/arm32/src/userspace.c
/branches/dynload/kernel/arch/ia32/src/userspace.c
/branches/dynload/kernel/arch/ia32xen/src/userspace.c
/branches/dynload/kernel/arch/ia64/src/asm.S
/branches/dynload/kernel/arch/mips32/include/atomic.h
/branches/dynload/kernel/arch/mips32/src/start.S
/branches/dynload/kernel/arch/ppc32/src/asm.S
/branches/dynload/kernel/arch/ppc64/src/asm.S
/branches/dynload/kernel/arch/sparc64/src/asm.S
/branches/dynload/uspace/lib/libc/arch/amd64/src/entry.s
/branches/dynload/uspace/lib/libc/arch/arm32/src/entry.s
/branches/dynload/uspace/lib/libc/arch/ia32/src/entry.s
/branches/dynload/uspace/lib/libc/arch/ia64/src/entry.s
/branches/dynload/uspace/lib/libc/arch/mips32/src/entry.s
/branches/dynload/uspace/lib/libc/arch/ppc32/src/entry.s
/branches/dynload/uspace/lib/libc/arch/sparc64/src/entry.s
/branches/dynload/uspace/lib/libc/generic/libc.c
/branches/dynload/uspace/lib/libc/include/libc.h
3160 5888 d 21 h svoboda /branches/dynload/uspace/ Move pcb.h to libc includes part 2  
/branches/dynload/uspace/lib/libc/include/loader/pcb.h
/branches/dynload/uspace/srv/loader/elf_load.c
/branches/dynload/uspace/srv/loader/include/elf_load.h
/branches/dynload/uspace/srv/loader/main.c
3159 5888 d 21 h svoboda /branches/dynload/uspace/ Move pcb.h to libc includes part 1  
/branches/dynload/uspace/lib/libc/include/loader
/branches/dynload/uspace/lib/libc/include/loader/pcb.h
/branches/dynload/uspace/srv/loader/include/pcb.h
3155 5888 d 23 h svoboda /branches/dynload/ Make loader less chatty and let init use it, instead of loading binaries itself.  
/branches/dynload/kernel/generic/src/proc/task.c
/branches/dynload/uspace/app/iloader/elf_load.c
/branches/dynload/uspace/app/iloader/main.c
/branches/dynload/uspace/app/init/init.c
/branches/dynload/uspace/lib/libc/generic/io/stream.c
/branches/dynload/uspace/lib/libc/include/io/stream.h
3153 5889 d 3 h svoboda /branches/dynload/ Merge latest trunk changes into dynload  
/branches/dynload/kernel/arch/sparc64/include/mm/cache_spec.h
/branches/dynload/uspace/srv/fs/tmpfs/tmpfs_dump.c
/branches/dynload/Makefile
/branches/dynload/boot/arch/arm32/loader/boot.S
/branches/dynload/boot/arch/ia64/loader/Makefile
/branches/dynload/boot/arch/ia64/loader/gefi/HelenOS/Makefile
/branches/dynload/boot/arch/mips32/loader/asm.S
/branches/dynload/boot/arch/sparc64/loader/asm.S
/branches/dynload/boot/arch/sparc64/loader/ofwarch.c
/branches/dynload/kernel/arch/amd64/include/memstr.h
/branches/dynload/kernel/arch/amd64/src/debugger.c
/branches/dynload/kernel/arch/amd64/src/pm.c
/branches/dynload/kernel/arch/arm32/Makefile.inc
/branches/dynload/kernel/arch/arm32/include/barrier.h
/branches/dynload/kernel/arch/arm32/include/memstr.h
/branches/dynload/kernel/arch/arm32/include/types.h
/branches/dynload/kernel/arch/arm32/src/exception.c
/branches/dynload/kernel/arch/arm32/src/mm/page_fault.c
/branches/dynload/kernel/arch/ia32/include/barrier.h
/branches/dynload/kernel/arch/ia32/include/memstr.h
/branches/dynload/kernel/arch/ia32/include/types.h
/branches/dynload/kernel/arch/ia32/src/drivers/ega.c
/branches/dynload/kernel/arch/ia32/src/pm.c
/branches/dynload/kernel/arch/ia32/src/smp/ap.S
/branches/dynload/kernel/arch/ia32/src/smp/smp.c
/branches/dynload/kernel/arch/ia32xen/src/ia32xen.c
/branches/dynload/kernel/arch/ia32xen/src/pm.c
/branches/dynload/kernel/arch/ia32xen/src/smp/smp.c
/branches/dynload/kernel/arch/ia64/include/barrier.h
/branches/dynload/kernel/arch/ia64/include/memstr.h
/branches/dynload/kernel/arch/ia64/include/types.h
/branches/dynload/kernel/arch/ia64/src/drivers/ega.c
/branches/dynload/kernel/arch/ia64/src/mm/vhpt.c
/branches/dynload/kernel/arch/mips32/include/barrier.h
/branches/dynload/kernel/arch/mips32/include/memstr.h
/branches/dynload/kernel/arch/mips32/include/types.h
/branches/dynload/kernel/arch/mips32/src/debugger.c
/branches/dynload/kernel/arch/mips32/src/mips32.c
/branches/dynload/kernel/arch/ppc32/include/barrier.h
/branches/dynload/kernel/arch/ppc32/include/memstr.h
/branches/dynload/kernel/arch/ppc64/include/barrier.h
/branches/dynload/kernel/arch/ppc64/include/memstr.h
/branches/dynload/kernel/arch/ppc64/src/mm/page.c
/branches/dynload/kernel/arch/sparc64/include/barrier.h
/branches/dynload/kernel/arch/sparc64/include/memstr.h
/branches/dynload/kernel/arch/sparc64/include/mm/tlb.h
/branches/dynload/kernel/arch/sparc64/src/mm/as.c
/branches/dynload/kernel/arch/sparc64/src/mm/cache.S
/branches/dynload/kernel/genarch/src/mm/as_pt.c
/branches/dynload/kernel/genarch/src/mm/page_pt.c
/branches/dynload/kernel/generic/include/console/console.h
/branches/dynload/kernel/generic/include/memstr.h
/branches/dynload/kernel/generic/include/syscall/syscall.h
/branches/dynload/kernel/generic/include/typedefs.h
/branches/dynload/kernel/generic/src/adt/hash_table.c
/branches/dynload/kernel/generic/src/console/console.c
/branches/dynload/kernel/generic/src/cpu/cpu.c
/branches/dynload/kernel/generic/src/ipc/ipc.c
/branches/dynload/kernel/generic/src/lib/memstr.c
/branches/dynload/kernel/generic/src/lib/objc_ext.c
/branches/dynload/kernel/generic/src/main/main.c
/branches/dynload/kernel/generic/src/mm/as.c
/branches/dynload/kernel/generic/src/mm/backend_anon.c
/branches/dynload/kernel/generic/src/mm/backend_elf.c
/branches/dynload/kernel/generic/src/mm/page.c
/branches/dynload/kernel/generic/src/mm/slab.c
/branches/dynload/kernel/generic/src/proc/task.c
/branches/dynload/kernel/generic/src/proc/thread.c
/branches/dynload/kernel/generic/src/syscall/syscall.c
/branches/dynload/kernel/test/mm/falloc2.c
/branches/dynload/kernel/test/mm/slab1.c
/branches/dynload/kernel/test/mm/slab2.c
/branches/dynload/uspace/app/init/init.c
/branches/dynload/uspace/app/klog/klog.c
/branches/dynload/uspace/app/tester/tester.c
/branches/dynload/uspace/lib/libc/arch/arm32/src/entry.s
/branches/dynload/uspace/lib/libc/arch/ia64/src/entry.s
/branches/dynload/uspace/lib/libc/arch/mips32/src/entry.s
/branches/dynload/uspace/lib/libc/generic/io/stream.c
/branches/dynload/uspace/lib/libc/include/io/stream.h
/branches/dynload/uspace/lib/libc/include/stdio.h
/branches/dynload/uspace/srv/fs/fat/fat.c
/branches/dynload/uspace/srv/fs/fat/fat.h
/branches/dynload/uspace/srv/fs/fat/fat_idx.c
/branches/dynload/uspace/srv/fs/fat/fat_ops.c
/branches/dynload/uspace/srv/fs/tmpfs/Makefile
/branches/dynload/uspace/srv/fs/tmpfs/tmpfs.c
/branches/dynload/uspace/srv/fs/tmpfs/tmpfs.h
/branches/dynload/uspace/srv/fs/tmpfs/tmpfs_ops.c
/branches/dynload/uspace/srv/vfs/vfs.h
/branches/dynload/uspace/srv/vfs/vfs_lookup.c
/branches/dynload/uspace/srv/vfs/vfs_ops.c
3150 5889 d 3 h svoboda /branches/dynload/ Merge trunk changes up to r3090 into dynload (still broken)  
/branches/dynload/uspace/lib/libc/include/ipc/devmap.h
/branches/dynload/uspace/srv/devmap/devmap.h
/branches/dynload/uspace/srv/fb/sysio.c
/branches/dynload/uspace/srv/fb/sysio.h
/branches/dynload/kernel/generic/include/mm/as.h
/branches/dynload/kernel/generic/include/syscall/syscall.h
/branches/dynload/kernel/generic/src/ipc/ipc.c
/branches/dynload/kernel/generic/src/proc/task.c
/branches/dynload/kernel/generic/src/proc/thread.c
/branches/dynload/kernel/generic/src/syscall/syscall.c
/branches/dynload/uspace/app/init/init.c
/branches/dynload/uspace/app/init/init.h
/branches/dynload/uspace/app/init/version.c
/branches/dynload/uspace/app/init/version.h
/branches/dynload/uspace/app/tester/devmap/devmap1.c
/branches/dynload/uspace/app/tetris/scores.c
/branches/dynload/uspace/lib/libc/arch/amd64/src/entry.s
/branches/dynload/uspace/lib/libc/arch/ia32/include/config.h
/branches/dynload/uspace/lib/libc/arch/ia32/src/entry.s
/branches/dynload/uspace/lib/libc/arch/ia32/src/syscall.S
/branches/dynload/uspace/lib/libc/arch/ppc32/src/entry.s
/branches/dynload/uspace/lib/libc/arch/sparc64/src/entry.s
/branches/dynload/uspace/lib/libc/generic/io/stream.c
/branches/dynload/uspace/lib/libc/generic/libc.c
/branches/dynload/uspace/lib/libc/generic/task.c
/branches/dynload/uspace/lib/libc/generic/vfs/vfs.c
/branches/dynload/uspace/lib/libc/include/io/stream.h
/branches/dynload/uspace/lib/libc/include/ipc/services.h
/branches/dynload/uspace/lib/libc/include/libc.h
/branches/dynload/uspace/lib/libc/include/task.h
/branches/dynload/uspace/srv/console/Makefile
/branches/dynload/uspace/srv/console/console.c
/branches/dynload/uspace/srv/devmap/devmap.c
/branches/dynload/uspace/srv/fb/Makefile
/branches/dynload/uspace/srv/fb/main.c
/branches/dynload/uspace/srv/fs/tmpfs/tmpfs.c
/branches/dynload/uspace/srv/fs/tmpfs/tmpfs_ops.c
/branches/dynload/uspace/srv/kbd/Makefile
/branches/dynload/uspace/srv/kbd/generic/kbd.c
/branches/dynload/uspace/srv/ns/Makefile
/branches/dynload/uspace/srv/ns/ns.c
/branches/dynload/uspace/srv/rd/Makefile
/branches/dynload/uspace/srv/rd/rd.c
/branches/dynload/uspace/srv/vfs/vfs.c
/branches/dynload/uspace/srv/vfs/vfs.h
/branches/dynload/uspace/srv/vfs/vfs_ops.c
3148 5889 d 4 h svoboda /branches/dynload/uspace/ Make use of async in communication with loader. Add pretty loader method name numbers.  
/branches/dynload/uspace/lib/libc/include/ipc/loader.h
/branches/dynload/uspace/app/iloader/main.c
/branches/dynload/uspace/lib/libc/generic/task.c
3004 5910 d 1 h svoboda /branches/dynload/ A crude task_spawn() libc function to run a program. A tiny command-line application 'cli' to test it.  
/branches/dynload/uspace/app/cli
/branches/dynload/uspace/app/cli/Makefile
/branches/dynload/uspace/app/cli/cli.c
/branches/dynload/uspace/app/iloader/interp.s
/branches/dynload/boot/arch/ia32/Makefile.inc
/branches/dynload/boot/arch/ia32/grub/menu.lst
/branches/dynload/kernel/generic/include/proc/task.h
/branches/dynload/kernel/generic/src/proc/task.c
/branches/dynload/uspace/Makefile
/branches/dynload/uspace/app/dltest/arch/ia32/_link.ld.in
/branches/dynload/uspace/app/iloader/Makefile
/branches/dynload/uspace/app/iloader/arch/ia32/_link.ld.in
/branches/dynload/uspace/app/iloader/elf_load.c
/branches/dynload/uspace/app/iloader/include/elf_load.h
/branches/dynload/uspace/app/iloader/main.c
/branches/dynload/uspace/app/iramfs/Makefile
/branches/dynload/uspace/app/iramfs/data.h
/branches/dynload/uspace/app/iramfs/main.c
/branches/dynload/uspace/lib/libc/generic/task.c
/branches/dynload/uspace/lib/libc/include/task.h
/branches/dynload/uspace/lib/rtld/arch/ia32/src/bootstrap.c
/branches/dynload/uspace/lib/rtld/arch/ia32/src/runtime.c
/branches/dynload/uspace/lib/rtld/arch/ppc32/src/bootstrap.c
/branches/dynload/uspace/lib/rtld/arch/ppc32/src/runtime.c
2984 5914 d 3 h svoboda /branches/dynload/ Add as_area_change_flags() syscall and libc wrapper. Implementation limited to non-shared areas of anonymous memory.  
/branches/dynload/kernel/generic/include/mm/as.h
/branches/dynload/kernel/generic/include/syscall/syscall.h
/branches/dynload/kernel/generic/src/mm/as.c
/branches/dynload/kernel/generic/src/syscall/syscall.c
/branches/dynload/uspace/lib/libc/generic/as.c
/branches/dynload/uspace/lib/libc/include/as.h
2927 5921 d 7 h decky /branches/dynload/ added dynload branch  
/branches/dynload
2879 5932 d 1 h jermar /trunk/uspace/lib/libc/include/libadt/ Add functions for inserting items before or after other items in a boubly-linked
circular lists.
 
/trunk/uspace/lib/libc/include/libadt/list.h
2814 5959 d 4 h jermar /trunk/uspace/lib/libc/include/ipc/ Fix missing arguments to ipc_call_sync_slow() in ipc_call_sync_4_x macros.
Contributed by Jiri Svoboda.
 
/trunk/uspace/lib/libc/include/ipc/ipc.h
2798 5962 d 20 h jermar /trunk/uspace/ Replace all endian.h in uspace with a copy of the kernel's respective byteorder.h.  
/trunk/uspace/lib/libc/arch/amd64/include/byteorder.h
/trunk/uspace/lib/libc/arch/arm32/include/byteorder.h
/trunk/uspace/lib/libc/arch/ia32/include/byteorder.h
/trunk/uspace/lib/libc/arch/ia64/include/byteorder.h
/trunk/uspace/lib/libc/arch/mips32/include/byteorder.h
/trunk/uspace/lib/libc/arch/mips32eb/include/byteorder.h
/trunk/uspace/lib/libc/arch/ppc32/include/byteorder.h
/trunk/uspace/lib/libc/arch/ppc64/include/byteorder.h
/trunk/uspace/lib/libc/arch/sparc64/include/byteorder.h
/trunk/uspace/lib/libc/include/byteorder.h
/trunk/uspace/lib/libc/arch/amd64/include/endian.h
/trunk/uspace/lib/libc/arch/arm32/include/endian.h
/trunk/uspace/lib/libc/arch/ia32/include/endian.h
/trunk/uspace/lib/libc/arch/ia64/include/endian.h
/trunk/uspace/lib/libc/arch/mips32/include/endian.h
/trunk/uspace/lib/libc/arch/mips32eb/include/endian.h
/trunk/uspace/lib/libc/arch/ppc32/include/endian.h
/trunk/uspace/lib/libc/arch/ppc64/include/endian.h
/trunk/uspace/lib/libc/arch/sparc64/include/endian.h
/trunk/uspace/lib/libc/include/endian.h
/trunk/uspace/lib/softfloat/include/sftypes.h
/trunk/uspace/srv/fs/fat/fat_ops.c
2795 5963 d 20 h jermar /trunk/uspace/lib/libc/ Support of byte swapping in userspace.  
/trunk/uspace/lib/libc/arch/amd64/include/endian.h
/trunk/uspace/lib/libc/include/endian.h
2773 5982 d 8 h cejka /trunk/uspace/lib/libc/ United headers using context_t in uspace.  
/trunk/uspace/lib/libc/include/setjmp.h
/trunk/uspace/lib/libc/arch/ia32/include/setjmp.h
/trunk/uspace/lib/libc/arch/ia32/src/setjmp.S
/trunk/uspace/lib/libc/include/unistd.h
2763 5987 d 23 h jermar /trunk/uspace/ Support for rename().  
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/stdio.h
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_ops.c
2762 5987 d 23 h jermar /trunk/uspace/lib/libc/include/ Add the definition of the EXDEV error code.  
/trunk/uspace/lib/libc/include/errno.h
2759 5990 d 18 h jermar /trunk/uspace/lib/libc/ Add hash_table_destroy().  
/trunk/uspace/lib/libc/generic/libadt/hash_table.c
/trunk/uspace/lib/libc/include/libadt/hash_table.h
2755 5994 d 16 h jermar /trunk/uspace/ Add support for relative paths: chdir() and getcwd().  
/trunk/uspace/lib/libc/include/vfs/vfs.h
/trunk/uspace/lib/libc/include/vfs.h
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/errno.h
/trunk/uspace/lib/libc/include/unistd.h
/trunk/uspace/lib/libc/include/vfs/canonify.h
2754 5994 d 16 h jermar /trunk/uspace/lib/libc/ Add strcat().  
/trunk/uspace/lib/libc/generic/string.c
/trunk/uspace/lib/libc/include/string.h
2753 5994 d 19 h jermar /trunk/uspace/ Move canonify() to libc so that it can be used also on the libc side.  
/trunk/uspace/lib/libc/generic/vfs
/trunk/uspace/lib/libc/generic/vfs/canonify.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/vfs
/trunk/uspace/lib/libc/include/vfs/canonify.h
/trunk/uspace/lib/libc/generic/vfs.c
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/srv/vfs/vfs_lookup.c
2735 6009 d 0 h jermar /trunk/uspace/ Support for rmdir(), unlink() and the respective VFS operations.  
/trunk/uspace/lib/libc/generic/vfs.c
/trunk/uspace/lib/libc/include/unistd.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_ops.c
2734 6009 d 2 h jermar /trunk/uspace/ Support for close().  
/trunk/uspace/lib/libc/generic/vfs.c
/trunk/uspace/lib/libc/include/errno.h
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_ops.c
2733 6009 d 2 h jermar /trunk/uspace/ Add TMPFS support for destroying leaf links in the file system namespace.  
/trunk/uspace/lib/libc/include/errno.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2708 6030 d 0 h jermar /trunk/uspace/ VFS_OPEN now understands O_CREAT and O_EXCL.  
/trunk/uspace/lib/libc/include/fcntl.h
/trunk/uspace/srv/vfs/vfs_ops.c
2707 6030 d 2 h jermar /trunk/uspace/ Support for mkdir().  
/trunk/uspace/lib/libc/include/sys/stat.h
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/vfs.c
/trunk/uspace/lib/libc/include/sys/types.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_ops.c
2705 6030 d 18 h jermar /trunk/uspace/ More elegant, flexible and complete version of tmpfs_lookup.  
/trunk/uspace/lib/libc/include/errno.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2699 6038 d 17 h jermar /trunk/uspace/ Finish implementation of readdir(). Functions from this family are implemented
via using file descriptors for directories. For example, readdir() is
implemented as read() from an open directory. Of course, FS implementations
must understand that they are asked to read a directory and behave accordingly.
 
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/vfs.c
/trunk/uspace/lib/libc/include/dirent.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2694 6043 d 20 h jermar /trunk/uspace/lib/libc/ Add opendir(), rewinddir(), closedir() and some prototypes and stubs. Add dirent.h.  
/trunk/uspace/lib/libc/include/dirent.h
/trunk/uspace/lib/libc/generic/vfs.c
/trunk/uspace/lib/libc/include/unistd.h
2693 6044 d 3 h jermar /trunk/uspace/ Add ftruncate() and support for VFS_TRUNCATE to VFS and TMPFS.  
/trunk/uspace/lib/libc/generic/vfs.c
/trunk/uspace/lib/libc/include/unistd.h
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_ops.c
2688 6048 d 20 h jermar /trunk/uspace/ Make uspace rwlock API naming conventions consistent with kernel rwlock API.  
/trunk/uspace/lib/libc/include/rwlock.h
/trunk/uspace/srv/vfs/vfs_mount.c
/trunk/uspace/srv/vfs/vfs_open.c
/trunk/uspace/srv/vfs/vfs_rdwr.c
2684 6050 d 21 h jermar /trunk/ Add libc and VFS implementation of lseek(), VFS_SEEK resp.
Add the size member to the VFS node structure (not yet initialized).
 
/trunk/kernel/generic/include/errno.h
/trunk/uspace/lib/libc/generic/vfs.c
/trunk/uspace/lib/libc/include/unistd.h
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_rdwr.c
2682 6051 d 3 h jermar /trunk/uspace/ Fix type in declaration of VFS node rwlock.
Introduce a dedicated type for futexes. Make the existing futex code use this
newly introduced type and fix formatting in futex.c.
 
/trunk/uspace/lib/libc/generic/futex.c
/trunk/uspace/lib/libc/include/futex.h
/trunk/uspace/srv/vfs/vfs.h
2681 6051 d 3 h jermar /trunk/uspace/ Turn the namespace futex into rwlock.  
/trunk/uspace/lib/libc/include/rwlock.h
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_mount.c
/trunk/uspace/srv/vfs/vfs_open.c
/trunk/uspace/srv/vfs/vfs_unlink.c
2680 6051 d 4 h jermar /trunk/uspace/ Add basic rwlock API for uspace so that VFS can be designed/implemented using
this API. So far, the implementation of this API merely wraps futexes into
rwlocks. Real rwlocks are wanted by ticket #54.

Using the new rwlock API, replace the VFS node content futex with an rwlock.
Lock the contents rwlock as reader on reads and as writer on writes.
 
/trunk/uspace/lib/libc/include/rwlock.h
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_rdwr.c
2678 6056 d 23 h jermar /trunk/uspace/ The IPC_M_SHARE_* and IPC_M_DATA_* calls pass through 3 stages. Rename the send,
receive and deliver wrappers to names ending with 'start', 'receive' and
'finalize', respectively. This should make it clearer for dummies.
 
/trunk/uspace/app/klog/klog.c
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/generic/time.c
/trunk/uspace/lib/libc/generic/vfs.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/console/gcons.c
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/vfs/vfs_mount.c
/trunk/uspace/srv/vfs/vfs_open.c
/trunk/uspace/srv/vfs/vfs_register.c