summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Sparc32: fix monitor commands 'info pic' and 'info irq'Blue Swirl2009-08-231-2/+2
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Sparc32: use qemu_irq for system_powerdownBlue Swirl2009-08-091-3/+0
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Sparc32: move device instantiation to sun4m.cBlue Swirl2009-08-081-25/+0
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Sparc32: convert Sun4c interrupt controller to qdevBlue Swirl2009-07-211-2/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Sparc32: convert SBI to qdevBlue Swirl2009-07-211-2/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Sparc32: convert slavio interrupt controller to qdevBlue Swirl2009-07-161-4/+4
| | | | | | Also increase QDEV_MAX_IRQ. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Sparc32: convert cs4231 to qdevBlue Swirl2009-07-161-3/+0
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Sparc32: convert slavio_misc to qdevBlue Swirl2009-07-131-2/+3
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Sparc32: convert eccmemctl to qdevBlue Swirl2009-07-121-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* PCI network qdev conversionPaul Brook2009-05-141-4/+0
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Cleanup SPARC/TCX framebuffer allocation.pbrook2009-04-091-2/+1
| | | | | | | Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7059 c046a42c-6fe2-441c-8c8c-71466251a162
* monitor: Rework API (Jan Kiszka)aliguori2009-03-051-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the monitor API and prepare it for decoupled terminals: term_print functions are renamed to monitor_* and all monitor services gain a new parameter (mon) that will once refer to the monitor instance the output is supposed to appear on. However, the argument remains unused for now. All monitor command callbacks are also extended by a mon parameter so that command handlers are able to pass an appropriate reference to monitor output services. For the case that monitor outputs so far happen without clearly identifiable context, the global variable cur_mon is introduced that shall once provide a pointer either to the current active monitor (while processing commands) or to the default one. On the mid or long term, those use case will be obsoleted so that this variable can be removed again. Due to the broad usage of the monitor interface, this patch mostly deals with converting users of the monitor API. A few of them are already extended to pass 'mon' from the command handler further down to internal functions that invoke monitor_printf. At this chance, monitor-related prototypes are moved from console.h to a new monitor.h. The same is done for the readline API. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6711 c046a42c-6fe2-441c-8c8c-71466251a162
* graphical_console_init change (Stefano Stabellini)aliguori2009-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch 5/7 This patch changes the graphical_console_init function to return an allocated DisplayState instead of a QEMUConsole. This patch contains just the graphical_console_init change and few other modifications mainly in console.c and vl.c. It was necessary to move the display frontends (e.g. sdl and vnc) initialization after machine->init in vl.c. This patch does *not* include any required changes to any device, these changes come with the following patches. Patch 6/7 This patch changes the QEMUMachine init functions not to take a DisplayState as an argument because is not needed any more; In few places the graphic hardware initialization function was called only if DisplayState was not NULL, now they are always called. Apart from these cases, the rest are all mechanical substitutions. Patch 7/7 This patch updates the graphic device code to use the new graphical_console_init function. As for the previous patch, in few places graphical_console_init was called only if DisplayState was not NULL, now it is always called. Apart from these cases, the rest are all mechanical substitutions. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6344 c046a42c-6fe2-441c-8c8c-71466251a162
* Rename slavio_serial functions to escc, add clock rate and it_shift parametersblueswir12009-01-121-6/+0
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6270 c046a42c-6fe2-441c-8c8c-71466251a162
* Halt the CPU using a qemu_irqblueswir12008-11-021-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5601 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix compiler warningsblueswir12008-05-101-0/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4404 c046a42c-6fe2-441c-8c8c-71466251a162
* Remove duplicate definitionsblueswir12008-04-211-8/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4229 c046a42c-6fe2-441c-8c8c-71466251a162
* Wire up TC signal from Aux1 to FDCblueswir12008-03-211-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4096 c046a42c-6fe2-441c-8c8c-71466251a162
* Let ESP SCSI adapter to be usable outside sun4m (Herv�oussineau)blueswir12008-03-021-6/+0
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4007 c046a42c-6fe2-441c-8c8c-71466251a162
* Rearrange slavio_misc code to prepare for different addressesblueswir12008-01-271-1/+3
| | | | | | | | Pass first env instead of using cpu_single_env directly Add Aux1 to Sun4c git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3934 c046a42c-6fe2-441c-8c8c-71466251a162
* Give ECC controller an IRQ (Robert Reif)blueswir12008-01-171-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3923 c046a42c-6fe2-441c-8c8c-71466251a162
* DVMA translation errors raise a module error irq (NMI)blueswir12008-01-011-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3880 c046a42c-6fe2-441c-8c8c-71466251a162
* Initial support for SS-2 (Sun4c)blueswir12007-12-281-0/+4
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3870 c046a42c-6fe2-441c-8c8c-71466251a162
* Initial support for Sun4d machines (SS-1000, SS-2000)blueswir12007-12-281-0/+4
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3869 c046a42c-6fe2-441c-8c8c-71466251a162
* Only create as many per CPU timers as there are CPUs. (Robert Reif)blueswir12007-12-171-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3833 c046a42c-6fe2-441c-8c8c-71466251a162
* Add support for eccmemctl (Robert Reif)blueswir12007-12-091-0/+3
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3785 c046a42c-6fe2-441c-8c8c-71466251a162
* No keyboard mode (Robert Reif)blueswir12007-12-041-1/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3773 c046a42c-6fe2-441c-8c8c-71466251a162
* Add -drive parameter, by Laurent Vivier.ths2007-12-021-1/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3759 c046a42c-6fe2-441c-8c8c-71466251a162
* Break up vl.h.pbrook2007-11-171-0/+73
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3674 c046a42c-6fe2-441c-8c8c-71466251a162