Added BCQs to the preempt structs in procdata
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 26 Mar 2010 23:43:18 +0000 (16:43 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:40 +0000 (17:35 -0700)
commitb670d56099bec745f6e86af98fe96dfec3bedac8
treecbc133716f68602fb9cf1ba433bda9a2a4758cc9
parent4ce1c6bf624f5d4d60f7fedd0db2f4680b27e2c1
Added BCQs to the preempt structs in procdata

This involved duplicating the code for atomic operations (though for
now, only CAS was needed, and that might go away).  On sparc, this means
copying all of the spinlock stuff too.

Also, bcq_struct.h is included with the structure and other things, with
the actual work done in bcq.h.  This is because libc includes
bcq_struct, but doesn't actually do the ops, and we want to limit the
amount of crap in the ros interface (like comp_and_swap).
kern/include/ros/bcq.h
kern/include/ros/bcq_struct.h [new file with mode: 0644]
kern/include/ros/notification.h
user/include/i686/atomic.h [new file with mode: 0644]
user/include/sparc/atomic.h [new file with mode: 0644]