Fixed lots of bugs in the SPARC port wrt multithreading
authorAndrew Waterman <waterman@r53.millennium.berkeley.edu>
Mon, 26 Oct 2009 07:21:46 +0000 (00:21 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Mon, 26 Oct 2009 07:32:50 +0000 (08:32 +0100)
commite1edf3728d6b5eb99a0b3c6d247c1c091a6984fb
treece5595dd33f1f1ff890d4e8a18fc0d24cb62b08e
parent45d34c4adc8952cc0d0f9f7d6c37e773f94e0d83
Fixed lots of bugs in the SPARC port wrt multithreading

Also added the Harts threading interface and added
a getvcoreid system call.  Added gettimeofday to SPARC.

Added an arch-specific subfolder to include/ros.  Moved
a few key things that must be exposed to userspace there,
e.g. PGSIZE and relax()
44 files changed:
kern/arch/i386/mmu.h
kern/arch/i386/ros/hart.h [new file with mode: 0644]
kern/arch/i386/ros/mmu.h [new file with mode: 0644]
kern/arch/i386/ros/syscall.h [new file with mode: 0644]
kern/arch/i386/trap.h
kern/arch/sparc/arch.h
kern/arch/sparc/atomic.h
kern/arch/sparc/boot.c
kern/arch/sparc/console.c
kern/arch/sparc/entry.S
kern/arch/sparc/frontend.c
kern/arch/sparc/frontend.h
kern/arch/sparc/mmu.h
kern/arch/sparc/process.c
kern/arch/sparc/ros/hart.h [new file with mode: 0644]
kern/arch/sparc/ros/mmu.h [new file with mode: 0644]
kern/arch/sparc/smp.c
kern/arch/sparc/sparc.h
kern/arch/sparc/trap.c
kern/arch/sparc/trap_entry.S
kern/arch/sparc/trap_table.S
kern/include/ros/arch [new symlink]
kern/include/ros/memlayout.h
kern/include/ros/procdata.h
kern/include/ros/syscall.h
kern/src/Makefrag
kern/src/env.c
kern/src/kfs.c
kern/src/manager.c
kern/src/syscall.c
user/apps/parlib/manycore_test.c [new file with mode: 0644]
user/parlib/inc/hart.h [new file with mode: 0644]
user/parlib/inc/newlib_backend.h
user/parlib/inc/parlib.h
user/parlib/src/Makefrag
user/parlib/src/channel.c
user/parlib/src/hart.c [new file with mode: 0644]
user/parlib/src/i386/entry.S
user/parlib/src/sparc/Makefrag
user/parlib/src/sparc/entry.S
user/parlib/src/sparc/newlib_backend.c
user/parlib/src/syscall.c
user/roslib/inc/lib.h
user/roslib/src/sparc/entry.S