diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-12-08 15:24:02 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-12-08 15:24:02 +0100 |
commit | 7fc4533b321fbe7ef6ce0ef05e3b99cebe13a39e (patch) | |
tree | b862d841d85f51754110df948f0b471c5e4583de /extras/mini-os/include/wait.h | |
parent | bc70813814bf808d64f0331c2e450662058e07a7 (diff) | |
download | xen-7fc4533b321fbe7ef6ce0ef05e3b99cebe13a39e.tar.gz xen-7fc4533b321fbe7ef6ce0ef05e3b99cebe13a39e.tar.bz2 xen-7fc4533b321fbe7ef6ce0ef05e3b99cebe13a39e.zip |
Merge in the newer Xenbus implementation from Linux to the Mini-OS. The new
version compiles and starts up, but I'm not really sure how to test the new
xenbus implementation.
* Added unbind_evtchn
* Copied parts of the Linux spinlock implementation to make the changes to
xenbus compared to Linux smaller. Also added a dummy rwsem implementation.
* Updated the xenbus-files
Signed-off-by: Simon Kagstrom <simon.kagstrom@bth.se>
Diffstat (limited to 'extras/mini-os/include/wait.h')
-rw-r--r-- | extras/mini-os/include/wait.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/mini-os/include/wait.h b/extras/mini-os/include/wait.h index 4c23855620..21781d818e 100644 --- a/extras/mini-os/include/wait.h +++ b/extras/mini-os/include/wait.h @@ -33,6 +33,10 @@ struct wait_queue name = { \ } +static inline void init_waitqueue_head(struct wait_queue_head *h) +{ + INIT_LIST_HEAD(&h->thread_list); +} static inline void init_waitqueue_entry(struct wait_queue *q, struct thread *thread) { |