Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
2876 5914 d 8 h jermar /trunk/uspace/srv/fs/fat/ Add a dedicated source file for handling FAT indices.  
/trunk/uspace/srv/fs/fat/fat_idx.c
/trunk/uspace/srv/fs/fat/Makefile
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
2864 5927 d 22 h jermar /trunk/uspace/srv/fs/fat/ Introduce the foundation for unique and stable FAT VFS node indices.

The first two reserved FAT entries are physically present in each FAT, so fix
the code to be aware of this.
 
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
2863 5928 d 9 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
2861 5932 d 1 h cejka /trunk/ Used common macro for context saving on ppc64.  
/trunk/uspace/lib/libc/arch/ppc64/include/context_offset.h
/trunk/kernel/arch/ppc32/include/context_offset.h
/trunk/kernel/arch/ppc64/include/context_offset.h
/trunk/kernel/arch/ppc64/src/context.S
/trunk/uspace/lib/libc/arch/ppc64/src/fibril.S
2860 5933 d 1 h cejka /trunk/ Context handling unified for sparc64.  
/trunk/uspace/lib/libc/arch/sparc64/include/context_offset.h
/trunk/kernel/arch/sparc64/include/context_offset.h
/trunk/kernel/arch/sparc64/src/context.S
/trunk/uspace/lib/libc/arch/sparc64/src/fibril.S
2859 5933 d 15 h jermar /trunk/uspace/srv/fs/fat/ Add fat_block_get().  
/trunk/uspace/srv/fs/fat/fat_ops.c
2858 5933 d 17 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 5933 d 18 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
2856 5933 d 18 h jermar /trunk/uspace/srv/fs/fat/ Add a locking scheme for FAT in-core cache and nodes.  
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
2855 5933 d 19 h jermar /trunk/uspace/srv/fs/fat/ fat_node_put(). No locking so far.  
/trunk/uspace/srv/fs/fat/fat_ops.c
2852 5934 d 15 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
2847 5935 d 18 h jermar /trunk/uspace/lib/libfs/ Reset the component length variable only prior collecting a new component.  
/trunk/uspace/lib/libfs/libfs.c
2846 5935 d 18 h jermar /trunk/uspace/lib/libfs/ Improve libfs_lookup() so that has_children() is not called for each character
in the pathname component.
 
/trunk/uspace/lib/libfs/libfs.c
2845 5935 d 21 h jermar /trunk/uspace/srv/fs/fat/ Add fat_has_children(). Alse assume that fat_block_get() can never return NULL.  
/trunk/uspace/srv/fs/fat/fat_ops.c
2844 5935 d 22 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
2843 5935 d 23 h jermar /trunk/uspace/srv/fs/fat/ Somewhat complete implementation of fat_node_get().  
/trunk/uspace/srv/fs/fat/fat_ops.c
2831 5938 d 16 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
2830 5939 d 4 h jermar /trunk/ Add (c) and the modified BSD license to the config system.  
/trunk/HelenOS.config
/trunk/boot/boot.config
/trunk/kernel/kernel.config
/trunk/tools/config.py
/trunk/uspace/uspace.config
2829 5939 d 12 h decky /trunk/tools/ remove obsolete script  
/trunk/tools/build
/trunk/tools/cygwin_symlink_patch.sh
2828 5939 d 20 h jermar /trunk/uspace/srv/fs/fat/ BPS read from FAT bootsector is little-endian. It must converted to host
endianity before being used.
 
/trunk/uspace/srv/fs/fat/fat_ops.c
2822 5940 d 19 h jermar /trunk/uspace/srv/fs/fat/ Introduce and also use the foundation of block cache API in FAT's match
operation.
 
/trunk/uspace/srv/fs/fat/fat_ops.c
2821 5940 d 19 h jermar /trunk/uspace/srv/vfs/ Update comment.  
/trunk/uspace/srv/vfs/vfs.h
2820 5940 d 22 h decky /trunk/uspace/lib/libc/generic/ fix copy-paste typo  
/trunk/uspace/lib/libc/generic/ipc.c
2814 5941 d 8 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
2802 5943 d 10 h jermar /trunk/kernel/generic/ Fix initialization of answerbox->task in ipc_answerbox_init.
Contributed by Jiri Svoboda.
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/proc/task.c
2798 5945 d 0 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
2797 5945 d 1 h jermar /trunk/kernel/ Each architecture should only announce its endianity.
The conversion macros should be defined only once.
 
