aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/gntmap.c
Commit message (Collapse)AuthorAgeFilesLines
* stubdom/minios: re-structure headersKeir Fraser2009-10-011-3/+4
| | | | | | | | | As part of making stubdom usable on NetBSD, it is necessary to restructure the minios headers to avoid conflicts with NetBSD's crossbuild toolchain. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
* minios: grant table map (gntdev) bug fixesKeir Fraser2008-07-241-4/+6
| | | | | | | | | | | * Uninitialized dev_bus_addr argument to GNTTABOP_unmap_grant_ref results in an angry hypervisor. * Set errno in libxc and return -1 on error. * op.status is a int16_t, so it should be printed with PRId16. * Don't print domids[0] or refs[0] if the ptr is NULL. It's more polite to crash later, after the message has been printed. Signed-off-by: Diego Ongaro <diego.ongaro@citrix.com>
* minios: grant table map (gntdev) for miniosKeir Fraser2008-07-241-0/+250
I've implemented a grant map for mini-os to support the xc_gnttab_*() functions, the equivalent of gntdev in linux. This is useful for my work in putting xenstored in a stub domain. Signed-off-by: Diego Ongaro <diego.ongaro@citrix.com>