Move cpu_has_work and cpu_pc_from_tb to cpu.h
[qemu/mdroth.git] / xen-stub.c
bloba4f35a19fb3f973a263625593c7741a33b413965
1 /*
2 * Copyright (C) 2010 Citrix Ltd.
4 * This work is licensed under the terms of the GNU GPL, version 2. See
5 * the COPYING file in the top-level directory.
7 */
9 #include "qemu-common.h"
10 #include "hw/xen.h"
12 int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num)
14 return -1;
17 void xen_piix3_set_irq(void *opaque, int irq_num, int level)
21 void xen_piix_pci_write_config_client(uint32_t address, uint32_t val, int len)
25 void xen_cmos_set_s3_resume(void *opaque, int irq, int level)
29 void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size)
33 qemu_irq *xen_interrupt_controller_init(void)
35 return NULL;
38 int xen_init(void)
40 return -ENOSYS;