Statistics
| Branch: | Revision:

root / hw / arm-misc.h @ d7331bed

History | View | Annotate | Download (2.3 kB)

# Date Author Comment
fc53b7d4 11/01/2012 06:04 pm Peter Maydell

arm_boot: Change initrd load address to "halfway through RAM"

To avoid continually having to bump the initrd load address
to account for larger kernel images, put the initrd halfway
through RAM. This allows large kernels on new boards with lots
of RAM to work OK, without breaking existing usecases for...

a8170e5e 10/23/2012 04:58 pm Avi Kivity

Rename target_phys_addr_t to hwaddr

target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
reserved) and its purpose doesn't match the name (most target_phys_addr_t
addresses are not target specific). Replace it with a finger-friendly,...

de841dea 07/20/2012 03:34 pm Peter Maydell

hw/arm_boot.c: Make ram_size a uint64_t

Make the RAM size in arm_boot_info a uint64_t so it can express
the larger RAM sizes that may be seen in LPAE systems.

Signed-off-by: Peter Maydell <>
Reviewed-by: Peter A. G. Crosthwaite <>

9b574c29 06/19/2012 04:24 pm Andreas Färber

arm_boot: Fix typos in comment

mimicing -> mimicking
thei -> the

Signed-off-by: Andreas Färber <>
Reviewed-by: Stefan Weil <>
Signed-off-by: Peter Maydell <>

9543b0cd 06/11/2012 01:23 am Andreas Färber

arm_boot: Pass ARMCPU to arm_boot_info::write_secondary_boot()

Adapt exynos4210 and highbank accordingly.
The parameter itself is unused.

Signed-off-by: Andreas Färber <>
Acked-by: Peter Maydell <>
Acked-by: Igor Mitsyanko <> (for exynos)

5d309320 06/11/2012 01:23 am Andreas Färber

arm_boot: Pass ARMCPU to arm_boot_info::secondary_cpu_reset_hook()

Adapt highbank accordingly.

Signed-off-by: Andreas Färber <>
Acked-by: Peter Maydell <>

3aaa8dfa 06/11/2012 01:23 am Andreas Färber

arm_boot: Pass ARMCPU to arm_load_kernel()

In particular this simplifies the &s->mpu->cpu->env expression again.

first_cpu and ->next_cpu are expected to be QOM'ified later.

Signed-off-by: Andreas Färber <>
Acked-by: Igor Mitsyanko <> (for exynos)...

4bd74661 06/11/2012 01:23 am Andreas Färber

arm_pic: Pass ARMCPU to arm_pic_init_cpu()

Pass it through to arm_pic_cpu_handler().

Signed-off-by: Andreas Färber <>
Acked-by: Peter Maydell <>
Acked-by: Igor Mitsyanko <> (for exynos)

5ae93306 03/14/2012 11:20 pm Andreas Färber

arm hw/: Don't use CPUState

Scripted conversion:
for file in hw/arm-misc.h hw/arm_boot.c hw/arm_pic.c hw/armv7m.c hw/exynos4210.h hw/highbank.c hw/integratorcp.c hw/musicpal.c hw/omap.h hw/pxa.h hw/pxa2xx_gpio.c hw/pxa2xx_pic.c hw/realview.c hw/strongarm.h hw/versatilepb.c hw/vexpress.c hw/xilinx_zynq.c ; do...

412beee6 03/02/2012 01:56 pm Grant Likely

arm: add device tree support

If compiled with CONFIG_FDT, allow user to specify a device tree file using
the -dtb argument. If the machine supports it then the dtb will be loaded
into memory and passed to the kernel on boot.

Signed-off-by: Jeremy Kerr <>...

96eacf64 02/17/2012 01:13 pm Peter Maydell

arm_boot: Pass base address of GIC CPU interface, not whole GIC

The arm_boot secondary boot loader code needs the address of
the GIC CPU interface. Obtaining this from the base address
of the private peripheral region was possible for A9 and 11MPcore,
but the A15 puts the GIC CPU interface in a different place....

9d5ba9bf 01/26/2012 01:43 pm Mark Langsdorf

arm: add secondary cpu boot callbacks to arm_boot.c

