aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/xenbus
Commit message (Collapse)AuthorAgeFilesLines
* mini-os: Make utility function get_self_id() in fs-front.c public.Keir Fraser2008-12-161-0/+11
| | | | Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
* mini-os: make xenbus_read_integer and xenbus_printf take const stringsKeir Fraser2008-08-271-3/+3
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: use host's gccKeir Fraser2008-07-041-21/+32
| | | | | | | | This makes stubdom use the host's gcc instead of downloading/compiling binutils+gcc. That requires a bunch of changes and even uncovered a few bugs, but saves a lot of time. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: add proper shutdown facilitiesKeir Fraser2008-06-091-4/+13
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: fix thread safety of xenbus watches by requiring callers toKeir Fraser2008-05-061-14/+21
| | | | | | | provide their own queue of events, because else we can not dispatch to watchers running in parallel. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: avoid putting trailing \0 in xenstoreKeir Fraser2008-03-181-1/+1
| | | | | | | xenstore expects to get the exact amount of data, without the trailing \0. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: Fix lost eventsKeir Fraser2008-03-181-0/+1
| | | | | | | | | | | | | | | evtchn_bind_interdomain used to clear any already pending event before binding a handler, because else the handler may be called before it is ready. That however leads to missed events, which I had to workaround for the HVM case. This changes the semantics of bind_evtchn, and thus of all the event channel binding functions (bind_virq, evtchn_alloc_unbound, evtchn_bind_interdomain) into not unmasking the event itself, hence letting the caller initialize properly before unmasking the port (e.g. record the port number in an appropriate place). Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: have xenbus_printf return the error returned by xenbus_writeKeir Fraser2008-02-271-3/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: add xenbus token support and separate watch event queuesKeir Fraser2008-01-171-27/+103
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: use ASSERT for BUG_ONKeir Fraser2008-01-171-4/+0
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: Revert 16206:7b5b65fbaf61 (xenbus wait fixup)Keir Fraser2007-11-271-1/+0
| | | | Already fixed by 14432:f40079acf646.
* minios: xenbus wait fixupKeir Fraser2007-10-241-0/+1
| | | | | From: Samuel Thibault <samuel.thibault@xensource.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* minios: Fix xenbus request-id release.Keir Fraser2007-04-061-0/+2
| | | | | From: Jacob Gorm Hansen <jacobg@diku.dk> Signed-off-by: Keir Fraser <keir@xensource.com>
* minios: Various small fixes.kaf24@firebug.cl.cam.ac.uk2007-03-191-1/+2
| | | | | | | | - Fixed type of variables in hypervisor.c. - Fixed not removing a waiter from watch_queue. - Make wait_for_watch() global accessible. Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* minios: Fix xenbus-id allocation loop.kfraser@localhost.localdomain2007-02-191-1/+1
| | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* minios: Fix bug in xenbus implementation.kfraser@localhost.localdomain2007-02-021-0/+2
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [MINIOS] Fix compile warnings with -O.kfraser@localhost.localdomain2007-01-191-1/+1
| | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS] Support xenbus watches.kfraser@localhost.localdomain2007-01-121-7/+77
| | | | Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
* [MINI-OS] Clean up event channel types in mini-os.sos22@douglas.cl.cam.ac.uk2006-07-281-1/+2
| | | | | Signed-off-by: John D. Ramsdell <ramsdell@mitre.org> Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [MINIOS]Events handling cleaned up. The interface extended to providekfraser@localhost.localdomain2006-07-051-2/+3
| | | | | | | void* pointer to handlers. Signed-off-by: Steven Smith <sos22@cam.ac.uk> Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS] Implement XenBus transactions in MiniOS.kfraser@localhost.localdomain2006-07-051-22/+81
| | | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* Expand test_xenbus a little.sos22@douglas.cl.cam.ac.uk2006-06-131-0/+35
| | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* This patch exposes XenBus functions to Mini-OS applications.sos22@douglas.cl.cam.ac.uk2006-06-131-25/+130
| | | | Signed-of-by: John D. Ramsdell <ramsdell@mitre.org>
* The patch removes old Xenbus files, fixes 0 length mmu_updates table bug kaf24@firebug.cl.cam.ac.uk2006-03-244-1029/+0
| | | | | | | | | (bugfix by Melvin Anderson) and adds missing console.h header file (again spotted by Melvin). Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* Fix mini-os xenbus.kaf24@firebug.cl.cam.ac.uk2006-03-241-0/+387
| | | | | | | From: Grzegorz Milos <gm281@cam.ac.uk> Signed-off-by: Keir Fraser <keir@xensource.com>
* Merge in the newer Xenbus implementation from Linux to the Mini-OS. The newkaf24@firebug.cl.cam.ac.uk2005-12-083-319/+509
| | | | | | | | | | | | | | 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>
* I've created a patch to get the mini-os to compile in Xen-unstable. The patchkaf24@firebug.cl.cam.ac.uk2005-10-271-1/+6
| | | | | | | | | | is pretty big, but this is mostly because I've replaced hypervisor.h with the hypercalls.h header file from Linux (which seems easier to maintain anyway). I've ignored X86_64. Signed-off-by: Simon Kagstrom <simon.kagstrom@bth.se>
* Remove extraneous semicolon.emellor@ewan2005-09-201-1/+1
| | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Xenbus implementation ported from Linux to Mini-os, simple thread support ↵kaf24@firebug.cl.cam.ac.uk2005-09-094-0/+834
introduced to simplify the porting. 64 bit version of Mini-os now compiles, but does not work because of the pagetables and some bits of scheduler not being written. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>