Spinlock work
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 25 Mar 2009 23:06:12 +0000 (16:06 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 25 Mar 2009 23:06:12 +0000 (16:06 -0700)
commit0ec52bb9f8c7736c27d4ed3b76630c2162a40c67
tree56e177332f2fe68fad2e8af928395bde9cf43cd8
parente0716fccac22ead059aea6079005dc681baae3c3
Spinlock work

Fixed spin_lock, templated spin_lock_irqsave, and protect vcprintfs with
a lock (allows interleaving of output at the vcprintf granularity)
inc/atomic.h
kern/printf.c