Hello all,
I have a question regarding LEON SPARC SMP. In a LEON SPARC SMP system
secondary CPUs (others that CPU#0) can be started by setting certain
bits in the interrupt controller. At startup (reset) all CPUs are halted
except CPU#0. In QEMU version 0.12 it was possible to simply set
CPUS
On 09/19/2012 09:19 PM, Blue Swirl wrote:
On Wed, Sep 19, 2012 at 3:30 PM, Ronald Hecht wrote:
This patch adds SMP support to the LEON SPARC interrupt controller.
I don't like that CPU status (halted/not halted) is accessed directly
from the interrupt controller. How can th
On 09/19/2012 08:56 PM, Blue Swirl wrote:
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -2590,13 +2590,9 @@ static void disas_sparc_insn(DisasContext * dc, unsigned
int insn)
microSPARC II */
/* Read Asr17 */
This patch adds SMP support to the LEON SPARC interrupt controller.
I don't like that CPU status (halted/not halted) is accessed directly
from the interrupt controller. How can this be implemented more elegant?
Ideally the CPUSPARCState should not be accessed directly.
Signed-off-by: Ronald
Signed-off-by: Ronald Hecht
---
target-sparc/cpu.c |2 +-
target-sparc/cpu.h |1 +
target-sparc/helper.h |1 +
target-sparc/ldst_helper.c |9 +
target-sparc/translate.c |5 +
5 files changed, 17 insertions(+), 1 deletions(-)
diff --git a
Signed-off-by: Ronald Hecht
---
target-sparc/helper.h |1 +
target-sparc/ldst_helper.c |6 ++
target-sparc/translate.c | 10 +++---
3 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/target-sparc/helper.h b/target-sparc/helper.h
index 74ecad1..23a2ad4 100644
Signed-off-by: Ronald Hecht
---
target-sparc/cpu.c |2 +-
target-sparc/cpu.h |1 +
target-sparc/helper.h |1 +
target-sparc/ldst_helper.c |9 +
target-sparc/translate.c |5 +
5 files changed, 17 insertions(+), 1 deletions(-)
diff --git a
This patch adds SPARC ASI mappings that are used by the LEON processor.It also
corrects the MMU context register and context table pointer mask of the LEON3.
Signed-off-by: Ronald Hecht
---
target-sparc/cpu.c |4 ++--
target-sparc/ldst_helper.c |6 ++
2 files changed, 8
This patch adds SPARC ASI mappings that are used by the LEON processor.It also
corrects the MMU context register and context table pointer mask of the LEON3.
Signed-off-by: Ronald Hecht
---
target-sparc/cpu.c |4 ++--
target-sparc/ldst_helper.c |6 ++
2 files changed, 8