mirror of https://github.com/xemu-project/xemu.git
hw/arm/armsse: Add SSE-200 model
Add a model of the SSE-200, now we have put in all the code that lets us make it different from the IoTKit. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190121185118.18550-22-peter.maydell@linaro.org
This commit is contained in:
parent
ade67dcd4a
commit
0829d24e66
|
@ -50,6 +50,18 @@ static const ARMSSEInfo armsse_variants[] = {
|
||||||
.has_cpusecctrl = false,
|
.has_cpusecctrl = false,
|
||||||
.has_cpuid = false,
|
.has_cpuid = false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.name = TYPE_SSE200,
|
||||||
|
.sram_banks = 4,
|
||||||
|
.num_cpus = 2,
|
||||||
|
.sys_version = 0x22041743,
|
||||||
|
.sys_config_format = SSE200Format,
|
||||||
|
.has_mhus = true,
|
||||||
|
.has_ppus = true,
|
||||||
|
.has_cachectrl = true,
|
||||||
|
.has_cpusecctrl = true,
|
||||||
|
.has_cpuid = true,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
static uint32_t armsse_sys_config_value(ARMSSE *s, const ARMSSEInfo *info)
|
static uint32_t armsse_sys_config_value(ARMSSE *s, const ARMSSEInfo *info)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* ARM SSE (Subsystems for Embedded): IoTKit
|
* ARM SSE (Subsystems for Embedded): IoTKit, SSE-200
|
||||||
*
|
*
|
||||||
* Copyright (c) 2018 Linaro Limited
|
* Copyright (c) 2018 Linaro Limited
|
||||||
* Written by Peter Maydell
|
* Written by Peter Maydell
|
||||||
|
@ -12,9 +12,13 @@
|
||||||
/*
|
/*
|
||||||
* This is a model of the Arm "Subsystems for Embedded" family of
|
* This is a model of the Arm "Subsystems for Embedded" family of
|
||||||
* hardware, which include the IoT Kit and the SSE-050, SSE-100 and
|
* hardware, which include the IoT Kit and the SSE-050, SSE-100 and
|
||||||
* SSE-200. Currently we model only the Arm IoT Kit which is documented in
|
* SSE-200. Currently we model:
|
||||||
|
* - the Arm IoT Kit which is documented in
|
||||||
* http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ecm0601256/index.html
|
* http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ecm0601256/index.html
|
||||||
* It contains:
|
* - the SSE-200 which is documented in
|
||||||
|
* http://infocenter.arm.com/help/topic/com.arm.doc.101104_0100_00_en/corelink_sse200_subsystem_for_embedded_technical_reference_manual_101104_0100_00_en.pdf
|
||||||
|
*
|
||||||
|
* The IoTKit contains:
|
||||||
* a Cortex-M33
|
* a Cortex-M33
|
||||||
* the IDAU
|
* the IDAU
|
||||||
* some timers and watchdogs
|
* some timers and watchdogs
|
||||||
|
@ -23,6 +27,14 @@
|
||||||
* a security controller
|
* a security controller
|
||||||
* a bus fabric which arranges that some parts of the address
|
* a bus fabric which arranges that some parts of the address
|
||||||
* space are secure and non-secure aliases of each other
|
* space are secure and non-secure aliases of each other
|
||||||
|
* The SSE-200 additionally contains:
|
||||||
|
* a second Cortex-M33
|
||||||
|
* two Message Handling Units (MHUs)
|
||||||
|
* an optional CryptoCell (which we do not model)
|
||||||
|
* more SRAM banks with associated MPCs
|
||||||
|
* multiple Power Policy Units (PPUs)
|
||||||
|
* a control interface for an icache for each CPU
|
||||||
|
* per-CPU identity and control register blocks
|
||||||
*
|
*
|
||||||
* QEMU interface:
|
* QEMU interface:
|
||||||
* + QOM property "memory" is a MemoryRegion containing the devices provided
|
* + QOM property "memory" is a MemoryRegion containing the devices provided
|
||||||
|
@ -93,6 +105,7 @@
|
||||||
* them via the ARMSSE base class, so they have no IOTKIT() etc macros.
|
* them via the ARMSSE base class, so they have no IOTKIT() etc macros.
|
||||||
*/
|
*/
|
||||||
#define TYPE_IOTKIT "iotkit"
|
#define TYPE_IOTKIT "iotkit"
|
||||||
|
#define TYPE_SSE200 "sse-200"
|
||||||
|
|
||||||
/* We have an IRQ splitter and an OR gate input for each external PPC
|
/* We have an IRQ splitter and an OR gate input for each external PPC
|
||||||
* and the 2 internal PPCs
|
* and the 2 internal PPCs
|
||||||
|
|
Loading…
Reference in New Issue