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
2670 6037 d 19 h jermar /trunk/uspace/ Move the open(), read() and write() provided by streams.c away so that
these functions won't clash with the real open(), read() and write(), which are
soon to be provided by a libvfs library. Applications can now use open_stdin(),
open_stdout(), read_stdin() and write_stdout(). Later, there might be an option
of providing a custom console file system, which will work similarly to how
streams' open(), read() and write() worked.
 
/trunk/uspace/app/tetris/screen.c
/trunk/uspace/lib/libc/generic/io/io.c
/trunk/uspace/lib/libc/generic/io/stream.c
/trunk/uspace/lib/libc/generic/io/vprintf.c
/trunk/uspace/lib/libc/generic/libc.c
/trunk/uspace/lib/libc/include/io/stream.h
2669 6037 d 19 h jermar /trunk/uspace/lib/libc/generic/io/ Remove file.c.  
/trunk/uspace/lib/libc/generic/io/file.c
2668 6037 d 19 h jermar /trunk/uspace/lib/libc/include/io/ Remove file.h.  
/trunk/uspace/lib/libc/include/io/file.h
2667 6038 d 16 h jermar /trunk/uspace/srv/fs/tmpfs/ The previous commit was not entirely sane.
Handle VFS_WRITE correctly when the file doesn't grow.
Handle it correctly also when the file grows.
 
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2666 6038 d 21 h jermar /trunk/uspace/srv/ VFS and TMPFS support for VFS_WRITE.  
/trunk/uspace/srv/vfs/vfs_rdwr.c
/trunk/uspace/srv/vfs/vfs_read.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/Makefile
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
2665 6040 d 18 h jermar /trunk/uspace/app/tester/vfs/ The vfs1 test now reads a file on a TMPFS file system.  
/trunk/uspace/app/tester/vfs/vfs1.c
2664 6040 d 18 h jermar /trunk/uspace/srv/fs/tmpfs/ Fix two bugs in TMPFS-side VFS_READ.  
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2663 6040 d 19 h jermar /trunk/uspace/ Reimplement VFS_READ using IPC_M_DATA_READ.  
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs_read.c
2662 6040 d 20 h jermar /trunk/ Add support for IPC_M_DATA_READ calls.  
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
2661 6040 d 21 h jermar /trunk/kernel/generic/src/ipc/ Release the IPC_M_DATA_WRITE buffer even if the write is refused by the
recipient.
 
/trunk/kernel/generic/src/ipc/sysipc.c
2660 6040 d 21 h jermar /trunk/ Rename IPC_M_DATA_SEND to IPC_M_DATA_WRITE. Now, when we also add
IPC_M_DATA_READ, it will not clash and cause confusion with userspace wrappers
such as ipc_data_receive(). Rename the forementioned wrappers to
ipc_data_write_send(), ipc_data_write_receive() and ipc_data_write_deliver().
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/vfs/vfs_mount.c
/trunk/uspace/srv/vfs/vfs_open.c
/trunk/uspace/srv/vfs/vfs_register.c
2659 6041 d 18 h jermar /trunk/uspace/srv/vfs/ After VFS_READ, update the position pointer in the open file.  
/trunk/uspace/srv/vfs/vfs_read.c
2658 6041 d 18 h jermar /trunk/uspace/srv/ VFS work.
Foundation for TMPFS-side VFS_READ and fixes in VFS-side VFS_READ.
 
/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_read.c
2657 6041 d 21 h jermar /trunk/uspace/ VFS work.
Cleaner VFS_MOUNT protocol.
 
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/srv/vfs/vfs_mount.c
2656 6045 d 0 h jermar /trunk/uspace/app/tester/ Add a simple test of VFS_MOUNT and VFS_OPEN to tester.  
/trunk/uspace/app/tester/vfs
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/app/tester/vfs/vfs1.def
/trunk/uspace/app/tester/Makefile
/trunk/uspace/app/tester/tester.c
/trunk/uspace/app/tester/tester.h
2655 6045 d 0 h jermar /trunk/uspace/srv/fs/tmpfs/ TMPFS work.
VFS_LOOKUP implemented.
 
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2654 6045 d 0 h jermar /trunk/uspace/srv/vfs/ VFS work.
Don't hang up the connection to VFS after VFS_MOUNT.
 
/trunk/uspace/srv/vfs/vfs.c
2653 6045 d 0 h jermar /trunk/uspace/srv/vfs/ VFS work.
Index of the last PLB character of a pathname was not correctly calculated.
 
/trunk/uspace/srv/vfs/vfs_lookup.c
2652 6045 d 0 h jermar /trunk/uspace/srv/vfs/ VFS work.
Fix VFS node hash function to hash only within the limits of its supposed
ranges.
 
/trunk/uspace/srv/vfs/vfs_node.c
2651 6045 d 0 h jermar /trunk/uspace/srv/vfs/ VFS work. Releas the FS phone earlier.  
/trunk/uspace/srv/vfs/vfs_mount.c
2650 6045 d 0 h jermar /trunk/uspace/srv/vfs/ VFS work. FS info futex must be initialized.  
/trunk/uspace/srv/vfs/vfs_register.c
2649 6047 d 10 h jermar /trunk/boot/arch/ Enable tmpfs in arm32, ia32xen, ia64, ppc32, ppc64 and sparc64.  
/trunk/boot/arch/arm32/loader/Makefile
/trunk/boot/arch/ia32xen/Makefile.inc
/trunk/boot/arch/ia32xen/grub/menu.lst
/trunk/boot/arch/ia64/loader/Makefile
/trunk/boot/arch/ppc32/loader/Makefile
/trunk/boot/arch/ppc64/loader/Makefile
/trunk/boot/arch/sparc64/loader/Makefile
2648 6047 d 22 h jermar /trunk/boot/arch/ Added support for tmpfs loading to amd64, ia32 and mips32.
Added support for devmap loading to amd64.
 
