Subversion Repositories HelenOS

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
4564 5664 d 21 h svoboda /trunk/uspace/srv/bd/rd/ Use rwlock instead of futex for ramdisk.  
/trunk/uspace/srv/bd/rd/rd.c
4425 5697 d 20 h svoboda /trunk/ Move ramdisk under bd.  
/trunk/uspace/srv/bd/rd
/trunk/uspace/srv/rd
/trunk/boot/arch/amd64/Makefile.inc
/trunk/boot/arch/arm32/loader/Makefile
/trunk/boot/arch/ia32/Makefile.inc
/trunk/boot/arch/ia64/loader/Makefile
/trunk/boot/arch/mips32/loader/Makefile
/trunk/boot/arch/ppc32/loader/Makefile
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/uspace/Makefile
/trunk/uspace/srv/bd/rd/Makefile
4416 5698 d 8 h decky /trunk/uspace/ improve devmap interface
remove spared device
 
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/lib/libc/generic/devmap.c
/trunk/uspace/lib/libc/include/devmap.h
/trunk/uspace/lib/libc/include/ipc/devmap.h
/trunk/uspace/srv/bd/gxe_bd/gxe_bd.c
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/rd/rd.c
4410 5699 d 18 h svoboda /trunk/uspace/srv/rd/ Fix type definition.  
/trunk/uspace/srv/rd/rd.c
4401 5700 d 20 h svoboda /trunk/uspace/ C binding for devmap. Gets rid of duplicate code.  
/trunk/uspace/lib/libc/generic/devmap.c
/trunk/uspace/lib/libc/include/devmap.h
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/ipc/devmap.h
/trunk/uspace/lib/libc/include/vfs/vfs.h
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/vfs/vfs.h
4400 5700 d 22 h svoboda /trunk/uspace/ Rename ramdisk protocol -> block device protocol.  
/trunk/uspace/lib/libc/include/ipc/bd.h
/trunk/uspace/srv/rd/rd.h
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/srv/rd/rd.c
4374 5707 d 20 h jermar /trunk/uspace/srv/rd/ Create a second RD device called "spared".
This is for testing purposes.
 