Create two functions, write_secondary_boot() and secondary_cpu_reset_hook(),
to allow platforms more control of how secondary CPUs are brought up. The
new functions default to NULL and aren't called unless they are populated...

078758d0 01/17/2012 03:08 am Evgeny Voevodin

hw/arm_boot.c: Make SMP boards specify address to poll in bootup loop

The secondary CPU bootloader in arm_boot.c holds secondary CPUs in a
pen until the primary CPU releases them. Make boards specify the
address to be polled to determine whether to leave the pen (it was...

7d6f78cf 09/04/2011 05:46 pm Avi Kivity

armv7m: convert to memory API

Reviewed-by: Richard Henderson <>
Signed-off-by: Avi Kivity <>

01e0451a 08/25/2011 10:39 pm Anthony Liguori

Revert "Merge remote-tracking branch 'qemu-kvm/memory/batch' into staging"

This reverts commit 8ef9ea85a2cc1007eaefa53e6871f1f83bcef22d, reversing
changes made to 444dc48298c480e42e15a8fe676be737d8a6b2a1.

From Avi:

Please revert the entire pull (git revert 8ef9ea85a2cc1) while I work this...
fbe15adf 08/24/2011 08:17 pm Avi Kivity

armv7m: convert to memory API

Reviewed-by: Richard Henderson <>
Signed-off-by: Avi Kivity <>

8e31bf38 07/23/2011 07:26 pm Matthew Fernandez

Correct spelling of licensed

Correct typos of "licenced" to "licensed".

Reviewed-by: Stefan Weil <>
Reviewed-by: Andreas F=E4rber <>
Signed-off-by: Matthew Fernandez <>
Signed-off-by: Anthony Liguori <>

462a8bc6 07/04/2011 10:58 pm Stefan Weil

arm: Add const attribute to some arm_boot_info pointers

Parameter 'info' is const, so add the missing attribute.

v2:
Add 'const' to the local variable info in do_cpu_reset() and to
the boot_info field in CPUARMState (suggested by Peter Maydell).

Cc: Andrzej Zaborowski <>...

f7c70325 11/19/2009 06:45 pm Paul Brook

ARM PBX-A9 board support

Implement ARM RealView PBX-A9 board support.

Signed-off-by: Paul Brook <>

f2d74978 11/11/2009 08:07 pm Paul Brook

Fix ARM system emulation

Since 45a50b1 load_image_targphys should only be called once.
ARM boards incorrectly call it every time the system is reset.

Signed-off-by: Paul Brook <>

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

Signed-off-by: malc <>

fe7e8758 05/15/2009 12:35 am Paul Brook

ARM GIC qdev conversion

Signed-off-by: Paul Brook <>

a5580466 05/15/2009 12:35 am Paul Brook

Stellaris ethernet qdev conversion

Signed-off-by: Paul Brook <>

7ffab4d7 04/09/2009 08:15 pm pbrook

Use qemu_ram_alloc.

Signed-off-by: Paul Brook <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7052 c046a42c-6fe2-441c-8c8c-71466251a162

1d6198c3 12/13/2008 11:32 am blueswir1

Remove unnecessary trailing newlines

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6000 c046a42c-6fe2-441c-8c8c-71466251a162

7ee930d0 09/17/2008 10:04 pm blueswir1

Fix warnings that would be caused by ld flag --warn-common

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5240 c046a42c-6fe2-441c-8c8c-71466251a162

79383c9c 08/30/2008 12:51 pm blueswir1

Fix some warnings that would be generated by gcc -Wredundant-decls

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5115 c046a42c-6fe2-441c-8c8c-71466251a162

f93eb9ff 04/14/2008 11:27 pm balrog

Move the excess of arm_load_kernel() parameters into a struct.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4212 c046a42c-6fe2-441c-8c8c-71466251a162

eea589cc 11/24/2007 05:13 am pbrook

Stellaris ethernet support.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3728 c046a42c-6fe2-441c-8c8c-71466251a162

e57ec016 11/24/2007 05:09 am pbrook

ARMv7-M SysTick fix.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3727 c046a42c-6fe2-441c-8c8c-71466251a162

87ecb68b 11/17/2007 07:14 pm pbrook

Break up vl.h.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3674 c046a42c-6fe2-441c-8c8c-71466251a162