xen-stub.c 760 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Copyright (C) 2010 Citrix Ltd.
  3. *
  4. * This work is licensed under the terms of the GNU GPL, version 2. See
  5. * the COPYING file in the top-level directory.
  6. *
  7. */
  8. #include "qemu-common.h"
  9. #include "hw/xen.h"
  10. void xenstore_store_pv_console_info(int i, CharDriverState *chr)
  11. {
  12. }
  13. int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num)
  14. {
  15. return -1;
  16. }
  17. void xen_piix3_set_irq(void *opaque, int irq_num, int level)
  18. {
  19. }
  20. void xen_piix_pci_write_config_client(uint32_t address, uint32_t val, int len)
  21. {
  22. }
  23. void xen_cmos_set_s3_resume(void *opaque, int irq, int level)
  24. {
  25. }
  26. void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size)
  27. {
  28. }
  29. qemu_irq *xen_interrupt_controller_init(void)
  30. {
  31. return NULL;
  32. }
  33. int xen_init(void)
  34. {
  35. return -ENOSYS;
  36. }