summaryrefslogtreecommitdiffstats
path: root/Makefile.target
Commit message (Collapse)AuthorAgeFilesLines
* Add S390x virtio machine descriptionAlexander Graf2009-12-051-1/+1
| | | | | | | | | | | In order to use the new S390x virtio bus we just introduced, we also need a machine description that sets up the machine according to our PV specification. Let's add that machine description and be happy! Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* Add S390x virtio machine busAlexander Graf2009-12-051-0/+2
| | | | | | | | | | | | | | On S390x we don't want to go through the hassle of emulating real existing hardware, because we don't need to for running Linux. So let's instead implement a machine that is 100% based on VirtIO which we fortunately implement already. This patch implements the bus that is the groundwork for such an S390x virtio machine. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* Remove rule for config-devices.hStefan Weil2009-12-031-3/+0
| | | | | | | | | | | Since commit a992fe3d0fc185112677286f7a02204d8245b61e config-devices.h is no longer used. So there is no need to keep the dependency rules any longer. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Makefile dependencies for device configsPaul Brook2009-11-221-1/+1
| | | | | | | | | | | | Add makefile dependencies for target specific device configs. These will copy the default config if none exists, obsoleting the old configure time code. If a config already exists but is older than the default then print a warning. Also remove config-devices.h. Code does not and should not care which devices are being built. Signed-off-by: Paul Brook <paul@codesourcery.com>
* ARM PBX-A9 board supportPaul Brook2009-11-191-1/+1
| | | | | | Implement ARM RealView PBX-A9 board support. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Built network devices oncePaul Brook2009-11-191-2/+1
| | | | | | Move some generic NICS into libhw, and build them for ARM targets. Signed-off-by: Paul Brook <paul@codesourcery.com>
* LAN9118 emulationPaul Brook2009-11-161-0/+1
| | | | | | Add SMSC LAN9118 ethernet emulation. Signed-off-by: Paul Brook <paul@codesourcery.com>
* fix parallel buildJuan Quintela2009-11-121-2/+4
| | | | | | | Based on a ideas of Daniel Jacobowitz + Stefan Weil Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* pci: pcie host and mmcfg support.Isaku Yamahata2009-11-091-1/+1
| | | | | | | | This patch adds common routines for pcie host bridge and pcie mmcfg. This will be used by q35 based chipset emulation. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* pci_host.h: move functions in pci_host.h into .c file.Isaku Yamahata2009-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | split static functions in pci_host.h into pci_host.c and pci_host_template.h. Later a structures declared in pci_host.h, PCIHostState, will be used. However pci_host.h doesn't allow to include itself easily. This patches addresses it. pci_host.h includes functions which are instantiated in .c by including pci_host.h with typedefing pci_addr_t. pci_addr_t is per pci host bridge and is typedef'ed to uint32_t for ioio or target_phys_addr_t for mmio in .c file. That prevents from including pci_host.h to use PCIHostState because of requiring type, pci_addr_t. Its purpose to include is to instantiate io function for mmio or ioio depending on which pci host bridge requires ioio or mmio. To avoid including code, we always instantiate both version. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Split out bottom halvesKevin Wolf2009-10-271-1/+1
| | | | | | | | Instead of putting more and more stuff into vl.c, let's have the generic functions that deal with asynchronous callbacks in their own file. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* pcnet: split away lance.c (sparc32 code).Gerd Hoffmann2009-10-271-1/+1
| | | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* ide: split cmd646 and piix from pci.cJuan Quintela2009-10-121-3/+4
| | | | | | | | | | | | This patch splits cmd646 specific code from pci.c. This patch splits piix4 specific code from pci.c. And compile new piix.o and cmd646.o when they are needed. The only change that is not code movemet is removal of cmd646 specific parts in bmdma_readb/writeb for piix. Patchworks-ID: 35301 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Only compile isa_mmio when one target uses itJuan Quintela2009-10-081-3/+2
| | | | | | Patchworks-ID: 35200 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Only compile usb_ohci when one target uses itJuan Quintela2009-10-081-1/+1
| | | | | | Patchworks-ID: 35199 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Generate gdbstub-xml.c only when neededJuan Quintela2009-10-081-8/+6
| | | | | | | | First user of new config-devices.mak Patchworks-ID: 35198 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Generate config-devices.hJuan Quintela2009-10-081-1/+4
| | | | | | | | | | Generate config-devices.h for each target and config-all-devices.h for common library. We don't want to name both config-devices.h to avoid path problems Patchworks-ID: 35195 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Add new config-devices.mak for each targetJuan Quintela2009-10-081-0/+1
| | | | | | | | | | We generate config-devices.h from there automatically. We need to do it in main Makefile, because we are going to need a main Makefile for them. Patchworks-ID: 35196 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Move generation of config-target.h to Makefile from configureJuan Quintela2009-10-081-1/+6
| | | | | | Patchworks-ID: 35194 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Rename config.{h, mak} config-target.{h, mak}Juan Quintela2009-10-081-1/+1
| | | | | | | | Add config.h file that includes config-target.h and config-host.h Patchworks-ID: 35193 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Don't include config-host.mak from inside config.makJuan Quintela2009-10-081-0/+1
| | | | | | | | Include it directly in Makefile.target Patchworks-ID: 35189 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Compile some user files only once for all targetsBlue Swirl2009-09-271-16/+4
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Fix user emulator breakageBlue Swirl2009-09-271-4/+2
| | | | | | | | Fix breakage in the following conditions: - use in-tree building - build user targets after system targets Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Revert "This files are compiled in libqemu.a now"Blue Swirl2009-09-251-0/+3
| | | | | | | | | | | This reverts commit fe6549dfd76c278dbcd788b3c15c5e6e5ed32190. tcg-runtime and host-utils are needed on 32 bit host and they are not part of libqemu.a. Thanks to Stefan Weil for reporting. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* clean: remove ide/*.o files on cleanJuan Quintela2009-09-251-1/+1
| | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* This files are compiled in libqemu.a nowJuan Quintela2009-09-231-3/+0
| | | | | | | This fixes compilation of linux-user with today qemu, please apply. Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* Fix user targets broken by 96e132e24ee5a693069e83b6a981693588b088c1Blue Swirl2009-09-211-3/+3
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile host-utils only onceBlue Swirl2009-09-201-4/+4
| | | | | | | See also facd2857783d58387885ad7cb1e4a8386f241738 and 34005a0060c176b3025a9e7c5d064615a9f80325. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile TCG runtime library only onceBlue Swirl2009-09-201-1/+4
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile ne2000 only onceBlue Swirl2009-09-201-1/+0
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* ioports: remove unused env parameter and compile only onceBlue Swirl2009-09-201-1/+1
| | | | | | | The CPU state parameter is not used, remove it and adjust callers. Now we can compile ioport.c once for all targets. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile msix only onceBlue Swirl2009-09-201-1/+1
| | | | | | Get page size in device init. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile loader only onceBlue Swirl2009-09-201-1/+1
| | | | | | | | | | | | | Callers must pass ELF machine, byte swapping and symbol LSB clearing information to ELF loader. A.out loader needs page size information, pass that too as a parameter. Extract prototypes to a separate file. Move loader.[ch] and elf_ops.h under hw. Adjust callers. Also use target_phys_addr_t instead of target_ulong for addresses: loader addresses aren't virtual. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile qemu-config only onceBlue Swirl2009-09-201-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile wdt_i6300esb only onceBlue Swirl2009-09-201-3/+0
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* ide/pci: convert to qdev.Gerd Hoffmann2009-09-151-4/+6
| | | | | | | | | | | | | | | With this patch applied ide drives (when attached to a pci adapter) can be created via -device, like this: -drive if=none,id=mydisk,file=/path/to/disk.img -device ide-drive,drive=mydisk,bus=ide.0,unit=0 Note that creating a master on ide1 doesn't work that way. That is a side effect of qemu creating a cdrom automagically even if you don't ask for it. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Fix breakage by f80237d45032fbc429aba3b597175fb544a11378 for ISA-less targetsBlue Swirl2009-09-141-7/+7
| | | | | | Move ISA bus to HW library. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Add configure option to compile user targets as PIEKirill A. Shutemov2009-09-121-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | Build uset targers as true PIE if user want to keep qemu self-virtualizable. v5: - Split into to patches: drop link hack and add PIE support - do not build PIE by default and drop toolchain check v4: - Add test for toolchain if it has proper PIE support v3: - One more pice of the hack was removed - Description updated v2: - Add configure options do enable/disable PIE for usermode targets. Disabling can be useful if you build uswing toolchain which has broken PIE support. PIE for usermode targets enabled by default. Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* qdev/isa: convert ne2000Gerd Hoffmann2009-09-101-2/+3
| | | | | | | Also split the isa bits into a separate source file, so we don't drag in a dependency for isa-bus.o for machines which want ne2k_pci only. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* vga: split vga-isa-mm.oJuan Quintela2009-09-091-1/+1
| | | | | | | | | It is only used in mips softmmu, compile only there. it_shift field was only used for vga_isa_mm, move it from VGACommonState to ISAVGAMMstate. Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* vga: split isa bits inco vga-isa.cJuan Quintela2009-09-091-2/+2
| | | | | | | | Adjust all the VGAState in VGACommonState Compile vga-isa.o in the targets that use it Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* vga: split pci bits into vga-pci.cJuan Quintela2009-09-091-3/+6
| | | | | | | | Adjust all the VGAState in VGACommonState Compile vga-pci.o only for targets that use it. Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Split piix4 support from piix_pci.cJuan Quintela2009-09-041-1/+1
| | | | | | | Now mips_malta uses piix4 and pc's use piix_pci definitions Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* ide: move code to hw/ide/Gerd Hoffmann2009-08-271-5/+5
| | | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* ide: split away ide-microdrive.cGerd Hoffmann2009-08-271-1/+1
| | | | | | | | create ide-microdrive.c and place microdrive support there. only build ide-microdrive support for platforms using it. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* ide: split away ide-mmio.cGerd Hoffmann2009-08-271-1/+1
| | | | | | | | create ide-mmio.c and place mmio support there. only build ide-mmio support for platforms using it. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* ide: split away ide-pci.cGerd Hoffmann2009-08-271-4/+5
| | | | | | | | | | create ide-pci.c and place pci bus support there. only build ide-pci support for platforms using it. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Fix build (merge with isa mmio split)
* ide: split away ide-isa.cGerd Hoffmann2009-08-271-3/+4
| | | | | | | | | create ide-isa.c and place isa bus support there. only build ide-isa support for platforms using it. also create ide.h header file. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* qdev: convert watchdogsMarkus Armbruster2009-08-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | -watchdog NAME is now equivalent to -device NAME, except it treats option argument '?' specially, and supports only one watchdog. A side effect is that a device created with -watchdog may now receive a different PCI address. i6300esb is now available on any machine with a PCI bus, not just PCs. ib700 is still PC only, but that could be changed easily. The only remaining use of struct WatchdogTimerModel and watchdog_add_model() is supporting '-watchdog ?'. Should be replaced by searching device_info_list for watchdog devices when we can identify them there. Also fixes ib700 not to use vm_clock before it is initialized: in wdt_ib700_init(), called from register_watchdogs(), which runs before init_timers(). The bug made ib700_write_enable_reg() crash in qemu_del_timer(). Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Add isa_reserve_irq().Jes Sorensen2009-08-271-2/+2
| | | | | | | | | | | | | | | | | | | Introduce isa_reserve_irq() which marks an irq reserved and returns the appropriate qemu_irq entry from the i8259 table. isa_reserve_irq() is a temporary interface to be used to allocate ISA IRQs for devices which have not yet been converted to qdev, and for special cases which are not suited for qdev conversions, such as the 'ferr'. This patch goes on top of Gerd Hoffmann's which makes isa-bus.c own the ISA irq table. [ added isa-bus.o to some targets to fix build failures -- kraxel ] Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
OpenPOWER on IntegriCloud