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
3397 5807 d 16 h rimsky /branches/sparc/ Merged recent changes from trunk into the Sparc branch.  
/branches/sparc/uspace/app/bdsh
/branches/sparc/uspace/lib/libc/generic/getopt.c
/branches/sparc/uspace/lib/libc/generic/io/asprintf.c
/branches/sparc/uspace/lib/libc/include/getopt.h
/branches/sparc/boot/tools/ia64
/branches/sparc/uspace/app/cli
/branches/sparc/boot/arch/amd64/Makefile.inc
/branches/sparc/boot/arch/arm32/loader/Makefile
/branches/sparc/boot/arch/ia32/Makefile.inc
/branches/sparc/boot/arch/ia64/Makefile.inc
/branches/sparc/boot/arch/ia64/loader/Makefile
/branches/sparc/boot/arch/mips32/loader/Makefile
/branches/sparc/boot/arch/ppc32/loader/Makefile
/branches/sparc/boot/arch/ppc32/loader/main.c
/branches/sparc/boot/arch/ppc32/loader/ofwarch.c
/branches/sparc/boot/arch/ppc64/loader/Makefile
/branches/sparc/boot/arch/sparc64/loader/Makefile
/branches/sparc/boot/arch/sparc64/loader/boot.S
/branches/sparc/boot/arch/sparc64/loader/main.c
/branches/sparc/boot/arch/sparc64/loader/main.h
/branches/sparc/boot/genarch/balloc.h
/branches/sparc/contrib/toolchain/toolchain.amd64.sh
/branches/sparc/contrib/toolchain/toolchain.arm32.sh
/branches/sparc/contrib/toolchain/toolchain.ia32.sh
/branches/sparc/contrib/toolchain/toolchain.ia64.sh
/branches/sparc/contrib/toolchain/toolchain.mipseb32.sh
/branches/sparc/contrib/toolchain/toolchain.mipsel32.sh
/branches/sparc/contrib/toolchain/toolchain.ppc32.sh
/branches/sparc/contrib/toolchain/toolchain.ppc64.sh
/branches/sparc/contrib/toolchain/toolchain.sparc64.sh
/branches/sparc/kernel/arch/amd64/Makefile.inc
/branches/sparc/kernel/arch/amd64/include/atomic.h
/branches/sparc/kernel/arch/arm32/Makefile.inc
/branches/sparc/kernel/arch/ia32/Makefile.inc
/branches/sparc/kernel/arch/ia32/include/atomic.h
/branches/sparc/kernel/arch/ia32xen/Makefile.inc
/branches/sparc/kernel/arch/ia64/Makefile.inc
/branches/sparc/kernel/arch/mips32/Makefile.inc
/branches/sparc/kernel/arch/mips32/src/mm/tlb.c
/branches/sparc/kernel/arch/ppc32/Makefile.inc
/branches/sparc/kernel/arch/ppc64/Makefile.inc
/branches/sparc/kernel/arch/sparc64/Makefile.inc
/branches/sparc/kernel/arch/sparc64/include/atomic.h
/branches/sparc/kernel/generic/include/errno.h
/branches/sparc/kernel/generic/include/ipc/ipc.h
/branches/sparc/kernel/generic/src/ipc/ipc.c
/branches/sparc/kernel/generic/src/ipc/ipcrsc.c
/branches/sparc/kernel/generic/src/ipc/sysipc.c
/branches/sparc/kernel/generic/src/main/kinit.c
/branches/sparc/kernel/generic/src/mm/as.c
/branches/sparc/kernel/generic/src/mm/backend_anon.c
/branches/sparc/kernel/generic/src/mm/backend_elf.c
/branches/sparc/kernel/generic/src/proc/task.c
/branches/sparc/uspace/Makefile
/branches/sparc/uspace/app/init/init.c
/branches/sparc/uspace/lib/libc/Makefile
/branches/sparc/uspace/lib/libc/arch/amd64/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/arm32/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/ia32/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/ia64/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/mips32/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/mips32eb/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/ppc32/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/ppc64/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/sparc64/Makefile.inc
/branches/sparc/uspace/lib/libc/generic/io/printf_core.c
/branches/sparc/uspace/lib/libc/generic/io/sprintf.c
/branches/sparc/uspace/lib/libc/generic/io/vsnprintf.c
/branches/sparc/uspace/lib/libc/generic/ipc.c
/branches/sparc/uspace/lib/libc/include/stdio.h
/branches/sparc/uspace/srv/fs/fat/fat_ops.c
/branches/sparc/uspace/srv/fs/tmpfs/tmpfs_ops.c
/branches/sparc/uspace/srv/vfs/vfs_ops.c
3343 5831 d 13 h decky /branches/sparc/ add sparc branch  
/branches/sparc
3252 5843 d 9 h jermar /trunk/uspace/ Add a comment to libfs_blockread() and change type from size_t to off_t at
various places.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3251 5843 d 11 h jermar /trunk/uspace/ Move tmpfs_blockread() to libfs and rename it to libfs_blockread().
Add one argument to specify block size.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3250 5843 d 12 h jermar /trunk/uspace/srv/fs/tmpfs/ Let tmpfs_blockread() use async_req_2_1() instead of ipc_call_sync_2_1().  
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3247 5844 d 12 h jermar /trunk/uspace/srv/fs/tmpfs/ Avoid magic numbers in tmpfs_dump.c.  
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3201 5878 d 17 h svoboda /trunk/uspace/ Do not disassemble needlessly.  
/trunk/uspace/app/init/Makefile
/trunk/uspace/app/klog/Makefile
/trunk/uspace/app/tester/Makefile
/trunk/uspace/app/tetris/Makefile
/trunk/uspace/srv/console/Makefile
/trunk/uspace/srv/devmap/Makefile
/trunk/uspace/srv/fb/Makefile
/trunk/uspace/srv/fs/fat/Makefile
/trunk/uspace/srv/fs/tmpfs/Makefile
/trunk/uspace/srv/kbd/Makefile
/trunk/uspace/srv/ns/Makefile
/trunk/uspace/srv/rd/Makefile
/trunk/uspace/srv/vfs/Makefile
3109 5905 d 15 h jermar /trunk/uspace/srv/ Split the 'mount another filesystem here' and 'you are being mounted and the
device is this' mount semantics. Add VFS_MOUNTED VFS operation that corresponds
to the latter and reserve VFS_MOUNT only for the former. Because of this
change, the VFS server does not maintain the mr_node VFS node for the name space
root anymore and the VFS_LOOKUP operation is now not meant to be used on
unmounted file system, not even for looking up the root node of unmounted file
systems. In the light of these changes, TMPFS is now initialized from
tmpfs_mounted() function.
 
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_ops.c
3103 5906 d 7 h jermar /trunk/uspace/srv/fs/tmpfs/ Evict the code which loads the TMPFS file system from a file system dump to a
dedicated source file.
 
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/Makefile
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
3091 5908 d 11 h jermar /trunk/uspace/srv/fs/tmpfs/ Return value argument to ipc_call_sync_X_Y() may not be int or it will
break on 64-machines that are sensitive to unaligned memory accesses.
Moreover, overcasting int * to sysarg_t * is not a good idea either
even if the int is by chance aligned on a 64-bit boundary as some
unknown memory will get overwritten during the assignment. Change the
type of the retval argument to ipcarg_t.
 
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
3087 5908 d 15 h decky /trunk/uspace/srv/fs/tmpfs/ initialize tmpfs from RAM disk  
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2958 5924 d 8 h jermar /trunk/uspace/srv/ Make VFS_MOUNT call even when mounting the root file system.  
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs_ops.c
2863 5952 d 19 h jermar /trunk/uspace/ Revert libfs node_get() API to a model without the parent node pointer
argument.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2858 5958 d 3 h jermar /trunk/uspace/ libfs destroy operation should rather return an error code instead of a truth
value.
 
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2857 5958 d 3 h jermar /trunk/uspace/ Add stubs for unimplemented FAT libfs operations.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2852 5959 d 1 h jermar /trunk/uspace/ Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2844 5960 d 7 h jermar /trunk/uspace/ Add fat_root_get() and fat_plb_get_char().  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2831 5963 d 1 h jermar /trunk/uspace/ Commit progress on the FAT file system server implementation.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2792 5970 d 10 h jermar /trunk/uspace/ libfs' node_get() operation does not need the file system handle.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2791 5973 d 8 h jermar /trunk/uspace/ Make libfs_lookup() more generic.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2770 5992 d 10 h jermar /trunk/uspace/ Introduce fs_handle_t, dev_handle_t and fs_index_t.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_ops.c
/trunk/uspace/srv/vfs/vfs_register.c
2763 5994 d 13 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
2760 5997 d 8 h jermar /trunk/uspace/ Support for multiple TMPFS node names.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2758 5998 d 8 h jermar /trunk/uspace/ No need to keep the parent pointer in the TMPFS node. Moreover, other file
systems won't have it either. Finally, if TMPFS is to support hardlinks, there
can be multiple parents.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2757 5998 d 9 h jermar /trunk/uspace/srv/fs/tmpfs/ Set the TMPFS root node's link count to 1.  
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2756 5998 d 10 h jermar /trunk/uspace/srv/fs/tmpfs/ Introduce real link counts for TMPFS.  
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2747 6005 d 7 h jermar /trunk/uspace/ Move the core lookup logic from TMPFS to libfs.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2742 6007 d 8 h jermar /trunk/uspace/srv/ Separate creation of a TMPFS node and its linking in the file system name space.
Rename VFS_FREE to VFS_DESTROY and destroy_node() to unlink_node().
 
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_ops.c
2739 6013 d 8 h jermar /trunk/uspace/srv/fs/tmpfs/ Remove duplicate initialization.  
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2736 6015 d 10 h jermar /trunk/uspace/srv/fs/tmpfs/ Unlink a TMPFS node more thoroughly.  
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2735 6015 d 14 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
2733 6015 d 16 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
2732 6015 d 16 h jermar /trunk/uspace/srv/fs/tmpfs/ When freeing up a TMPFS node, it should also be removed from the dentries hash table.  
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2731 6015 d 17 h jermar /trunk/uspace/srv/ Add the VFS_FREE operation. This operation frees up whatever resources used by
a file system node for which there is no name (i.e. an unlinked node).

Cleanup VFS operations enums and remove unneeded VFS operations.
 
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_file.c
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_register.c
2730 6016 d 19 h jermar /trunk/uspace/srv/ Introduce the notion of VFS node link counts.  
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_node.c
2728 6021 d 8 h jermar /trunk/uspace/srv/fs/tmpfs/ Descend vs. descent.  
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2711 6036 d 11 h jermar /trunk/uspace/ Remove the debugging hack from tmpfs_init(), which created several files and
directories on the filesystem. TMPFS is now self-sufficient enough to be able
to create its content via the standard VFS interface.
 
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2710 6036 d 11 h jermar /trunk/uspace/ VFS_WRITE and tmpfs_write fixes.  
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/vfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs_ops.c
2707 6036 d 15 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
2706 6036 d 19 h jermar /trunk/uspace/srv/fs/tmpfs/ Move handling of the miss on excessive components out of the main loop in
tmpfs_lookup.
 
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c