/trunk/boot/arch/amd64/Makefile.inc
/trunk/boot/arch/amd64/grub/menu.lst
/trunk/boot/arch/ia32/Makefile.inc
/trunk/boot/arch/ia32/grub/menu.lst
/trunk/boot/arch/mips32/loader/Makefile
2647 6047 d 22 h jermar /trunk/kernel/generic/src/mm/ Fix a bug in anonymous address space area sharing. Call the backend's share
function only if the source area is not already shared. Otherwise increment the
sh_info refcount. Without this fix, the kernel will try to recreate the pagemap
if three and more address space areas attempt to share the same data.
 
/trunk/kernel/generic/src/mm/as.c
/trunk/kernel/generic/src/mm/backend_elf.c
2646 6047 d 22 h jermar /trunk/kernel/generic/include/ Formatting.  
/trunk/kernel/generic/include/panic.h
2645 6048 d 0 h jermar /trunk/uspace/ Start TMPFS.
Not loaded during boot as there is a reproducible kernel panic which occurs when
both tmpfs and fat are loaded.
 
/trunk/uspace/srv/fs/tmpfs
/trunk/uspace/srv/fs/tmpfs/Makefile
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/Makefile
2644 6048 d 0 h jermar /trunk/uspace/ Move incomplete fs interface from fat.h to libfs.  
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
2643 6048 d 1 h jermar /trunk/uspace/ VFS work.
Move FS registration code to libfs.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/Makefile
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
2642 6049 d 4 h jermar /trunk/uspace/ Start libfs.
libfs is to contain all common fs code.
 
/trunk/uspace/lib/libfs
/trunk/uspace/lib/libfs/Makefile
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/Makefile
2641 6049 d 23 h jermar /trunk/uspace/srv/vfs/ VFS work.
During VFS_REGISTER, use strncmp() instead of strcmp().
Add one excessive convenience byte to vfs_info.name to support the
above-mentioned change. In case the fs name spans all available
characters, make sure this convenience byte is zero.
 
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_register.c
2640 6051 d 17 h cejka /trunk/uspace/lib/libc/ Function strncmp() added to libc.  
/trunk/uspace/lib/libc/generic/string.c
/trunk/uspace/lib/libc/include/string.h
2639 6058 d 18 h jermar /trunk/uspace/srv/fs/fat/ FAT work.
Foundation for FAT dentry comparison function.
Beware of looking at the diff or risk loosing sanity.
 
/trunk/uspace/srv/fs/fat/fat_ops.c
2638 6059 d 20 h jermar /trunk/ Sync IPC comments with IPC code.  
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
2637 6059 d 21 h cejka /trunk/ Extended IPC_M_CONNECT_TO_ME to use 3 user defined parameters.
Phone identifier is passed in ARG5.
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/ipcrsc.c
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/app/tester/ipc/register.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/fb/main.c
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/kbd/generic/kbd.c
/trunk/uspace/srv/ns/ns.c
/trunk/uspace/srv/pci/pci.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs_register.c
2636 6061 d 20 h jermar /trunk/ Update comments wrt the previous commit.
Minor formatting fixes.
 
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/lib/libc/generic/ipc.c
2635 6061 d 21 h cejka /trunk/ Function ipc_connect_me_to sends 3 user defined arguments now.
One argument added also to ipc_forward_fast.
Fixed devmap and improved its test.
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/include/ipc/sysipc.h
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/app/tester/ipc/connect.c
/trunk/uspace/lib/libc/generic/async.c
/trunk/uspace/lib/libc/generic/io/stream.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/devmap/devmap.h
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/ns/ns.c
/trunk/uspace/srv/vfs/vfs_read.c
2634 6062 d 16 h decky /trunk/kernel/arch/mips32/src/ fix trivial bug in storing lastcount  
/trunk/kernel/arch/mips32/src/interrupt.c
2633 6062 d 16 h decky /trunk/kernel/arch/mips32/ CPU cycle accounting on MIPS  
/trunk/kernel/arch/mips32/include/cycle.h
/trunk/kernel/arch/mips32/include/interrupt.h
/trunk/kernel/arch/mips32/src/interrupt.c
2632 6062 d 16 h decky /trunk/kernel/generic/src/proc/ try to kill the tasks fewer times by introducing a delay in iterations  
/trunk/kernel/generic/src/proc/task.c
2630 6067 d 19 h jermar /trunk/kernel/arch/ Formatting fixes.  
/trunk/kernel/arch/amd64/include/proc/task.h
/trunk/kernel/arch/amd64/src/ddi/ddi.c
/trunk/kernel/arch/ia32/include/proc/task.h
/trunk/kernel/arch/ia32/src/ddi/ddi.c
/trunk/kernel/arch/ia32/src/proc/scheduler.c