Displaying 2 results from an estimated 2 matches for "rangesetf_prettyprint_hex".
2013 May 02
5
[PATCH] x86: allow Dom0 read-only access to IO-APICs
...en/arch/x86/io_apic.c
+++ b/xen/arch/x86/io_apic.c
@@ -2468,6 +2468,9 @@ void __init init_ioapic_mappings(void)
unsigned int i, idx = FIX_IO_APIC_BASE_0;
union IO_APIC_reg_01 reg_01;
+ mmio_ro_ranges = rangeset_new(NULL, "r/o mmio ranges",
+ RANGESETF_prettyprint_hex);
+
if ( smp_found_config )
nr_irqs_gsi = 0;
for ( i = 0; i < nr_ioapics; i++ )
@@ -2507,6 +2510,11 @@ void __init init_ioapic_mappings(void)
reg_01.raw = io_apic_read(i, 1);
nr_ioapic_entries[i] = reg_01.bits.entries + 1;
nr_irqs_gsi +=...
2006 Dec 01
1
[PATCH 2/10] Add support for netfront/netback acceleration drivers
...- a/xen/common/domain.c Fri Dec 01 16:21:46 2006 +0000
+++ b/xen/common/domain.c Fri Dec 01 16:22:41 2006 +0000
@@ -160,9 +160,14 @@ struct domain *domain_create(domid_t dom
if ( arch_domain_create(d) != 0 )
goto fail3;
- d->iomem_caps = rangeset_new(d, "I/O Memory",
RANGESETF_prettyprint_hex);
+ d->iomem_caps_readwrite = rangeset_new(d, "I/O Memory RW",
+ RANGESETF_prettyprint_hex);
+ d->iomem_caps_readonly = rangeset_new(d, "I/O Memory RO",
+ RANGESETF_prettyprint_hex);...