aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/rangeset.h
Commit message (Collapse)AuthorAgeFilesLines
* rangesets: add function to query for overlapsKeir Fraser2010-09-201-0/+2
| | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
* x86: improve reporting through XENMEM_machine_memory_mapKeir Fraser2009-11-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | Since Dom0 derives machine address ranges usable for assigning PCI device resources from the output of this sub-hypercall, Xen should make sure it properly reports all ranges not suitable for this (as either reserved or unusable): - RAM regions excluded via command line option - memory regions used by Xen itself (LAPIC, IOAPICs) While the latter should generally already be excluded by the BIOS provided E820 table, this apparently isn't always the case at least for IOAPICs, and with Linux having got changed to account for this it seems to make sense to also do so in Xen. Generally the HPET range should also be excluded here, but since it isn't being reflected in Dom0's iomem_caps (and can't be, as it's a sub-page range) I wasn't sure whether adding explicit code for doing so would be reasonable. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* Allow non-privileged domains restricted access tokaf24@firebug.cl.cam.ac.uk2005-12-311-6/+9
| | | | | | | | | | | I/O memory and physical interrupts, under control of domain0. Capabilities are maintained as rangesets in Xen. Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil> Signed-off-by: Keir Fraser <keir@xensource.com>
* Add auto-destructing per-domain rangeset data structure,kaf24@firebug.cl.cam.ac.uk2005-12-291-0/+68
for representing sets of contiguous numeric ranges. This will be used for representing permissions lists (e.g., io memory, io ports, irqs). Signed-off-by: Keir Fraser <keir@xensource.com>