Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff Changes
4718 5519 d 21 h mejdrech /branches/network/ Net: merge with trunk head (0.4.1)  
/branches/network/boot/arch/arm32/loader/print/print.c
/branches/network/defaults/arm32/GXemul
/branches/network/defaults/arm32/integratorcp
/branches/network/kernel/arch/arm32/include/mach
/branches/network/kernel/arch/arm32/include/machine_func.h
/branches/network/kernel/arch/arm32/src/exc_handler.S
/branches/network/kernel/arch/arm32/src/mach
/branches/network/kernel/arch/arm32/src/machine_func.c
/branches/network/kernel/genarch/include/drivers/pl050
/branches/network/kernel/genarch/include/kbrd/scanc_mac.h
/branches/network/kernel/genarch/include/kbrd/scanc_pl050.h
/branches/network/kernel/genarch/src/drivers/pl050
/branches/network/kernel/genarch/src/kbrd/kbrd_pl050.c
/branches/network/kernel/genarch/src/kbrd/scanc_mac.c
/branches/network/kernel/genarch/src/kbrd/scanc_pl050.c
/branches/network/uspace/app/tester/mm
/branches/network/uspace/app/tester/print/print2.c
/branches/network/uspace/app/tester/print/print2.def
/branches/network/uspace/app/tester/print/print3.c
/branches/network/uspace/app/tester/print/print3.def
/branches/network/uspace/lib/libc/generic/errno.c
/branches/network/uspace/lib/libc/generic/malloc.c
/branches/network/uspace/lib/libc/include/adt/gcdlcm.h
/branches/network/uspace/srv/kbd/ctl/pl050.c
/branches/network/uspace/srv/kbd/port/pl050.c
/branches/network/boot/arch/arm32/loader/print/gxemul.c
/branches/network/kernel/arch/arm32/include/drivers/gxemul.h
/branches/network/kernel/arch/arm32/src/drivers/gxemul.c
/branches/network/uspace/app/tester/devmap
/branches/network/uspace/app/tester/ipc/answer.c
/branches/network/uspace/app/tester/ipc/answer.def
/branches/network/uspace/app/tester/ipc/hangup.c
/branches/network/uspace/app/tester/ipc/hangup.def
/branches/network/uspace/app/tester/ipc/send_async.c
/branches/network/uspace/app/tester/ipc/send_async.def
/branches/network/uspace/app/tester/ipc/send_sync.c
/branches/network/uspace/app/tester/ipc/send_sync.def
/branches/network/uspace/lib/libc/malloc
/branches/network/HelenOS.config
/branches/network/boot/arch/arm32/loader/Makefile
/branches/network/boot/arch/arm32/loader/_link.ld.in
/branches/network/boot/arch/arm32/loader/boot.S
/branches/network/boot/arch/arm32/loader/main.c
/branches/network/defaults/amd64/Makefile.config
/branches/network/defaults/arm32/Makefile.config
/branches/network/defaults/ia32/Makefile.config
/branches/network/defaults/ia64/Makefile.config
/branches/network/defaults/mips32/Makefile.config
/branches/network/defaults/ppc32/Makefile.config
/branches/network/defaults/sparc64/Makefile.config
/branches/network/kernel/arch/arm32/Makefile.inc
/branches/network/kernel/arch/arm32/include/exception.h
/branches/network/kernel/arch/arm32/src/arm32.c
/branches/network/kernel/arch/arm32/src/exception.c
/branches/network/kernel/arch/arm32/src/interrupt.c
/branches/network/kernel/arch/arm32/src/mm/frame.c
/branches/network/kernel/arch/arm32/src/start.S
/branches/network/kernel/arch/ia32/src/drivers/vesa.c
/branches/network/kernel/arch/ia64/include/atomic.h
/branches/network/kernel/arch/ia64/include/mm/tlb.h
/branches/network/kernel/arch/ia64/src/ivt.S
/branches/network/kernel/arch/ia64/src/mm/tlb.c
/branches/network/kernel/arch/mips32/include/atomic.h
/branches/network/kernel/arch/mips32/include/context_offset.h
/branches/network/kernel/arch/mips32/src/mips32.c
/branches/network/kernel/arch/ppc32/src/ppc32.c
/branches/network/kernel/arch/sparc64/include/atomic.h
/branches/network/kernel/arch/sparc64/include/context.h
/branches/network/kernel/arch/sparc64/src/asm.S
/branches/network/kernel/arch/sparc64/src/drivers/scr.c
/branches/network/kernel/genarch/Makefile.inc
/branches/network/kernel/genarch/include/drivers/via-cuda/cuda.h
/branches/network/kernel/genarch/include/fb/visuals.h
/branches/network/kernel/genarch/src/drivers/via-cuda/cuda.c
/branches/network/kernel/genarch/src/fb/fb.c
/branches/network/kernel/genarch/src/kbrd/kbrd.c
/branches/network/kernel/genarch/src/mm/page_ht.c
/branches/network/kernel/generic/include/context.h
/branches/network/kernel/generic/include/string.h
/branches/network/kernel/generic/src/ipc/event.c
/branches/network/kernel/generic/src/lib/string.c
/branches/network/kernel/generic/src/main/uinit.c
/branches/network/uspace/app/bdsh/cmds/modules/cp/cp.c
/branches/network/uspace/app/bdsh/cmds/modules/ls/ls.c
/branches/network/uspace/app/bdsh/cmds/modules/ls/ls.h
/branches/network/uspace/app/bdsh/cmds/modules/rm/rm.c
/branches/network/uspace/app/bdsh/exec.c
/branches/network/uspace/app/bdsh/util.c
/branches/network/uspace/app/getvc/getvc.c
/branches/network/uspace/app/init/Makefile
/branches/network/uspace/app/init/init.c
/branches/network/uspace/app/tester/Makefile
/branches/network/uspace/app/tester/console/console1.c
/branches/network/uspace/app/tester/fault/fault1.c
/branches/network/uspace/app/tester/fault/fault2.c
/branches/network/uspace/app/tester/ipc/connect.c
/branches/network/uspace/app/tester/ipc/ping_pong.c
/branches/network/uspace/app/tester/ipc/register.c
/branches/network/uspace/app/tester/loop/loop1.c
/branches/network/uspace/app/tester/print/print1.c
/branches/network/uspace/app/tester/print/print1.def
/branches/network/uspace/app/tester/print/print4.c
/branches/network/uspace/app/tester/stdio/stdio1.c
/branches/network/uspace/app/tester/stdio/stdio2.c
/branches/network/uspace/app/tester/tester.c
/branches/network/uspace/app/tester/tester.h
/branches/network/uspace/app/tester/thread/thread1.c
/branches/network/uspace/app/tester/vfs/vfs1.c
/branches/network/uspace/app/tetris/screen.c
/branches/network/uspace/app/tetris/shapes.c
/branches/network/uspace/app/tetris/tetris.c
/branches/network/uspace/app/trace/proto.c
/branches/network/uspace/app/trace/trace.c
/branches/network/uspace/lib/libblock/libblock.c
/branches/network/uspace/lib/libblock/libblock.h
/branches/network/uspace/lib/libc/Makefile
/branches/network/uspace/lib/libc/arch/ia64/Makefile.inc
/branches/network/uspace/lib/libc/arch/sparc64/include/fibril.h
/branches/network/uspace/lib/libc/arch/sparc64/include/stack.h
/branches/network/uspace/lib/libc/generic/as.c
/branches/network/uspace/lib/libc/generic/async.c
/branches/network/uspace/lib/libc/generic/devmap.c
/branches/network/uspace/lib/libc/generic/getopt.c
/branches/network/uspace/lib/libc/generic/io/console.c
/branches/network/uspace/lib/libc/generic/io/io.c
/branches/network/uspace/lib/libc/generic/libc.c
/branches/network/uspace/lib/libc/generic/mman.c
/branches/network/uspace/lib/libc/generic/string.c
/branches/network/uspace/lib/libc/generic/task.c
/branches/network/uspace/lib/libc/generic/vfs/vfs.c
/branches/network/uspace/lib/libc/include/async.h
/branches/network/uspace/lib/libc/include/bitops.h
/branches/network/uspace/lib/libc/include/devmap.h
/branches/network/uspace/lib/libc/include/errno.h
/branches/network/uspace/lib/libc/include/fibril.h
/branches/network/uspace/lib/libc/include/getopt.h
/branches/network/uspace/lib/libc/include/io/console.h
/branches/network/uspace/lib/libc/include/ipc/console.h
/branches/network/uspace/lib/libc/include/ipc/devmap.h
/branches/network/uspace/lib/libc/include/ipc/fb.h
/branches/network/uspace/lib/libc/include/ipc/ns.h
/branches/network/uspace/lib/libc/include/ipc/vfs.h
/branches/network/uspace/lib/libc/include/macros.h
/branches/network/uspace/lib/libc/include/malloc.h
/branches/network/uspace/lib/libc/include/mem.h
/branches/network/uspace/lib/libc/include/stdio.h
/branches/network/uspace/lib/libc/include/stdlib.h
/branches/network/uspace/lib/libc/include/string.h
/branches/network/uspace/lib/libc/include/sys/stat.h
/branches/network/uspace/lib/libc/include/task.h
/branches/network/uspace/lib/libc/include/unistd.h
/branches/network/uspace/lib/libc/include/vfs/vfs.h
/branches/network/uspace/lib/libfs/libfs.c
/branches/network/uspace/lib/libfs/libfs.h
/branches/network/uspace/srv/bd/ata_bd/ata_bd.c
/branches/network/uspace/srv/bd/file_bd/file_bd.c
/branches/network/uspace/srv/bd/gxe_bd/gxe_bd.c
/branches/network/uspace/srv/console/console.c
/branches/network/uspace/srv/console/screenbuffer.h
/branches/network/uspace/srv/devmap/devmap.c
/branches/network/uspace/srv/fb/ega.c
/branches/network/uspace/srv/fb/fb.c
/branches/network/uspace/srv/fb/ppm.c
/branches/network/uspace/srv/fb/serial_console.c
/branches/network/uspace/srv/fs/devfs/devfs.c
/branches/network/uspace/srv/fs/devfs/devfs_ops.c
/branches/network/uspace/srv/fs/devfs/devfs_ops.h
/branches/network/uspace/srv/fs/fat/fat.c
/branches/network/uspace/srv/fs/fat/fat.h
/branches/network/uspace/srv/fs/fat/fat_ops.c
/branches/network/uspace/srv/fs/tmpfs/tmpfs.c
/branches/network/uspace/srv/fs/tmpfs/tmpfs.h
/branches/network/uspace/srv/fs/tmpfs/tmpfs_dump.c
/branches/network/uspace/srv/fs/tmpfs/tmpfs_ops.c
/branches/network/uspace/srv/kbd/Makefile
/branches/network/uspace/srv/kbd/ctl/pc.c
/branches/network/uspace/srv/kbd/genarch/gsp.c
/branches/network/uspace/srv/kbd/layout/cz.c
/branches/network/uspace/srv/kbd/layout/us_qwerty.c
/branches/network/uspace/srv/kbd/port/i8042.c
/branches/network/uspace/srv/loader/main.c
/branches/network/uspace/srv/ns/ns.c
/branches/network/uspace/srv/ns/task.c
/branches/network/uspace/srv/ns/task.h
/branches/network/uspace/srv/pci/libpci/generic.c
/branches/network/uspace/srv/pci/libpci/i386-ports.c
/branches/network/uspace/srv/pci/libpci/names.c
/branches/network/uspace/srv/pci/libpci/pci_ids.h
/branches/network/uspace/srv/pci/update-ids
/branches/network/uspace/srv/vfs/vfs.c
/branches/network/uspace/srv/vfs/vfs.h
/branches/network/uspace/srv/vfs/vfs_lookup.c
/branches/network/uspace/srv/vfs/vfs_node.c
/branches/network/uspace/srv/vfs/vfs_ops.c
/branches/network/version
3386 5909 d 17 h decky /branches/network/ add new network branch (copy of current trunk)  
/branches/network
2479 6347 d 20 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
2230 6422 d 18 h jermar /trunk/uspace/ Remove printf() serialization from thread1 test in tester.
The agreement among developers seems to be that:
- there _must_ be a futex to serialize access to printf()
- there _must_ be pseudo thread serialization in printf()
- the best place for this is vprintf(), the one that goes to console
 
