diff options
Diffstat (limited to 'product/n1sdp/include/n1sdp_mcp_software_mmap.h')
-rw-r--r-- | product/n1sdp/include/n1sdp_mcp_software_mmap.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/product/n1sdp/include/n1sdp_mcp_software_mmap.h b/product/n1sdp/include/n1sdp_mcp_software_mmap.h new file mode 100644 index 00000000..a64aecd1 --- /dev/null +++ b/product/n1sdp/include/n1sdp_mcp_software_mmap.h @@ -0,0 +1,29 @@ +/* + * Arm SCP/MCP Software + * Copyright (c) 2018, Arm Limited and Contributors. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + * + * Description: + * Software defined memory map shared between SCP and MCP cores. + */ + +#ifndef N1SDP_MCP_SOFTWARE_MMAP_H +#define N1SDP_MCP_SOFTWARE_MMAP_H + +#include <n1sdp_mcp_mmap.h> + +/* SCMI payload size */ +#define MCP_SCMI_PAYLOAD_SIZE (128) + +/* SCMI non-secure payload areas */ +#define SCMI_PAYLOAD_SCP_TO_MCP_NS (MCP_SCP_SHARED_NONSECURE_RAM) +#define SCMI_PAYLOAD_MCP_TO_SCP_NS (MCP_SCP_SHARED_NONSECURE_RAM + \ + MCP_SCMI_PAYLOAD_SIZE) + +/* SCMI secure payload areas */ +#define SCMI_PAYLOAD_SCP_TO_MCP_S (MCP_SCP_SHARED_SECURE_RAM) +#define SCMI_PAYLOAD_MCP_TO_SCP_S (MCP_SCP_SHARED_SECURE_RAM + \ + MCP_SCMI_PAYLOAD_SIZE) + +#endif /* N1SDP_MCP_SOFTWARE_MMAP_H */ |