aurel32
0ccff151b4
mips: limit RAM size to 256MB on malta and qemu boards
...
This avoid crash when a bigger RAM size is requested (the devices are
mapped at 0x01000000).
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6419 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-24 15:07:25 +00:00
aurel32
470d86b736
mips_malta: map the CBUS UART as the third serial port
...
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6367 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-18 14:28:20 +00:00
aurel32
ceecf1d158
add an init function parameter to qemu_chr_open()
...
And use it for the malta emulation. Fix segfault introduced in
revision 6352.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6365 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-18 14:08:04 +00:00
aliguori
3023f3329d
graphical_console_init change (Stefano Stabellini)
...
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
2009-01-16 19:04:14 +00:00
aliguori
cb457d7679
Make pci_nic_init() use qemu_setup_nic_model() (Mark McLoughlin)
...
Add a table of PCI NIC models to pass to qemu_setup_nic_model().
While we're at it, also add a corresponding table of NIC init
functions.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6287 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-13 19:47:10 +00:00
pbrook
8da3ff1809
Change MMIO callbacks to use offsets, not absolute addresses.
...
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5849 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-01 18:59:50 +00:00
aurel32
7cc0dd20e1
Malta & OMAP: add a name to char devices
...
(fixes regression introduced by r5575)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5585 c046a42c-6fe2-441c-8c8c-71466251a162
2008-11-01 00:53:19 +00:00
balrog
3d878caab9
Set default max_cpus to one.
...
Clean-up machine definitions.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5566 c046a42c-6fe2-441c-8c8c-71466251a162
2008-10-28 10:59:59 +00:00
aliguori
b2097003ec
machine struct - specify max_cpus at the per machine level (Jes Sorensen)
...
Introduce a max_cpus per-machine variable, allowing individual boards
to limit it's number of CPUs. Check requested number of CPUs in setup
code and exit if it exceeds the supported number for the machine.
This also renders the static MAX_CPUS check obsolete, so remove this
from vl.c.
Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5443 c046a42c-6fe2-441c-8c8c-71466251a162
2008-10-07 20:39:39 +00:00
blueswir1
3b3fb32229
Use qemu-log.h
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5413 c046a42c-6fe2-441c-8c8c-71466251a162
2008-10-04 07:20:07 +00:00
blueswir1
b55266b5a2
Suppress gcc 4.x -Wpointer-sign (included in -Wall) warnings
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5275 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-20 08:07:15 +00:00
aurel32
75973fa1ee
MIPS: remove empty cpu_mips_irqctrl_init()
...
cpu_mips_irqctrl_init() function in hw/mips_timer.c is empty.
Attached patch removes it, and its callers.
(Hervé Poussineau)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5214 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-14 16:38:57 +00:00
blueswir1
a5f1b965da
Fix warnings that would be generated by gcc -Wstrict-prototypes
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5021 c046a42c-6fe2-441c-8c8c-71466251a162
2008-08-17 20:21:51 +00:00
ths
eec2743ec2
Allow diskless operation for all mips platforms.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5001 c046a42c-6fe2-441c-8c8c-71466251a162
2008-08-13 13:01:28 +00:00
pbrook
b3c7724cbc
Move CPU save/load registration to common code.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4808 c046a42c-6fe2-441c-8c8c-71466251a162
2008-06-30 16:31:04 +00:00
aurel32
b6cd0ea120
8250: Customized base baudrate
...
(Jan Kiszka)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4336 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 21:42:11 +00:00
aurel32
c75a823c80
Set default console size
...
(Stefan Weil)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4316 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 00:50:34 +00:00
aurel32
00f82b8a31
Use correct types to enable > 2G support, based on a patch from
...
Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4265 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-27 21:12:55 +00:00
balrog
7fb4fdcffe
RAM usage information in machine definition.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4246 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-24 17:59:27 +00:00
aurel32
03875444d9
Revert "Use correct types to enable > 2G support" (r4238), it is
...
not yet ready.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4240 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-22 20:45:18 +00:00
aurel32
967032c3d5
Use correct types to enable > 2G support, based on a patch from
...
Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4238 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-22 20:37:34 +00:00
aurel32
cf7a2fe2eb
SCI fixes
...
(Anthony Liguori)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4081 c046a42c-6fe2-441c-8c8c-71466251a162
2008-03-18 06:53:05 +00:00
ths
c8b153d794
Malta flash support.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3887 c046a42c-6fe2-441c-8c8c-71466251a162
2008-01-04 19:11:32 +00:00
ths
e4bcb14c79
Add -drive parameter, by Laurent Vivier.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3759 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-02 04:51:10 +00:00
ths
ded7ba9c75
Add floppy support, tested to work with www.linux-mips.org GIT head.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3744 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-26 14:52:02 +00:00
blueswir1
b881c2c6e7
Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3687 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-18 08:46:58 +00:00
pbrook
9596ebb701
Add statics and missing #includes for prototypes.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-18 01:44:38 +00:00
pbrook
87ecb68bdf
Break up vl.h.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3674 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-17 17:14:51 +00:00
bellard
aaed909a49
added cpu_model parameter to cpu_init()
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3562 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-10 15:15:54 +00:00
ths
7df526e317
Move kernel loader parameters from the cpu state to being board specific.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3557 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-09 17:52:11 +00:00
balrog
6ac0e82da1
Set boot sequence from command line (Dan Kenigsberg).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3497 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-31 01:54:04 +00:00
j_mayer
1192dad879
New '-bios' option, used to select an alternate BIOS image from bios_dir.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3331 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-05 13:08:35 +00:00
ths
3b46e62427
find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3177 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-17 08:09:54 +00:00
ths
5fafdf24ef
find -type f | xargs sed -i 's/[\t ]$//g' # on most files
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-16 21:08:06 +00:00
ths
a0a8793ebc
Impement Galilleo ISD register.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3061 c046a42c-6fe2-441c-8c8c-71466251a162
2007-07-11 16:44:32 +00:00
ths
07cf0ba03b
Revert workaround for -nographic segfault.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2995 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-21 23:38:12 +00:00
ths
9414cc6fd3
Revert the Gallileo PCI mapping patch, it conflicts with the supposedly
...
"generic" PC-style implementation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2981 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-12 21:06:52 +00:00
ths
2a1086d91c
More PCI mapping/remapping for Gallileo.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2972 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-10 15:08:43 +00:00
ths
87ee166914
Don't try to use "vt" output in nographic mode.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2966 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-09 15:44:26 +00:00
ths
3187ef0390
Fix firmware word endianness for Malta.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2950 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-07 12:17:52 +00:00
ths
070ce5edc3
Make the Malta bootloader handling a bit more transparent.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2949 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-06 17:19:24 +00:00
ths
acdf72bbac
Fix formatting.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2948 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-06 16:54:26 +00:00
ths
5066b9f199
Malta has no ISA bus.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2947 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-06 16:52:12 +00:00
ths
afcc3cdfc4
Use the correct PCI IDs for Malta.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2945 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-06 16:26:14 +00:00
ths
b6dc7ebbea
Take advantage of subpage support.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2944 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-04 18:29:37 +00:00
ths
c9c1a06457
Add support for 5Kc/5Kf/20Kc, based on a patch by Aurelien Jarno.
...
Note that the F64 flag isn't usable on any of those (and the R4000),
so all our 64bit FPU goodness goes out of the window until a shadow
capability flag is implemented. :-(
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2910 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-01 14:58:56 +00:00
ths
471ea27143
Fix typo in comment.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2901 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-30 21:30:06 +00:00
ths
51b2772f28
Fix CPU (re-)selection on reset.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2900 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-30 20:46:02 +00:00
ths
7b717336e2
SMBus support for MIPS Malta.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2893 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-28 21:01:02 +00:00
ths
26ea091859
Support for simple YAMON output, by Alec Voropay.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2770 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-04 14:34:34 +00:00
ths
1c32f43eea
Switch default CPU to 24Kf for now, as the Linux FPU emulation in
...
the current qemu mips emulation fails in some cases. (The Linux
FPU emulation works on real FPU-less hardware.)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2738 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-28 21:07:41 +00:00
ths
d52fff710a
Improved mini-bootloader, based on a patch by Alec Voropay.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2725 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-24 22:57:37 +00:00
ths
2802bfe387
More Gallileo register initialization, by Aurelien Jarno and Stefan Weil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2707 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-19 15:38:26 +00:00
pbrook
d537cf6c86
Unify IRQ handling.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2635 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-07 18:14:41 +00:00
ths
fb82fea064
Clear BEV and ERL for the fake bootloader.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2609 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-05 23:12:54 +00:00
ths
af655b6d82
Fix Malta tty2 UART registers.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2590 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-03 14:05:42 +00:00
ths
74287114c9
Improved initrd support for mips.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2574 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-01 17:56:37 +00:00
ths
60aa19abef
Actually enable 64bit configuration.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2565 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-01 12:36:18 +00:00
ths
a4bc3afc09
Malta CBUS UART support.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2557 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-31 16:54:14 +00:00
ths
11f295118c
A VGA card for the Malta board.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2494 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-18 22:18:43 +00:00
ths
33d68b5f00
MIPS -cpu selection support, by Herve Poussineau.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2491 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-18 00:30:29 +00:00
j_mayer
94fc95cdb2
New -cpu options: choose CPU model for emulated target.
...
Only relevant on PowerPC targets, for now.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2468 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-05 19:44:02 +00:00
ths
c05ac0cdac
Fix wrong interrupt number for the second serial interface.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2464 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-02 20:36:23 +00:00
ths
130751ee24
24C01 / 24C02 EEPROM emulation for Malta, by Stefan Weil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2458 c046a42c-6fe2-441c-8c8c-71466251a162
2007-02-28 20:04:26 +00:00
ths
7bcc17dc02
Fix initialisation of serial/parallel ports, spotted by Stefan Weil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2447 c046a42c-6fe2-441c-8c8c-71466251a162
2007-02-21 22:43:42 +00:00
ths
331ad6f444
Allow arbitrary MIPS BIOS sizes between 0 and 4 MB, by Stefan Weil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2446 c046a42c-6fe2-441c-8c8c-71466251a162
2007-02-21 22:32:19 +00:00
ths
3594c77487
Replace TLSZ with TARGET_FMT_lx.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2444 c046a42c-6fe2-441c-8c8c-71466251a162
2007-02-20 23:37:21 +00:00
ths
32801d5465
2nd serial port for Malta, by Jason Wessel.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2443 c046a42c-6fe2-441c-8c8c-71466251a162
2007-02-20 13:39:32 +00:00
ths
70705261e1
Add PS/2 keyboard to MIPS R4K, by Herve Poussineau.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2432 c046a42c-6fe2-441c-8c8c-71466251a162
2007-02-18 00:10:59 +00:00
ths
3ddd00658e
Fix 64bit-induced MIPS Malta breakage, by Aurelien Jarno.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2365 c046a42c-6fe2-441c-8c8c-71466251a162
2007-01-31 11:48:27 +00:00
ths
44cbbf18b9
Fix malta emulation for 64bit qemu.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2355 c046a42c-6fe2-441c-8c8c-71466251a162
2007-01-24 22:00:13 +00:00
ths
4de9b249d3
Reworking MIPS interrupt handling, by Aurelien Jarno.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2350 c046a42c-6fe2-441c-8c8c-71466251a162
2007-01-24 01:47:51 +00:00
ths
af23902bd9
Fix typo.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2337 c046a42c-6fe2-441c-8c8c-71466251a162
2007-01-20 00:29:01 +00:00
ths
472c5273e2
Change display colors, the LED bar is green and the text display is red.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2336 c046a42c-6fe2-441c-8c8c-71466251a162
2007-01-20 00:27:42 +00:00
ths
f1770b3e1f
Disable Malta floppy controller for now, by Aurelien Jarno.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2324 c046a42c-6fe2-441c-8c8c-71466251a162
2007-01-17 15:15:52 +00:00
ths
5856de800d
MIPS Malta system and devices support, by Aurelien Jarno and Stefan Weil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2319 c046a42c-6fe2-441c-8c8c-71466251a162
2007-01-15 23:58:11 +00:00