/trunk/uspace/srv/rd/rd.c
4264 5739 d 18 h svoboda /trunk/uspace/ Nuke strcpy() and strcmp().  
/trunk/uspace/app/bdsh/cmds/builtin_cmds.c
/trunk/uspace/app/bdsh/cmds/mod_cmds.c
/trunk/uspace/app/bdsh/cmds/modules/help/help.c
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
/trunk/uspace/app/bdsh/cmds/modules/rm/rm.c
/trunk/uspace/app/bdsh/exec.c
/trunk/uspace/app/bdsh/input.c
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/app/tetris/scores.c
/trunk/uspace/app/tetris/screen.c
/trunk/uspace/app/tetris/tetris.c
/trunk/uspace/lib/libc/generic/console.c
/trunk/uspace/lib/libc/generic/getopt.c
/trunk/uspace/lib/libc/generic/string.c
/trunk/uspace/lib/libc/include/stdio.h
/trunk/uspace/lib/libc/include/string.h
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/fs/fat/fat_dentry.c
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/loader/main.c
/trunk/uspace/srv/pci/libpci/names.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/vfs/vfs_ops.c
4005 5777 d 22 h decky /trunk/uspace/srv/rd/ blocking connection to device mapper  
/trunk/uspace/srv/rd/rd.c
3908 5791 d 21 h decky /trunk/ overhaul pareas: use one single physical area for the physical address space not belonging to physical memory  
/trunk/kernel/arch/amd64/include/mm/frame.h
/trunk/kernel/arch/amd64/src/mm/page.c
/trunk/kernel/arch/arm32/include/mm/frame.h
/trunk/kernel/arch/arm32/src/mm/frame.c
/trunk/kernel/arch/arm32/src/mm/page.c
/trunk/kernel/arch/ia32/include/mm/frame.h
/trunk/kernel/arch/ia32/src/mm/frame.c
/trunk/kernel/arch/ia32/src/mm/page.c
/trunk/kernel/arch/ia64/include/mm/frame.h
/trunk/kernel/arch/ia64/src/mm/frame.c
/trunk/kernel/arch/ia64/src/mm/page.c
/trunk/kernel/arch/mips32/include/mm/frame.h
/trunk/kernel/arch/mips32/src/drivers/msim.c
/trunk/kernel/arch/mips32/src/mm/frame.c
/trunk/kernel/arch/mips32/src/mm/page.c
/trunk/kernel/arch/ppc32/include/mm/frame.h
/trunk/kernel/arch/ppc32/src/mm/frame.c
/trunk/kernel/arch/ppc32/src/mm/page.c
/trunk/kernel/arch/sparc64/include/mm/frame.h
/trunk/kernel/arch/sparc64/src/drivers/sgcn.c
/trunk/kernel/arch/sparc64/src/mm/frame.c
/trunk/kernel/arch/sparc64/src/mm/page.c
/trunk/kernel/genarch/src/drivers/ega/ega.c
/trunk/kernel/genarch/src/fb/fb.c
/trunk/kernel/generic/include/ddi/ddi.h
/trunk/kernel/generic/include/mm/page.h
/trunk/kernel/generic/src/adt/avl.c
/trunk/kernel/generic/src/console/cmd.c
/trunk/kernel/generic/src/console/console.c
/trunk/kernel/generic/src/ddi/ddi.c
/trunk/kernel/generic/src/lib/rd.c
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/time/clock.c
/trunk/uspace/srv/fb/ega.c
/trunk/uspace/srv/fb/fb.c
/trunk/uspace/srv/fb/msim.c
/trunk/uspace/srv/fb/sgcn.c
/trunk/uspace/srv/kbd/arch/sparc64/src/sgcn.c
/trunk/uspace/srv/ns/ns.c
/trunk/uspace/srv/rd/rd.c
3254 5984 d 1 h jermar /trunk/uspace/ Stop using fixed size BLOCK_SIZE in the ramdisk task and allow each client to negotiate its own
maximum block size. Allow the individual transfers to use block sizes smaller and equal to the
negotiated maximum block size.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/rd/rd.h
3085 6050 d 0 h decky /trunk/uspace/srv/rd/ devmap support, small fixes  
/trunk/uspace/srv/rd/rd.c
2678 6204 d 22 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
2677 6204 d 23 h jermar /trunk/ Rename IPC_M_AS_AREA_SEND to IPC_M_SHARE_OUT. Rename IPC_M_AS_AREA_RECV to
IPC_M_SHARE_IN. Provide user-friendly wrappers for these methods so that even
dummies can get it right. Some applications using simpler protocols still use
these methods directly.
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/app/klog/klog.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/generic/time.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/fb/ega.c
/trunk/uspace/srv/fb/fb.c
/trunk/uspace/srv/ns/ns.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/vfs/vfs_register.c
2637 6231 d 20 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
2619 6245 d 18 h jermar /trunk/ Modify ipc_answer_*() to make use of all six syscall arguments. The recommended
means of answering calls is via the ipc_answer_m() macros (where m denotes the
number of return arguments) that automatically decide between the fast register
version or the slow universal version of ipc_answer().
 
/trunk/kernel/generic/include/ipc/sysipc.h
/trunk/kernel/generic/include/syscall/syscall.h
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/kernel/generic/src/syscall/syscall.c
/trunk/uspace/app/tester/ipc/answer.c
/trunk/uspace/app/tester/ipc/register.c
/trunk/uspace/app/tester/ipc/send_async.c
/trunk/uspace/lib/libc/generic/async.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/ega.c
/trunk/uspace/srv/fb/fb.c
/trunk/uspace/srv/fb/main.c
/trunk/uspace/srv/fb/sysio.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_mount.c
/trunk/uspace/srv/vfs/vfs_open.c
/trunk/uspace/srv/vfs/vfs_register.c
2518 6314 d 19 h jermar /trunk/uspace/ One occurrence of the left-over term 'pseudo thread' replaced with 'fibril' in
the rd task.

Start the vfs task. Now it is dummy, but integrated into the sources.
 
/trunk/uspace/srv/vfs
/trunk/uspace/srv/vfs/Makefile
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/Makefile
/trunk/uspace/srv/rd/rd.c
2479 6396 d 2 h jermar /trunk/ New, better-structured, directory layout for uspace.  
/trunk/uspace/app
/trunk/uspace/app/init
/trunk/uspace/app/klog
/trunk/uspace/app/tester
/trunk/uspace/app/tetris
/trunk/uspace/lib
/trunk/uspace/lib/libc
/trunk/uspace/lib/softfloat
/trunk/uspace/lib/softint
/trunk/uspace/srv
/trunk/uspace/srv/console
/trunk/uspace/srv/fb
/trunk/uspace/srv/fs
/trunk/uspace/srv/kbd
/trunk/uspace/srv/ns
/trunk/uspace/srv/pci
/trunk/uspace/srv/rd
/trunk/uspace/console
/trunk/uspace/fb
/trunk/uspace/fs
/trunk/uspace/init
/trunk/uspace/kbd
/trunk/uspace/klog
/trunk/uspace/libc
/trunk/uspace/ns
/trunk/uspace/pci
/trunk/uspace/rd
/trunk/uspace/softfloat
/trunk/uspace/softint
/trunk/uspace/tester
/trunk/uspace/tetris
/trunk/boot/arch/amd64/Makefile.inc
/trunk/boot/arch/arm32/loader/Makefile
/trunk/boot/arch/ia32/Makefile.inc
/trunk/boot/arch/ia32xen/Makefile.inc
/trunk/boot/arch/mips32/loader/Makefile
/trunk/boot/arch/ppc32/loader/Makefile
/trunk/boot/arch/ppc64/loader/Makefile
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/contrib/conf/ski.conf
/trunk/uspace/Makefile
/trunk/uspace/app/init/Makefile
/trunk/uspace/app/klog/Makefile
/trunk/uspace/app/tester/Makefile
/trunk/uspace/app/tetris/Makefile
/trunk/uspace/app/tetris/input.c
/trunk/uspace/app/tetris/screen.c
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/arch/amd64/_link.ld.in
/trunk/uspace/lib/libc/arch/arm32/Makefile.inc
/trunk/uspace/lib/libc/arch/arm32/_link.ld.in
/trunk/uspace/lib/libc/arch/ia32/_link.ld.in
/trunk/uspace/lib/libc/arch/ia64/Makefile.inc
/trunk/uspace/lib/libc/arch/ia64/_link.ld.in
/trunk/uspace/lib/libc/arch/mips32/Makefile.inc
/trunk/uspace/lib/libc/arch/mips32/_link.ld.in
/trunk/uspace/lib/libc/arch/ppc32/_link.ld.in
/trunk/uspace/lib/libc/arch/ppc64/_link.ld.in
/trunk/uspace/lib/libc/arch/sparc64/_link.ld.in
/trunk/uspace/srv/console/Makefile
/trunk/uspace/srv/fb/Makefile
/trunk/uspace/srv/fs/Makefile
/trunk/uspace/srv/kbd/Makefile
/trunk/uspace/srv/ns/Makefile
/trunk/uspace/srv/pci/Makefile
/trunk/uspace/srv/pci/libpci/Makefile
/trunk/uspace/srv/rd/Makefile
2478 6397 d 22 h jermar /trunk/uspace/rd/ Add sanity checks for reads and writes that occur past the end of the
ramdisk image.
 
/trunk/uspace/rd/rd.c
2475 6398 d 19 h jermar /trunk/uspace/rd/ Improve the rd task (not tested):
- allow more connections
- support write operation
- support concurrent requests
- sanity checks
- add comments

Please review.
 
/trunk/uspace/rd/rd.c
/trunk/uspace/rd/rd.h

Show All