| Branch: | Revision:

root / hw / axis_dev88.c @ 8ca209ad

History | View | Annotate | Download (10 kB)

# Date Author Comment
1724f049 07/06/2010 06:36 pm Alex Williamson

qemu_ram_alloc: Add DeviceState and name parameters

These will be used to generate unique id strings for ramblocks. The name
field is required, the device pointer is optional as most callers don't
have a device. When there's no device or the device isn't a child of...

77d4f95e 06/10/2010 03:45 pm Edgar E. Iglesias

cris: Break out image loading to hw/cris-boot.c.

Signed-off-by: Edgar E. Iglesias <>

a9456998 05/21/2010 05:09 pm Edgar E. Iglesias

axisdev88: Fix passing of kernel cmdline.

Signed-off-by: Edgar E. Iglesias <>

409dbce5 03/16/2010 09:38 am Aurelien Jarno

load_elf: replace the address addend by a translation function

A few machines need to translate the ELF header addresses into physical
addresses. Currently the only possibility is to add a value to the

This patch replaces the addend argument by and a translation function...

3c178e72 10/12/2009 05:42 pm Gerd Hoffmann

rom loader: fix sparc -kernel boot.

(1) register pstrcpy_targphys() in rom list, it is used for kernel
command lines by a number of architectures.
(2) add rom_ptr() function to get a pointer for applying changes
to loaded images. Needed for example to tell the linux kernel...

e23a1b33 10/07/2009 04:54 pm Markus Armbruster

New qdev_init_nofail()

Like qdev_init(), but terminate program via hw_error() instead of
returning an error value.

Use it instead of qdev_init() where terminating the program on failure
is okay, either because it's during machine construction, or because...

c227f099 10/02/2009 12:12 am Anthony Liguori

Revert "Get rid of _t suffix"

In the very least, a change like this requires discussion on the list.

The naming convention is goofy and it causes a massive merge problem. Something
like this must be presented on the list first so people can provide input...

99a0949b 10/01/2009 09:45 pm malc

Get rid of _t suffix

Some not so obvious bits, slirp and Xen were left alone for the time

Signed-off-by: malc <>

ca20cf32 09/20/2009 05:58 pm Blue Swirl

Compile loader only once

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....

d60efc6b 08/25/2009 09:29 pm Blue Swirl

Make CPURead/WriteFunc structure 'const'

Signed-off-by: Blue Swirl <>

ee6847d1 07/17/2009 01:28 am Gerd Hoffmann

qdev: rework device properties.

This patch is a major overhaul of the device properties. The properties
are saved directly in the device state struct now, the linked list of
property values is gone.

Advantages: * We don't have to maintain the list with the property values....

a08d4367 06/29/2009 10:18 pm Jan Kiszka

Revert "Introduce reset notifier order"

This reverts commit 8217606e6edb49591b4a6fd5a0d1229cebe470a9 (and
updates later added users of qemu_register_reset), we solved the
problem it originally addressed less invasively.

Signed-off-by: Jan Kiszka <>...

1eed09cb 06/16/2009 11:18 pm Avi Kivity

Remove io_index argument from cpu_register_io_memory()

The parameter is always zero except when registering the three internal
io regions (ROM, unassigned, notdirty). Remove the parameter to reduce
the API's power, thus facilitating future change.

Signed-off-by: Avi Kivity <>...

ba494313 06/15/2009 10:00 pm Edgar E. Iglesias

etrax: Don't pass CPUState to peripherals.

Signed-off-by: Edgar E. Iglesias <>

067a3ddc 05/26/2009 04:56 pm Paul Brook

Remove qdev irq sink handling

We have both IRQ sinks and GPIO inputs. These are in principle exactly
the same thing, so remove the former.

Signed-off-by: Paul Brook <>

8217606e 05/22/2009 06:50 pm Jan Kiszka

Introduce reset notifier order