/trunk/kernel/arch/amd64/include/byteorder.h
/trunk/kernel/arch/arm32/include/byteorder.h
/trunk/kernel/arch/ia32/include/byteorder.h
/trunk/kernel/arch/ia64/include/byteorder.h
/trunk/kernel/arch/mips32/include/byteorder.h
/trunk/kernel/arch/mips32/src/drivers/arc.c
/trunk/kernel/arch/ppc32/include/byteorder.h
/trunk/kernel/arch/ppc64/include/byteorder.h
/trunk/kernel/arch/sparc64/include/byteorder.h
/trunk/kernel/generic/include/byteorder.h
/trunk/kernel/generic/src/debug/symtab.c
/trunk/kernel/generic/src/lib/rd.c
2796 5946 d 0 h jermar /trunk/uspace/srv/fs/fat/ Convert FAT on-disk metadata from little-endian to native representation.  
/trunk/uspace/srv/fs/fat/fat_ops.c
2795 5946 d 0 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
2794 5946 d 1 h jermar /trunk/kernel/ Add macros for byte swapping of uint16_t's.  
/trunk/kernel/arch/amd64/include/byteorder.h
/trunk/kernel/arch/arm32/include/byteorder.h
/trunk/kernel/arch/ia32/include/byteorder.h
/trunk/kernel/arch/ia64/include/byteorder.h
/trunk/kernel/arch/mips32/include/byteorder.h
/trunk/kernel/arch/ppc32/include/byteorder.h
/trunk/kernel/arch/ppc64/include/byteorder.h
/trunk/kernel/arch/sparc64/include/byteorder.h
/trunk/kernel/generic/include/byteorder.h
2793 5946 d 1 h jermar /trunk/uspace/srv/fs/fat/ First untested bits of FAT lookup support.  
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
2792 5946 d 1 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 5948 d 22 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
2790 5949 d 11 h jermar /trunk/kernel/generic/src/proc/ Fix typo ALV tree vs. AVL tree.  
/trunk/kernel/generic/src/proc/thread.c
2789 5951 d 12 h jermar /trunk/uspace/srv/fs/fat/ Fix FAT boot sector definition and introduce the FAT in-core node type.  
/trunk/uspace/srv/fs/fat/fat.h
2788 5951 d 13 h jermar /trunk/uspace/ Return EBUSY if trying to mount something over an already mounted root FS.
(Contributed by Tim Post)
 
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/srv/vfs/vfs_ops.c
2786 5952 d 7 h decky /trunk/uspace/app/tester/ revision of 2785  
/trunk/uspace/app/tester/ipc/connect.c
/trunk/uspace/app/tester/ipc/hangup.c
/trunk/uspace/app/tester/ipc/send_async.c
/trunk/uspace/app/tester/ipc/send_sync.c
/trunk/uspace/app/tester/tester.c
2785 5952 d 22 h jermar /trunk/uspace/app/tester/ Finish run_safe_tests() in app/tester (contributed by Tim Post).  
/trunk/uspace/app/tester/ipc/connect.c
/trunk/uspace/app/tester/ipc/hangup.c
/trunk/uspace/app/tester/ipc/send_async.c
/trunk/uspace/app/tester/ipc/send_sync.c
/trunk/uspace/app/tester/tester.c
/trunk/uspace/app/tester/tester.h
2784 5959 d 23 h jermar /trunk/kernel/arch/ Fortify ia32 and amd64 kernels against mallicious uspace applications that set
DF prior to entering the kernel. For AMD64 syscalls, we don't use the CLD
instruction, but make use of the SFMASK MSR instead. Simics works fine with
it, but QEMU seems to have a problem.
 
/trunk/kernel/arch/amd64/include/cpu.h
/trunk/kernel/arch/amd64/src/asm_utils.S
/trunk/kernel/arch/amd64/src/boot/boot.S
/trunk/kernel/arch/amd64/src/syscall.c
/trunk/kernel/arch/ia32/src/asm.S
/trunk/kernel/arch/ia32/src/boot/boot.S
2783 5960 d 0 h jermar /trunk/kernel/arch/amd64/src/cpu/ Fix cstyle.  
/trunk/kernel/arch/amd64/src/cpu/cpu.c