aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-10-01 10:52:15 +0200
committerAvi Kivity <avi@qumranet.com>2007-10-01 10:52:15 +0200
commit5632a7b75435ac6f99dc817aa189fec633e4929c (patch)
tree2cea3a6bf1bd127409452b31486a4effcfef77a1 /qemu-binfmt-conf.sh
parentRe-import qemu 0.9.0 (diff)
downloadqemu-kvm-5632a7b75435ac6f99dc817aa189fec633e4929c.tar.gz
qemu-kvm-5632a7b75435ac6f99dc817aa189fec633e4929c.tar.bz2
qemu-kvm-5632a7b75435ac6f99dc817aa189fec633e4929c.zip
Import qemu as of Mon Oct 1 10:51:47 IST 2007
qemu/.cvsignore 1.21 qemu/COPYING 1.1 qemu/COPYING.LIB 1.2 qemu/Changelog 1.141 qemu/LICENSE 1.3 qemu/Makefile 1.126 qemu/Makefile.target 1.203 qemu/README 1.12 qemu/TODO 1.40 qemu/VERSION 1.30 qemu/a.out.h 1.3 qemu/aes.c 1.3 qemu/aes.h 1.1 qemu/alpha-dis.c 1.4 qemu/alpha.ld 1.1 qemu/arm-dis.c 1.5 qemu/arm-semi.c 1.6 qemu/arm.ld 1.2 qemu/block-bochs.c 1.5 qemu/block-cloop.c 1.6 qemu/block-cow.c 1.9 qemu/block-dmg.c 1.7 qemu/block-parallels.c 1.1 qemu/block-qcow.c 1.14 qemu/block-qcow2.c 1.9 qemu/block-raw.c 1.24 qemu/block-vmdk.c 1.17 qemu/block-vpc.c 1.6 qemu/block-vvfat.c 1.11 qemu/block.c 1.46 qemu/block_int.h 1.13 qemu/bswap.h 1.6 qemu/check_ops.sh 1.1 qemu/cocoa.m 1.13 qemu/configure 1.159 qemu/console.c 1.15 qemu/cpu-all.h 1.76 qemu/cpu-defs.h 1.24 qemu/cpu-exec.c 1.118 qemu/cutils.c 1.2 qemu/d3des.c 1.1 qemu/d3des.h 1.1 qemu/dis-asm.h 1.16 qemu/disas.c 1.43 qemu/disas.h 1.7 qemu/dyngen-exec.h 1.38 qemu/dyngen-op.h 1.1 qemu/dyngen.c 1.56 qemu/dyngen.h 1.17 qemu/elf.h 1.10 qemu/elf_ops.h 1.10 qemu/exec-all.h 1.66 qemu/exec.c 1.107 qemu/gdbstub.c 1.65 qemu/gdbstub.h 1.6 qemu/host-utils.c 1.1 qemu/hostregs_helper.h 1.1 qemu/hpet.h 1.1 qemu/i386-dis.c 1.5 qemu/i386-vl.ld 1.3 qemu/i386.ld 1.2 qemu/ia64.ld 1.1 qemu/keymaps.c 1.3 qemu/kqemu.c 1.19 qemu/kqemu.h 1.2 qemu/loader.c 1.8 qemu/m68k-dis.c 1.4 qemu/m68k-semi.c 1.3 qemu/m68k.ld 1.1 qemu/mips-dis.c 1.8 qemu/mips.ld 1.1 qemu/mipsel.ld 1.1 qemu/monitor.c 1.83 qemu/osdep.c 1.18 qemu/osdep.h 1.10 qemu/ppc-dis.c 1.8 qemu/ppc.ld 1.3 qemu/qemu-binfmt-conf.sh 1.6 qemu/qemu-doc.texi 1.159 qemu/qemu-img.c 1.21 qemu/qemu-img.texi 1.6 qemu/qemu-tech.texi 1.14 qemu/qemu_socket.h 1.2 qemu/readline.c 1.6 qemu/s390-dis.c 1.3 qemu/s390.ld 1.1 qemu/sdl.c 1.44 qemu/sdl_keysym.h 1.3 qemu/sh4-dis.c 1.3 qemu/softmmu-semi.h 1.2 qemu/softmmu_exec.h 1.1 qemu/softmmu_header.h 1.16 qemu/softmmu_template.h 1.18 qemu/sparc-dis.c 1.7 qemu/sparc.ld 1.2 qemu/sparc64.ld 1.1 qemu/tap-win32.c 1.6 qemu/texi2pod.pl 1.2 qemu/thunk.c 1.8 qemu/thunk.h 1.14 qemu/translate-all.c 1.19 qemu/translate-op.c 1.2 qemu/uboot_image.h 1.1 qemu/usb-linux.c 1.12 qemu/vgafont.h 1.1 qemu/vl.c 1.343 qemu/vl.h 1.273 qemu/vnc.c 1.25 qemu/vnc_keysym.h 1.2 qemu/vnchextile.h 1.4 qemu/x86_64.ld 1.1 qemu/x_keymap.c 1.1 qemu/audio/alsaaudio.c 1.10 qemu/audio/audio.c 1.17 qemu/audio/audio.h 1.9 qemu/audio/audio_int.h 1.11 qemu/audio/audio_template.h 1.9 qemu/audio/coreaudio.c 1.8 qemu/audio/dsound_template.h 1.4 qemu/audio/dsoundaudio.c 1.3 qemu/audio/fmodaudio.c 1.7 qemu/audio/mixeng.c 1.5 qemu/audio/mixeng.h 1.3 qemu/audio/mixeng_template.h 1.2 qemu/audio/noaudio.c 1.7 qemu/audio/ossaudio.c 1.12 qemu/audio/rate_template.h 1.3 qemu/audio/sdlaudio.c 1.9 qemu/audio/sys-queue.h 1.1 qemu/audio/wavaudio.c 1.10 qemu/audio/wavcapture.c 1.8 qemu/darwin-user/commpage.c 1.2 qemu/darwin-user/ioctls.h 1.1 qemu/darwin-user/ioctls_types.h 1.1 qemu/darwin-user/machload.c 1.1 qemu/darwin-user/main.c 1.7 qemu/darwin-user/mmap.c 1.2 qemu/darwin-user/qemu.h 1.1 qemu/darwin-user/signal.c 1.1 qemu/darwin-user/syscall.c 1.6 qemu/darwin-user/syscalls.h 1.3 qemu/fpu/softfloat-macros.h 1.1 qemu/fpu/softfloat-native.c 1.11 qemu/fpu/softfloat-native.h 1.11 qemu/fpu/softfloat-specialize.h 1.3 qemu/fpu/softfloat.c 1.6 qemu/fpu/softfloat.h 1.8 qemu/hw/acpi.c 1.15 qemu/hw/adb.c 1.9 qemu/hw/adlib.c 1.7 qemu/hw/ads7846.c 1.3 qemu/hw/alpha_palcode.c 1.3 qemu/hw/an5206.c 1.3 qemu/hw/apb_pci.c 1.7 qemu/hw/apic.c 1.16 qemu/hw/arm_boot.c 1.9 qemu/hw/arm_gic.c 1.7 qemu/hw/arm_pic.c 1.3 qemu/hw/arm_pic.h 1.3 qemu/hw/arm_sysctl.c 1.4 qemu/hw/arm_timer.c 1.7 qemu/hw/cdrom.c 1.3 qemu/hw/cirrus_vga.c 1.28 qemu/hw/cirrus_vga_rop.h 1.3 qemu/hw/cirrus_vga_rop2.h 1.9 qemu/hw/cs4231.c 1.3 qemu/hw/cuda.c 1.16 qemu/hw/dma.c 1.15 qemu/hw/ds1225y.c 1.2 qemu/hw/ecc.c 1.1 qemu/hw/eepro100.c 1.6 qemu/hw/eeprom93xx.c 1.1 qemu/hw/eeprom93xx.h 1.1 qemu/hw/es1370.c 1.7 qemu/hw/esp.c 1.26 qemu/hw/fdc.c 1.27 qemu/hw/fmopl.c 1.1 qemu/hw/fmopl.h 1.1 qemu/hw/grackle_pci.c 1.6 qemu/hw/gt64xxx.c 1.20 qemu/hw/heathrow_pic.c 1.5 qemu/hw/i2c.c 1.3 qemu/hw/i2c.h 1.4 qemu/hw/i8254.c 1.11 qemu/hw/i8259.c 1.25 qemu/hw/ide.c 1.69 qemu/hw/integratorcp.c 1.20 qemu/hw/iommu.c 1.16 qemu/hw/irq.c 1.2 qemu/hw/irq.h 1.1 qemu/hw/isa_mmio.c 1.2 qemu/hw/jazz_led.c 1.2 qemu/hw/lsi53c895a.c 1.10 qemu/hw/m48t59.c 1.15 qemu/hw/m48t59.h 1.7 qemu/hw/max111x.c 1.2 qemu/hw/max7310.c 1.2 qemu/hw/mc146818rtc.c 1.12 qemu/hw/mcf5206.c 1.3 qemu/hw/mcf5208.c 1.4 qemu/hw/mcf_fec.c 1.3 qemu/hw/mcf_intc.c 1.2 qemu/hw/mcf_uart.c 1.2 qemu/hw/mips_int.c 1.5 qemu/hw/mips_malta.c 1.44 qemu/hw/mips_pica61.c 1.8 qemu/hw/mips_r4k.c 1.47 qemu/hw/mips_timer.c 1.8 qemu/hw/nand.c 1.4 qemu/hw/ne2000.c 1.29 qemu/hw/omap.c 1.5 qemu/hw/omap.h 1.3 qemu/hw/omap1_clk.c 1.1 qemu/hw/omap_lcd_template.h 1.2 qemu/hw/omap_lcdc.c 1.1 qemu/hw/omap_mmc.c 1.1 qemu/hw/openpic.c 1.15 qemu/hw/palm.c 1.1 qemu/hw/parallel.c 1.10 qemu/hw/pc.c 1.85 qemu/hw/pci.c 1.41 qemu/hw/pci_host.h 1.2 qemu/hw/pckbd.c 1.23 qemu/hw/pcnet.c 1.19 qemu/hw/pcspk.c 1.3 qemu/hw/pflash_cfi02.c 1.8 qemu/hw/piix_pci.c 1.11 qemu/hw/pixel_ops.h 1.2 qemu/hw/pl011.c 1.7 qemu/hw/pl031.c 1.1 qemu/hw/pl050.c 1.6 qemu/hw/pl080.c 1.5 qemu/hw/pl110.c 1.12 qemu/hw/pl110_template.h 1.4 qemu/hw/pl181.c 1.8 qemu/hw/pl190.c 1.5 qemu/hw/ppc.c 1.29 qemu/hw/ppc405.h 1.6 qemu/hw/ppc405_boards.c 1.5 qemu/hw/ppc405_uc.c 1.10 qemu/hw/ppc_chrp.c 1.41 qemu/hw/ppc_prep.c 1.42 qemu/hw/prep_pci.c 1.5 qemu/hw/ps2.c 1.8 qemu/hw/ptimer.c 1.4 qemu/hw/pxa.h 1.6 qemu/hw/pxa2xx.c 1.18 qemu/hw/pxa2xx_dma.c 1.4 qemu/hw/pxa2xx_gpio.c 1.4 qemu/hw/pxa2xx_lcd.c 1.7 qemu/hw/pxa2xx_mmci.c 1.3 qemu/hw/pxa2xx_pcmcia.c 1.3 qemu/hw/pxa2xx_pic.c 1.3 qemu/hw/pxa2xx_template.h 1.2 qemu/hw/pxa2xx_timer.c 1.6 qemu/hw/r2d.c 1.2 qemu/hw/realview.c 1.11 qemu/hw/rtl8139.c 1.13 qemu/hw/sb16.c 1.23 qemu/hw/scsi-disk.c 1.15 qemu/hw/sd.c 1.3 qemu/hw/sd.h 1.3 qemu/hw/serial.c 1.20 qemu/hw/sh7750.c 1.8 qemu/hw/sh7750_regnames.c 1.3 qemu/hw/sh7750_regnames.h 1.1 qemu/hw/sh7750_regs.h 1.4 qemu/hw/sh_serial.c 1.1 qemu/hw/sh_timer.c 1.1 qemu/hw/shix.c 1.4 qemu/hw/slavio_intctl.c 1.21 qemu/hw/slavio_misc.c 1.9 qemu/hw/slavio_serial.c 1.24 qemu/hw/slavio_timer.c 1.15 qemu/hw/smbus.c 1.3 qemu/hw/smbus.h 1.4 qemu/hw/smbus_eeprom.c 1.4 qemu/hw/smc91c111.c 1.9 qemu/hw/sparc32_dma.c 1.9 qemu/hw/spitz.c 1.11 qemu/hw/sun4m.c 1.50 qemu/hw/sun4u.c 1.20 qemu/hw/tc58128.c 1.1 qemu/hw/tcx.c 1.23 qemu/hw/unin_pci.c 1.6 qemu/hw/usb-hid.c 1.14 qemu/hw/usb-hub.c 1.11 qemu/hw/usb-msd.c 1.11 qemu/hw/usb-ohci.c 1.8 qemu/hw/usb-uhci.c 1.19 qemu/hw/usb-wacom.c 1.2 qemu/hw/usb.c 1.11 qemu/hw/usb.h 1.18 qemu/hw/versatile_pci.c 1.6 qemu/hw/versatilepb.c 1.17 qemu/hw/vga.c 1.57 qemu/hw/vga_int.h 1.15 qemu/hw/vga_template.h 1.15 qemu/hw/vmmouse.c 1.4 qemu/hw/vmport.c 1.1 qemu/hw/vmware_vga.c 1.3 qemu/hw/wm8750.c 1.2 qemu/keymaps/ar 1.1 qemu/keymaps/common 1.2 qemu/keymaps/da 1.1 qemu/keymaps/de 1.1 qemu/keymaps/de-ch 1.2 qemu/keymaps/en-gb 1.1 qemu/keymaps/en-us 1.1 qemu/keymaps/es 1.1 qemu/keymaps/et 1.2 qemu/keymaps/fi 1.1 qemu/keymaps/fo 1.1 qemu/keymaps/fr 1.2 qemu/keymaps/fr-be 1.1 qemu/keymaps/fr-ca 1.1 qemu/keymaps/fr-ch 1.1 qemu/keymaps/hr 1.1 qemu/keymaps/hu 1.1 qemu/keymaps/is 1.2 qemu/keymaps/it 1.1 qemu/keymaps/ja 1.3 qemu/keymaps/lt 1.1 qemu/keymaps/lv 1.1 qemu/keymaps/mk 1.1 qemu/keymaps/modifiers 1.3 qemu/keymaps/nl 1.2 qemu/keymaps/nl-be 1.1 qemu/keymaps/no 1.1 qemu/keymaps/pl 1.1 qemu/keymaps/pt 1.1 qemu/keymaps/pt-br 1.1 qemu/keymaps/ru 1.1 qemu/keymaps/sl 1.1 qemu/keymaps/sv 1.2 qemu/keymaps/th 1.1 qemu/keymaps/tr 1.1 qemu/linux-user/elfload.c 1.48 qemu/linux-user/errno_defs.h 1.1 qemu/linux-user/flat.h 1.4 qemu/linux-user/flatload.c 1.7 qemu/linux-user/ioctls.h 1.9 qemu/linux-user/linuxload.c 1.5 qemu/linux-user/m68k-sim.c 1.2 qemu/linux-user/main.c 1.126 qemu/linux-user/mmap.c 1.16 qemu/linux-user/path.c 1.3 qemu/linux-user/qemu.h 1.37 qemu/linux-user/signal.c 1.44 qemu/linux-user/socket.h 1.1 qemu/linux-user/syscall.c 1.137 qemu/linux-user/syscall_defs.h 1.41 qemu/linux-user/syscall_types.h 1.8 qemu/linux-user/vm86.c 1.11 qemu/linux-user/alpha/syscall.h 1.2 qemu/linux-user/alpha/syscall_nr.h 1.4 qemu/linux-user/alpha/target_signal.h 1.2 qemu/linux-user/alpha/termbits.h 1.2 qemu/linux-user/arm/syscall.h 1.6 qemu/linux-user/arm/syscall_nr.h 1.4 qemu/linux-user/arm/target_signal.h 1.2 qemu/linux-user/arm/termbits.h 1.2 qemu/linux-user/i386/syscall.h 1.3 qemu/linux-user/i386/syscall_nr.h 1.5 qemu/linux-user/i386/target_signal.h 1.2 qemu/linux-user/i386/termbits.h 1.2 qemu/linux-user/m68k/syscall.h 1.1 qemu/linux-user/m68k/syscall_nr.h 1.2 qemu/linux-user/m68k/target_signal.h 1.1 qemu/linux-user/m68k/termbits.h 1.2 qemu/linux-user/mips/syscall.h 1.3 qemu/linux-user/mips/syscall_nr.h 1.5 qemu/linux-user/mips/target_signal.h 1.3 qemu/linux-user/mips/termbits.h 1.3 qemu/linux-user/mips64/syscall.h 1.1 qemu/linux-user/mips64/syscall_nr.h 1.1 qemu/linux-user/mips64/target_signal.h 1.1 qemu/linux-user/mips64/termbits.h 1.1 qemu/linux-user/mipsn32/syscall.h 1.1 qemu/linux-user/mipsn32/syscall_nr.h 1.1 qemu/linux-user/mipsn32/target_signal.h 1.1 qemu/linux-user/mipsn32/termbits.h 1.1 qemu/linux-user/ppc/syscall.h 1.4 qemu/linux-user/ppc/syscall_nr.h 1.2 qemu/linux-user/ppc/target_signal.h 1.2 qemu/linux-user/ppc/termbits.h 1.3 qemu/linux-user/ppc64/syscall.h 1.3 qemu/linux-user/ppc64/syscall_nr.h 1.2 qemu/linux-user/ppc64/target_signal.h 1.2 qemu/linux-user/ppc64/termbits.h 1.3 qemu/linux-user/sh4/syscall.h 1.1 qemu/linux-user/sh4/syscall_nr.h 1.2 qemu/linux-user/sh4/target_signal.h 1.1 qemu/linux-user/sh4/termbits.h 1.2 qemu/linux-user/sparc/syscall.h 1.2 qemu/linux-user/sparc/syscall_nr.h 1.4 qemu/linux-user/sparc/target_signal.h 1.2 qemu/linux-user/sparc/termbits.h 1.3 qemu/linux-user/sparc64/syscall.h 1.1 qemu/linux-user/sparc64/syscall_nr.h 1.2 qemu/linux-user/sparc64/target_signal.h 1.2 qemu/linux-user/sparc64/termbits.h 1.3 qemu/linux-user/x86_64/syscall.h 1.1 qemu/linux-user/x86_64/syscall_nr.h 1.3 qemu/linux-user/x86_64/target_signal.h 1.2 qemu/linux-user/x86_64/termbits.h 1.1 qemu/pc-bios/Makefile 1.2 qemu/pc-bios/README 1.16 qemu/pc-bios/bios.bin 1.20 qemu/pc-bios/bios.diff 1.18 qemu/pc-bios/ohw.diff 1.2 qemu/pc-bios/openbios-sparc32 1.10 qemu/pc-bios/openbios-sparc64 1.4 qemu/pc-bios/ppc_rom.bin 1.7 qemu/pc-bios/pxe-ne2k_pci.bin 1.1 qemu/pc-bios/pxe-pcnet.bin 1.1 qemu/pc-bios/pxe-rtl8139.bin 1.1 qemu/pc-bios/vgabios-cirrus.bin 1.8 qemu/pc-bios/vgabios.bin 1.8 qemu/pc-bios/vgabios.diff 1.5 qemu/pc-bios/video.x 1.1 qemu/slirp/COPYRIGHT 1.2 qemu/slirp/bootp.c 1.11 qemu/slirp/bootp.h 1.2 qemu/slirp/cksum.c 1.3 qemu/slirp/ctl.h 1.1 qemu/slirp/debug.c 1.3 qemu/slirp/debug.h 1.2 qemu/slirp/icmp_var.h 1.1 qemu/slirp/if.c 1.6 qemu/slirp/if.h 1.2 qemu/slirp/ip.h 1.2 qemu/slirp/ip_icmp.c 1.4 qemu/slirp/ip_icmp.h 1.2 qemu/slirp/ip_input.c 1.3 qemu/slirp/ip_output.c 1.3 qemu/slirp/libslirp.h 1.9 qemu/slirp/main.h 1.4 qemu/slirp/mbuf.c 1.4 qemu/slirp/mbuf.h 1.2 qemu/slirp/misc.c 1.9 qemu/slirp/misc.h 1.3 qemu/slirp/sbuf.c 1.4 qemu/slirp/sbuf.h 1.2 qemu/slirp/slirp.c 1.16 qemu/slirp/slirp.h 1.10 qemu/slirp/slirp_config.h 1.5 qemu/slirp/socket.c 1.10 qemu/slirp/socket.h 1.3 qemu/slirp/tcp.h 1.4 qemu/slirp/tcp_input.c 1.7 qemu/slirp/tcp_output.c 1.4 qemu/slirp/tcp_subr.c 1.9 qemu/slirp/tcp_timer.c 1.4 qemu/slirp/tcp_timer.h 1.1 qemu/slirp/tcp_var.h 1.1 qemu/slirp/tcpip.h 1.1 qemu/slirp/tftp.c 1.8 qemu/slirp/tftp.h 1.4 qemu/slirp/udp.c 1.11 qemu/slirp/udp.h 1.3 qemu/target-alpha/cpu.h 1.8 qemu/target-alpha/exec.h 1.3 qemu/target-alpha/helper.c 1.4 qemu/target-alpha/op.c 1.2 qemu/target-alpha/op_helper.c 1.2 qemu/target-alpha/op_helper.h 1.2 qemu/target-alpha/op_helper_mem.h 1.2 qemu/target-alpha/op_mem.h 1.2 qemu/target-alpha/op_template.h 1.2 qemu/target-alpha/translate.c 1.5 qemu/target-arm/cpu.h 1.34 qemu/target-arm/exec.h 1.13 qemu/target-arm/helper.c 1.21 qemu/target-arm/op.c 1.27 qemu/target-arm/op_helper.c 1.6 qemu/target-arm/op_iwmmxt.c 1.2 qemu/target-arm/op_mem.h 1.2 qemu/target-arm/op_template.h 1.3 qemu/target-arm/translate.c 1.57 qemu/target-arm/nwfpe/double_cpdo.c 1.6 qemu/target-arm/nwfpe/extended_cpdo.c 1.4 qemu/target-arm/nwfpe/fpa11.c 1.5 qemu/target-arm/nwfpe/fpa11.h 1.6 qemu/target-arm/nwfpe/fpa11.inl 1.2 qemu/target-arm/nwfpe/fpa11_cpdo.c 1.4 qemu/target-arm/nwfpe/fpa11_cpdt.c 1.6 qemu/target-arm/nwfpe/fpa11_cprt.c 1.6 qemu/target-arm/nwfpe/fpopcode.c 1.4 qemu/target-arm/nwfpe/fpopcode.h 1.3 qemu/target-arm/nwfpe/fpsr.h 1.2 qemu/target-arm/nwfpe/single_cpdo.c 1.5 qemu/target-i386/cpu.h 1.50 qemu/target-i386/exec.h 1.37 qemu/target-i386/helper.c 1.89 qemu/target-i386/helper2.c 1.52 qemu/target-i386/op.c 1.51 qemu/target-i386/opreg_template.h 1.4 qemu/target-i386/ops_mem.h 1.7 qemu/target-i386/ops_sse.h 1.9 qemu/target-i386/ops_template.h 1.12 qemu/target-i386/ops_template_mem.h 1.7 qemu/target-i386/svm.h 1.1 qemu/target-i386/translate-copy.c 1.9 qemu/target-i386/translate.c 1.72 qemu/target-m68k/cpu.h 1.13 qemu/target-m68k/exec.h 1.4 qemu/target-m68k/helper.c 1.7 qemu/target-m68k/m68k-qreg.h 1.1 qemu/target-m68k/op-hacks.h 1.3 qemu/target-m68k/op.c 1.13 qemu/target-m68k/op_helper.c 1.6 qemu/target-m68k/op_mem.h 1.1 qemu/target-m68k/qregs.def 1.3 qemu/target-m68k/translate.c 1.20 qemu/target-mips/TODO 1.15 qemu/target-mips/cpu.h 1.47 qemu/target-mips/exec.h 1.36 qemu/target-mips/fop_template.c 1.6 qemu/target-mips/helper.c 1.53 qemu/target-mips/mips-defs.h 1.17 qemu/target-mips/op.c 1.76 qemu/target-mips/op_helper.c 1.63 qemu/target-mips/op_helper_mem.c 1.9 qemu/target-mips/op_mem.c 1.13 qemu/target-mips/op_template.c 1.9 qemu/target-mips/translate.c 1.104 qemu/target-mips/translate_init.c 1.24 qemu/target-ppc/STATUS 1.4 qemu/target-ppc/cpu.h 1.68 qemu/target-ppc/exec.h 1.26 qemu/target-ppc/helper.c 1.63 qemu/target-ppc/mfrom_table.c 1.2 qemu/target-ppc/mfrom_table_gen.c 1.3 qemu/target-ppc/op.c 1.51 qemu/target-ppc/op_helper.c 1.47 qemu/target-ppc/op_helper.h 1.19 qemu/target-ppc/op_helper_mem.h 1.11 qemu/target-ppc/op_mem.h 1.18 qemu/target-ppc/op_template.h 1.10 qemu/target-ppc/translate.c 1.83 qemu/target-ppc/translate_init.c 1.36 qemu/target-sh4/README.sh4 1.4 qemu/target-sh4/cpu.h 1.10 qemu/target-sh4/exec.h 1.5 qemu/target-sh4/helper.c 1.4 qemu/target-sh4/op.c 1.8 qemu/target-sh4/op_helper.c 1.4 qemu/target-sh4/op_mem.c 1.3 qemu/target-sh4/translate.c 1.18 qemu/target-sparc/cpu.h 1.52 qemu/target-sparc/exec.h 1.21 qemu/target-sparc/fbranch_template.h 1.1 qemu/target-sparc/fop_template.h 1.4 qemu/target-sparc/helper.c 1.27 qemu/target-sparc/op.c 1.41 qemu/target-sparc/op_helper.c 1.40 qemu/target-sparc/op_mem.h 1.10 qemu/target-sparc/op_template.h 1.2 qemu/target-sparc/translate.c 1.72 qemu/tests/.cvsignore 1.4 qemu/tests/Makefile 1.41 qemu/tests/hello-arm.c 1.3 qemu/tests/hello-i386.c 1.1 qemu/tests/hello-mips.c 1.1 qemu/tests/linux-test.c 1.5 qemu/tests/pi_10.com 1.1 qemu/tests/qruncom.c 1.6 qemu/tests/runcom.c 1.5 qemu/tests/sha1.c 1.1 qemu/tests/test-arm-iwmmxt.s 1.1 qemu/tests/test-i386-code16.S 1.5 qemu/tests/test-i386-muldiv.h 1.3 qemu/tests/test-i386-shift.h 1.5 qemu/tests/test-i386-vm86.S 1.3 qemu/tests/test-i386.c 1.55 qemu/tests/test-i386.h 1.2 qemu/tests/test_path.c 1.2 qemu/tests/testthread.c 1.2
Diffstat (limited to 'qemu-binfmt-conf.sh')
-rw-r--r--qemu-binfmt-conf.sh24
1 files changed, 22 insertions, 2 deletions
diff --git a/qemu-binfmt-conf.sh b/qemu-binfmt-conf.sh
index bd278d908..941f0cf61 100644
--- a/qemu-binfmt-conf.sh
+++ b/qemu-binfmt-conf.sh
@@ -1,8 +1,13 @@
#!/bin/sh
-# enable automatic i386/ARM/SPARC/PPC program execution by the kernel
+# enable automatic i386/ARM/M68K/MIPS/SPARC/PPC program execution by the kernel
# load the binfmt_misc module
-/sbin/modprobe binfmt_misc
+if [ ! -d /proc/sys/fs/binfmt_misc ]; then
+ /sbin/modprobe binfmt_misc
+fi
+if [ ! -f /proc/sys/fs/binfmt_misc/register ]; then
+ mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
+fi
# probe cpu type
cpu=`uname -m`
@@ -10,6 +15,12 @@ case "$cpu" in
i386|i486|i586|i686|i86pc|BePC)
cpu="i386"
;;
+ m68k)
+ cpu="m68k"
+ ;;
+ mips*)
+ cpu="mips"
+ ;;
"Power Macintosh"|ppc|ppc64)
cpu="ppc"
;;
@@ -33,7 +44,16 @@ fi
if [ $cpu != "ppc" ] ; then
echo ':ppc:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x14:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/local/bin/qemu-ppc:' > /proc/sys/fs/binfmt_misc/register
fi
+if [ $cpu != "m68k" ] ; then
+ echo 'Please check cpu value and header information for m68k!'
+ echo ':m68k:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x04:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/local/bin/qemu-m68k:' > /proc/sys/fs/binfmt_misc/register
+fi
if [ $cpu != "mips" ] ; then
+ # FIXME: We could use the other endianness on a MIPS host.
echo ':mips:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/local/bin/qemu-mips:' > /proc/sys/fs/binfmt_misc/register
echo ':mipsel:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/local/bin/qemu-mipsel:' > /proc/sys/fs/binfmt_misc/register
+ echo ':mipsn32:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/local/bin/qemu-mipsn32:' > /proc/sys/fs/binfmt_misc/register
+ echo ':mipsn32el:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/local/bin/qemu-mipsn32el:' > /proc/sys/fs/binfmt_misc/register
+ echo ':mips64:M::\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/local/bin/qemu-mips64:' > /proc/sys/fs/binfmt_misc/register
+ echo ':mips64el:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/local/bin/qemu-mips64el:' > /proc/sys/fs/binfmt_misc/register
fi