Add the parameter 'order' to qemu_register_reset and sort callbacks on
registration. On system reset, callbacks with lower order will be
invoked before those with higher order. Update all existing users to the
standard order 0....

f80f9ec9 05/21/2009 04:47 pm Anthony Liguori

Convert machine registration to use module init functions

This cleans up quite a lot of #ifdefs, extern variables, and other ugliness.

Signed-off-by: Anthony Liguori <>

fd6dc90b 05/18/2009 11:24 pm Edgar E. Iglesias

cris: First shot at qdev for CRIS interrupts.

Signed-off-by: Edgar E. Iglesias <>

678fdca8 05/18/2009 10:34 pm Edgar E. Iglesias

etrax: Remove unused eth irq line.

The ethernet blocks irq line to report errors is unimplemented in QEMU.
Remove it for now.

Signed-off-by: Edgar E. Iglesias <>

3b1fd90e 05/16/2009 03:14 am Edgar E. Iglesias

ETRAX-TIMER: qdevify.

Signed-off-by: Edgar E. Iglesias <>

4b816985 05/16/2009 03:13 am Edgar E. Iglesias

ETRAX-SER: qdevify.

Signed-off-by: Edgar E. Iglesias <>

73cfd29f 05/16/2009 03:13 am Edgar E. Iglesias

ETRAX: Simplify PIC interface.

Instead of exporting a custom structure to represent different
interrupt types, just export the irq array and have the top
elements point to the NMI lines.

Signed-off-by: Edgar E. Iglesias <>

d33fd9d1 05/15/2009 05:53 pm Edgar E. Iglesias

ETRAX: Correct passing of kernel command line.

Signed-off-by: Edgar E. Iglesias <>

fbe1b595 05/13/2009 07:56 pm Paul Brook

Remove vga_ram_size

The vga_ram_size argument to machine init functions always has the same
value, and is ignored by many machines (including SPARC32 which has an
obsolete ifdef for VGA_RAM_SIZE).

Remove it and push VGA_RAM_SIZE into vga_int.h.

Signed-off-by: Paul Brook <>

bc24a225 05/10/2009 03:44 am Paul Brook

Follow coding conventions

Remove explicit struct qualifiers and rename structure types.

Signed-off-by: Paul Brook <>

190cd021 04/11/2009 08:33 pm pbrook

Remove redundant ram_require machine properly.

Signed-off-by: Paul Brook <>

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

dcac9679 04/09/2009 11:05 pm pbrook

Use load_image_targphys and avoid phys_ram_base.

Signed-off-by: Paul Brook <>

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

ef998233 01/26/2009 11:47 pm edgar_igl

ETRAX: Remove display-state argument from board init.

Apparently this board was forgotten in the display changes.

Signed-off-by: Edgar E. Iglesias <>

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

0ae18cee 01/13/2009 09:39 pm aliguori

Check NIC model in some NIC init functions (Mark McLoughlin)

Some NIC init functions are only called when that model is
the only valid model. In that case, it makes sense to use
qemu_check_nic_model() from the NIC init function itself.

Signed-off-by: Mark McLoughlin <>...

94410b78 01/09/2009 02:04 am edgar_igl

ETRAX: Let the ethernet PHY report the current link-state.

  • PHY reports correct link-state.
  • Allow the board description to assign separate addresses to each PHY.

Signed-off-by: Edgar E. Iglesias <>

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

c1e1a491 01/08/2009 12:46 am edgar_igl

ETRAX: Always provide a valid net model.

Signed-off-by: Edgar E. Iglesias <>

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

4a1e6bea 01/07/2009 03:05 pm edgar_igl

ETRAX: Add a dummy tempsensor and correct the NAND flash model.

Signed-off-by: Edgar E. Iglesias <>

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

10c144e2 01/07/2009 02:19 pm edgar_igl

ETRAX: Add a model for the axis devboard88 machine.

Signed-off-by: Edgar E. Iglesias <>

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162