/trunk/uspace/libc/generic/io/printf_core.c
/trunk/uspace/libc/generic/io/vprintf.c
/trunk/uspace/tester/thread/thread1.c
2229 6422 d 20 h jermar /trunk/ Revert some of the changes introduced in revision 2209.
I think it is not correct to remove serialization of pseudo threads in printf_core.c.
With thread-level futex serialization, several pseudo threads running in one thread could easily deadlock
the task.

Add a dedicated futex serialization to thread1.c test only.
 
/trunk/kernel/generic/src/proc/thread.c
/trunk/uspace/libc/arch/sparc64/src/thread_entry.s
/trunk/uspace/libc/generic/io/printf_core.c
/trunk/uspace/libc/generic/io/vprintf.c
/trunk/uspace/tester/fault/fault1.c
/trunk/uspace/tester/fault/fault2.c
/trunk/uspace/tester/thread/thread1.c
2216 6424 d 14 h decky /trunk/ make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls
 
/trunk/kernel/arch/amd64/include/types.h
/trunk/kernel/arch/arm32/include/types.h
/trunk/kernel/arch/ia32/include/types.h
/trunk/kernel/arch/ia32xen/include/types.h
/trunk/kernel/arch/ia64/include/types.h
/trunk/kernel/arch/mips32/include/types.h
/trunk/kernel/arch/ppc32/include/types.h
/trunk/kernel/arch/ppc64/include/types.h
/trunk/kernel/arch/sparc64/include/types.h
/trunk/kernel/generic/include/interrupt.h
/trunk/kernel/generic/include/proc/task.h
/trunk/kernel/generic/include/proc/thread.h
/trunk/kernel/generic/src/adt/btree.c
/trunk/kernel/generic/src/console/cmd.c
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/proc/scheduler.c
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/proc/thread.c
/trunk/kernel/generic/src/syscall/syscall.c
/trunk/kernel/test/fpu/fpu1.c
/trunk/kernel/test/fpu/mips2.c
/trunk/kernel/test/fpu/sse1.c
/trunk/kernel/test/mm/falloc2.c
/trunk/kernel/test/mm/slab1.c
/trunk/kernel/test/mm/slab2.c
/trunk/kernel/test/synch/rwlock3.c
/trunk/kernel/test/synch/rwlock4.c
/trunk/kernel/test/synch/semaphore2.c
/trunk/kernel/test/thread/thread1.c
/trunk/uspace/libc/generic/thread.c
/trunk/uspace/libc/include/thread.h
/trunk/uspace/tester/thread/thread1.c
2210 6424 d 16 h decky /trunk/ use more useful values  
/trunk/kernel/test/thread/thread1.c
/trunk/uspace/tester/thread/thread1.c
2188 6425 d 20 h decky /trunk/ new user space testing framework (unfinished)  
/trunk/uspace/tester/ipc
/trunk/uspace/tester/ipc/connect.c
/trunk/uspace/tester/ipc/connect.def
/trunk/uspace/tester/ipc/register.c
/trunk/uspace/tester/ipc/register.def
/trunk/uspace/tester/print
/trunk/uspace/tester/print/print1.c
/trunk/uspace/tester/print/print1.def
/trunk/uspace/tester/tester.h
/trunk/uspace/tester/thread
/trunk/uspace/tester/thread/thread1.c
/trunk/uspace/tester/thread/thread1.def
/trunk/kernel/test/print/print1.c
/trunk/uspace/libc/generic/thread.c
/trunk/uspace/libc/generic/time.c
/trunk/uspace/libc/include/thread.h
/trunk/uspace/libc/include/unistd.h
/trunk/uspace/tester/Makefile
/trunk/uspace/tester/tester.c