Procdata uses user_contexts (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 13 Apr 2013 02:59:45 +0000 (19:59 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sat, 13 Apr 2013 02:59:45 +0000 (19:59 -0700)
commit36c532bd34d7beb9b38c68303b8dd0ad0e0d6645
treeadd31c6f63f53dfbfaae83e41aa8deb06f0035a4
parentd3f296786db734592a8001340be68cde3b8c6659
Procdata uses user_contexts (XCC)

This changes the kernel interface from struct trapframes to struct
user_contexts.  I also found some ancient documentation, though I'm sure
a lot more of it is out of date (esp regarding preemption).

Userspace libraries (and ancient ghetto test programs...) use the new
kernel interface, though the user-level arch-dependent functions still
operate on HW TFs (instead of contexts).

Also, c3po looks like it might not work; not sure what its deal is/was.
21 files changed:
Documentation/process-internals.txt
Documentation/processes.txt
kern/arch/i686/ros/trapframe.h
kern/arch/riscv/ros/trapframe.h
kern/arch/sparc/ros/trapframe.h
kern/include/ros/event.h
kern/src/process.c
tests/eth_audio.c
tests/mhello.c
tests/msr_get_cores.c
tests/msr_get_singlecore.c
tests/syscall.c
user/c3po/threads/ucontext.c
user/c3po/threads/ucontext.h
user/c3po/threads/vcore.c
user/parlib/include/i686/vcore.h
user/parlib/include/riscv/vcore.h
user/parlib/include/sparc/vcore.h
user/parlib/include/uthread.h
user/parlib/uthread.c
user/pthread/pthread.c