qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 1/4] xilinx_zynq: added smp support


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2 1/4] xilinx_zynq: added smp support
Date: Tue, 9 Oct 2012 12:52:00 +0100

On 4 October 2012 01:16, Peter Crosthwaite
<address@hidden> wrote:
> From: Peter A. G. Crosthwaite <address@hidden>
>
> Added linux smp support for the xilinx zynq platform (2x cpus are supported)
>
> Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
> ---
> Changed from v1:
> Addressed PMM review
> Shorted secondary bootloop using MVN instruction.
> Used default reset secondary instead of custom one.
> Rebased against QOM cpu developments.
> Few whitespace fixes.
>
>  hw/xilinx_zynq.c |   57 ++++++++++++++++++++++++++++++++++++++++++-----------
>  1 files changed, 45 insertions(+), 12 deletions(-)
>
> diff --git a/hw/xilinx_zynq.c b/hw/xilinx_zynq.c
> index 7e6c273..22a2bc5 100644
> --- a/hw/xilinx_zynq.c
> +++ b/hw/xilinx_zynq.c
> @@ -30,6 +30,32 @@
>
>  #define IRQ_OFFSET 32 /* pic interrupts start from index 32 */
>
> +#define SMP_BOOT_ADDR 0x0fff0000

What is at this address in real hardware? I can't see anything in the
machine model that maps at this address but I could be missing it.
(Generally we put the secondary bootloader in some place corresponding
to some kind of real RAM.)

> +#define SMP_BOOTREG_ADDR 0xfffffff0

...this is an address in the on-chip memory, right?

Other than those queries, patch looks OK.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]