1 /* 2 * Arm SCP/MCP Software 3 * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 * 7 * Description: 8 * Software defined memory map shared between SCP and MCP cores. 9 */ 10 11 #ifndef MORELLO_MCP_SOFTWARE_MMAP_H 12 #define MORELLO_MCP_SOFTWARE_MMAP_H 13 14 #include "morello_mcp_mmap.h" 15 16 /* SCMI payload size */ 17 #define MCP_SCMI_PAYLOAD_SIZE (128) 18 19 /* SCMI non-secure payload areas */ 20 #define SCMI_PAYLOAD_SCP_TO_MCP_NS (MCP_SCP_SHARED_NONSECURE_RAM) 21 #define SCMI_PAYLOAD_MCP_TO_SCP_NS \ 22 (MCP_SCP_SHARED_NONSECURE_RAM + MCP_SCMI_PAYLOAD_SIZE) 23 24 /* SCMI secure payload areas */ 25 #define SCMI_PAYLOAD_SCP_TO_MCP_S (MCP_SCP_SHARED_SECURE_RAM) 26 #define SCMI_PAYLOAD_MCP_TO_SCP_S \ 27 (MCP_SCP_SHARED_SECURE_RAM + MCP_SCMI_PAYLOAD_SIZE) 28 29 #endif /* MORELLO_MCP_SOFTWARE_MMAP_H */ 30