/xen/xen/arch/x86/hvm/ |
A D | intercept.c | 240 return handler; in hvm_find_io_handler() 254 if ( handler == NULL ) in hvm_io_intercept() 259 ops = handler->ops; in hvm_io_intercept() 261 ops->complete(handler); in hvm_io_intercept() 286 if ( handler == NULL ) in register_mmio_handler() 290 handler->ops = &mmio_ops; in register_mmio_handler() 291 handler->mmio.ops = ops; in register_mmio_handler() 299 if ( handler == NULL ) in register_portio_handler() 303 handler->ops = &portio_ops; in register_portio_handler() 346 if ( handler == NULL ) in hvm_mmio_internal() [all …]
|
A D | io.c | 196 static int g2m_portio_read(const struct hvm_io_handler *handler, in g2m_portio_read() argument 221 static int g2m_portio_write(const struct hvm_io_handler *handler, in g2m_portio_write() argument 254 struct hvm_io_handler *handler = hvm_next_io_handler(d); in register_g2m_portio_handler() local 256 if ( handler == NULL ) in register_g2m_portio_handler() 259 handler->type = IOREQ_TYPE_PIO; in register_g2m_portio_handler() 260 handler->ops = &g2m_portio_ops; in register_g2m_portio_handler() 368 struct hvm_io_handler *handler; in register_vpci_portio_handler() local 373 handler = hvm_next_io_handler(d); in register_vpci_portio_handler() 374 if ( !handler ) in register_vpci_portio_handler() 377 handler->type = IOREQ_TYPE_PIO; in register_vpci_portio_handler() [all …]
|
A D | stdvga.c | 305 static int stdvga_mem_read(const struct hvm_io_handler *handler, in stdvga_mem_read() argument 456 static int stdvga_mem_write(const struct hvm_io_handler *handler, in stdvga_mem_write() argument 517 static bool_t stdvga_mem_accept(const struct hvm_io_handler *handler, in stdvga_mem_accept() argument 561 static void stdvga_mem_complete(const struct hvm_io_handler *handler) in stdvga_mem_complete() argument 598 struct hvm_io_handler *handler; in stdvga_init() local 606 handler = hvm_next_io_handler(d); in stdvga_init() 608 if ( handler == NULL ) in stdvga_init() 611 handler->type = IOREQ_TYPE_COPY; in stdvga_init() 612 handler->ops = &stdvga_mem_ops; in stdvga_init()
|
A D | save.c | 238 hvm_save_handler handler = hvm_sr_handlers[i].save; in hvm_save() local 240 if ( !handler ) in hvm_save() 251 if ( handler(v, h) != 0 ) in hvm_save() 264 if ( handler(d->vcpu[0], h) != 0 ) in hvm_save() 292 hvm_load_handler handler; in hvm_load() local 328 ((handler = hvm_sr_handlers[desc->typecode].load) == NULL) ) in hvm_load() 338 if ( handler(d, h) != 0 ) in hvm_load()
|
A D | vmsi.c | 214 static int msixtbl_read(const struct hvm_io_handler *handler, in msixtbl_read() argument 353 static int _msixtbl_write(const struct hvm_io_handler *handler, in _msixtbl_write() argument 359 static bool_t msixtbl_range(const struct hvm_io_handler *handler, in msixtbl_range() argument 570 struct hvm_io_handler *handler; in msixtbl_init() local 577 handler = hvm_next_io_handler(d); in msixtbl_init() 578 if ( handler ) in msixtbl_init() 580 handler->type = IOREQ_TYPE_COPY; in msixtbl_init() 581 handler->ops = &msixtbl_mmio_ops; in msixtbl_init()
|
/xen/xen/arch/arm/ |
A D | io.c | 43 if ( !handler->ops->read(v, info, &r, handler->priv) ) in handle_read() 76 handler->priv); in handle_write() 100 const struct mmio_handler *handler; in find_mmio_handler() local 107 return handler; in find_mmio_handler() 115 const struct mmio_handler *handler = NULL; in try_handle_mmio() local 125 if ( !handler ) in try_handle_mmio() 160 struct mmio_handler *handler; in register_mmio_handler() local 168 handler->ops = ops; in register_mmio_handler() 169 handler->addr = addr; in register_mmio_handler() 170 handler->size = size; in register_mmio_handler() [all …]
|
A D | irq.c | 161 desc->handler->set_affinity(desc, cpu_mask); in irq_set_affinity() 165 void (*handler)(int, void *, struct cpu_user_regs *), in request_irq() 179 if ( !handler ) in request_irq() 186 action->handler = handler; in request_irq() 218 desc->handler->ack(desc); in do_IRQ() 234 desc->handler->end(desc); in do_IRQ() 257 action->handler(irq, action->dev_id, regs); in do_IRQ() 266 desc->handler->end(desc); in do_IRQ() 305 desc->handler->shutdown(desc); in release_irq() 384 desc->handler->startup(desc); in setup_irq()
|
A D | vgic.c | 159 ret = d->arch.vgic.handler->domain_init(d); in domain_vgic_init() 177 d->arch.vgic.handler = ops; in register_vgic_ops() 198 if ( d->arch.vgic.handler ) in domain_vgic_free() 199 d->arch.vgic.handler->domain_free(d); in domain_vgic_free() 216 v->domain->arch.vgic.handler->vcpu_init(v); in vcpu_vgic_init() 248 return v->domain->arch.vgic.handler->lpi_get_priority(v->domain, virq); in vgic_get_virq_priority() 363 desc->handler->disable(desc); in vgic_disable_irqs() 419 p->desc->handler->enable(p->desc); in vgic_enable_irqs() 494 n = v->domain->arch.vgic.handler->lpi_to_pending(v->domain, irq); in irq_to_pending() 615 ASSERT(v->domain->arch.vgic.handler->emulate_reg != NULL); in vgic_emulate() [all …]
|
A D | gic.c | 127 desc->handler = gic_hw_ops->gic_host_irq_type; in gic_route_irq_to_xen() 159 desc->handler = gic_hw_ops->gic_guest_irq_type; in gic_route_irq_to_guest() 186 desc->handler->shutdown(desc); in gic_remove_irq_from_guest() 198 desc->handler = &no_irq_type; in gic_remove_irq_from_guest()
|
/xen/xen/drivers/acpi/ |
A D | tables.c | 289 acpi_table_entry_handler handler, in acpi_parse_entries() argument 300 if (!id || !handler) in acpi_parse_entries() 328 if (handler(entry, table_end)) in acpi_parse_entries() 350 acpi_table_entry_handler handler, in acpi_table_parse_entries() argument 359 if (!id || !handler) in acpi_table_parse_entries() 371 return acpi_parse_entries(id, table_size, handler, table_header, in acpi_table_parse_entries() 377 acpi_table_entry_handler handler, unsigned int max_entries) in acpi_table_parse_madt() argument 381 handler, max_entries); in acpi_table_parse_madt() 393 int __init acpi_table_parse(char *id, acpi_table_handler handler) in acpi_table_parse() argument 400 if (!handler) in acpi_table_parse() [all …]
|
A D | numa.c | 188 acpi_table_parse_srat(int id, acpi_madt_entry_handler handler, in acpi_table_parse_srat() argument 193 handler, max_entries); in acpi_table_parse_srat()
|
/xen/xen/include/xen/ |
A D | acpi.h | 78 int acpi_table_parse(char *id, acpi_table_handler handler); 80 acpi_table_entry_handler handler, 84 int entry_id, acpi_table_entry_handler handler, unsigned int max_entries); 87 int acpi_table_parse_madt(enum acpi_madt_type id, acpi_table_entry_handler handler, unsigned int ma… 88 int acpi_table_parse_srat(int id, acpi_madt_entry_handler handler,
|
A D | irq.h | 14 void (*handler)(int, void *, struct cpu_user_regs *); member 88 hw_irq_controller *handler; member 109 #define irq_desc_initialized(desc) ((desc)->handler != NULL) 115 void (*handler)(int, void *, struct cpu_user_regs *),
|
A D | softirq.h | 27 void open_softirq(int nr, softirq_handler handler);
|
/xen/xen/arch/x86/ |
A D | irq.c | 341 desc->handler->shutdown(desc); in destroy_irq() 353 desc->handler = &no_irq_type; in destroy_irq() 728 desc->handler->disable(desc); in move_native_irq() 730 desc->handler->enable(desc); in move_native_irq() 966 if (!handler) in request_irq() 973 action->handler = handler; in request_irq() 1027 desc->handler->startup(desc); in setup_irq() 1158 if ( desc->handler->end ) in irq_guest_eoi_timer_fn() 1354 if ( desc->handler->end ) in flush_ready_eoi() 1950 desc->handler->ack(desc); in do_IRQ() [all …]
|
A D | i8259.c | 332 irq_to_desc(irq)->handler = &i8259A_irq_type; in make_8259A_irq() 350 desc->handler = &i8259A_irq_type; in init_IRQ()
|
/xen/xen/arch/arm/arm64/ |
A D | traps.c | 27 static const char *handler[]= { variable 38 printk("Bad mode in %s handler detected\n", handler[reason]); in do_bad_mode()
|
/xen/xen/common/ |
A D | irq.c | 15 desc->handler = &no_irq_type; in init_one_irq_desc() 24 desc->handler = NULL; in init_one_irq_desc()
|
A D | softirq.c | 77 void open_softirq(int nr, softirq_handler handler) in open_softirq() argument 80 softirq_handlers[nr] = handler; in open_softirq()
|
/xen/xen/tools/kconfig/ |
A D | nconf.c | 303 function_key_handler_t handler; member 312 .handler = handle_f1, 318 .handler = handle_f2, 324 .handler = handle_f3, 330 .handler = handle_f4, 336 .handler = handle_f5, 342 .handler = handle_f6, 348 .handler = handle_f7, 354 .handler = handle_f8, 360 .handler = handle_f9, [all …]
|
/xen/xen/include/asm-x86/ |
A D | irq.h | 108 uint8_t vector, void (*handler)(struct cpu_user_regs *)); 110 uint8_t *vector, void (*handler)(struct cpu_user_regs *));
|
/xen/tools/libxl/ |
A D | libxl_save_helper.c | 161 static void setup_signals(void (*handler)(int)) in setup_signals() 171 sa.sa_handler = handler; in setup_signals()
|
/xen/xen/drivers/passthrough/amd/ |
A D | iommu_init.c | 771 desc->handler = &iommu_x2apic_type; in set_iommu_interrupt_handler() 777 hw_irq_controller *handler; in set_iommu_interrupt_handler() local 789 handler = &iommu_maskable_msi_type; in set_iommu_interrupt_handler() 792 handler = &iommu_msi_type; in set_iommu_interrupt_handler() 794 ret = __setup_msi_irq(irq_to_desc(irq), &iommu->msi, handler); in set_iommu_interrupt_handler() 1151 int iterate_ivrs_mappings(int (*handler)(u16 seg, struct ivrs_mappings *)) in iterate_ivrs_mappings() 1162 rc = handler(seg, map); in iterate_ivrs_mappings() 1168 int iterate_ivrs_entries(int (*handler)(const struct amd_iommu *, in iterate_ivrs_entries() 1186 rc = handler(iommu, &map[bdf], bdf); in iterate_ivrs_entries()
|
/xen/tools/tests/mce-test/tools/ |
A D | README | 7 validation of the Xen machine check handler.
|
/xen/docs/misc/ |
A D | xen-error-handling.txt | 33 Example usage: In arch/x86/hvm/i8254.c an I/O port handler includes 38 handler was only registered for single-byte accesses).
|