⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qemu-no-apic

📁 xen虚拟机源代码安装包
💻
字号:
Index: ioemu/Makefile.target===================================================================--- ioemu.orig/Makefile.target	2007-05-03 18:49:10.000000000 +0100+++ ioemu/Makefile.target	2007-05-03 19:09:54.000000000 +0100@@ -387,7 +387,7 @@ # Hardware support VL_OBJS+= ide.o pckbd.o ps2.o vga.o $(SOUND_HW) dma.o $(AUDIODRV) VL_OBJS+= fdc.o mc146818rtc.o serial.o i8254.o pcspk.o pc.o-VL_OBJS+= cirrus_vga.o mixeng.o apic.o parallel.o acpi.o piix_pci.o+VL_OBJS+= cirrus_vga.o mixeng.o parallel.o acpi.o piix_pci.o VL_OBJS+= usb-uhci.o smbus_eeprom.o CPPFLAGS += -DHAS_AUDIO endifIndex: ioemu/hw/pc.c===================================================================--- ioemu.orig/hw/pc.c	2007-05-03 19:08:19.000000000 +0100+++ ioemu/hw/pc.c	2007-05-03 19:09:34.000000000 +0100@@ -39,7 +39,9 @@ static fdctrl_t *floppy_controller; static RTCState *rtc_state; static PITState *pit;+#ifndef CONFIG_DM static IOAPICState *ioapic;+#endif /* !CONFIG_DM */ static PCIDevice *i440fx_state;  static void ioport80_write(void *opaque, uint32_t addr, uint32_t data)@@ -475,9 +477,11 @@ #endif /* !CONFIG_DM */         register_savevm("cpu", i, 4, cpu_save, cpu_load, env);         qemu_register_reset(main_cpu_reset, env);+#ifndef CONFIG_DM         if (pci_enabled) {             apic_init(env);         }+#endif /* !CONFIG_DM */     }      /* allocate RAM */@@ -643,9 +647,11 @@     register_ioport_read(0x92, 1, 1, ioport92_read, NULL);     register_ioport_write(0x92, 1, 1, ioport92_write, NULL); +#ifndef CONFIG_DM     if (pci_enabled) {         ioapic = ioapic_init();     }+#endif /* !CONFIG_DM */     isa_pic = pic_init(pic_irq_request, first_cpu);     pit = pit_init(0x40, 0);     pcspk_init(pit);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -