summaryrefslogtreecommitdiff
path: root/nrfdemo/builddk/tfm/generated/secure_fw/partitions
diff options
context:
space:
mode:
authorMichal Hanus <mikehanus@protonmail.com>2025-04-14 22:04:32 +0200
committerMichal Hanus <mikehanus@protonmail.com>2025-04-14 22:04:32 +0200
commit2e13c372f1419f08dab7797b244681f889dd9bcf (patch)
tree995a31c40f13068c4135c213e938e0a2a9ed05a3 /nrfdemo/builddk/tfm/generated/secure_fw/partitions
parent620dfd94019f3c7e3022fa5a5fb9c9b51491062d (diff)
nrfdemo
Diffstat (limited to 'nrfdemo/builddk/tfm/generated/secure_fw/partitions')
-rw-r--r--nrfdemo/builddk/tfm/generated/secure_fw/partitions/crypto/auto_generated/intermedia_tfm_crypto.c12
-rw-r--r--nrfdemo/builddk/tfm/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.c127
-rw-r--r--nrfdemo/builddk/tfm/generated/secure_fw/partitions/crypto/psa_manifest/tfm_crypto.h27
-rw-r--r--nrfdemo/builddk/tfm/generated/secure_fw/partitions/platform/auto_generated/intermedia_tfm_platform.c12
-rw-r--r--nrfdemo/builddk/tfm/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.c122
-rw-r--r--nrfdemo/builddk/tfm/generated/secure_fw/partitions/platform/psa_manifest/tfm_platform.h27
6 files changed, 327 insertions, 0 deletions
diff --git a/nrfdemo/builddk/tfm/generated/secure_fw/partitions/crypto/auto_generated/intermedia_tfm_crypto.c b/nrfdemo/builddk/tfm/generated/secure_fw/partitions/crypto/auto_generated/intermedia_tfm_crypto.c
new file mode 100644
index 0000000..def98d0
--- /dev/null
+++ b/nrfdemo/builddk/tfm/generated/secure_fw/partitions/crypto/auto_generated/intermedia_tfm_crypto.c
@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2020-2022, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
+
+/*********** WARNING: This is an auto-generated file. Do not edit! ***********/
+
+#include <stdint.h>
+#include "config_tfm.h"
+
diff --git a/nrfdemo/builddk/tfm/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.c b/nrfdemo/builddk/tfm/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.c
new file mode 100644
index 0000000..ab0e6f1
--- /dev/null
+++ b/nrfdemo/builddk/tfm/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.c
@@ -0,0 +1,127 @@
+/*
+ * Copyright (c) 2021-2022, Arm Limited. All rights reserved.
+ * Copyright (c) 2021-2023 Cypress Semiconductor Corporation (an Infineon
+ * company) or an affiliate of Cypress Semiconductor Corporation. All rights
+ * reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
+
+/*********** WARNING: This is an auto-generated file. Do not edit! ***********/
+
+#include <stdint.h>
+#include <stddef.h>
+#include "config_tfm.h"
+#include "region.h"
+#include "region_defs.h"
+#include "spm.h"
+#include "load/interrupt_defs.h"
+#include "load/partition_defs.h"
+#include "load/service_defs.h"
+#include "load/asset_defs.h"
+#include "tfm_peripherals_def.h"
+#include "psa_manifest/pid.h"
+#include "psa_manifest/sid.h"
+#include "psa_manifest/tfm_crypto.h"
+
+#define TFM_SP_CRYPTO_NDEPS (1)
+#define TFM_SP_CRYPTO_NSERVS (1)
+#if TFM_ISOLATION_LEVEL == 3
+#define TFM_SP_CRYPTO_NASSETS (0 + 1)
+#else
+#define TFM_SP_CRYPTO_NASSETS (0)
+#endif
+#define TFM_SP_CRYPTO_NIRQS (0)
+
+/* Memory region declaration */
+#if TFM_ISOLATION_LEVEL == 3
+REGION_DECLARE(Image$$, PT_TFM_SP_CRYPTO_PRIVATE, _DATA_START$$Base);
+REGION_DECLARE(Image$$, PT_TFM_SP_CRYPTO_PRIVATE, _DATA_END$$Base);
+#endif
+
+
+extern psa_status_t tfm_crypto_init(void);
+
+/* Interrupt init functions */
+
+/* partition load info type definition */
+struct partition_tfm_sp_crypto_load_info_t {
+ /* common length load data */
+ struct partition_load_info_t load_info;
+ /* per-partition variable length load data */
+ uintptr_t stack_addr;
+ uintptr_t heap_addr;
+ uint32_t deps[TFM_SP_CRYPTO_NDEPS];
+ struct service_load_info_t services[TFM_SP_CRYPTO_NSERVS];
+#if TFM_ISOLATION_LEVEL == 3
+ struct asset_desc_t assets[TFM_SP_CRYPTO_NASSETS];
+#else
+#endif
+} __attribute__((aligned(4)));
+
+/* Partition load, deps, service load data. Put to a dedicated section. */
+#if defined(__ICCARM__)
+#pragma location = ".part_load_priority_02"
+__root
+#endif /* __ICCARM__ */
+const struct partition_tfm_sp_crypto_load_info_t tfm_sp_crypto_load
+ __attribute__((used, section(".part_load_priority_02"))) = {
+ .load_info = {
+ .psa_ff_ver = 0x0101 | PARTITION_INFO_MAGIC,
+ .pid = TFM_SP_CRYPTO,
+ .flags = 0
+ | PARTITION_MODEL_PSA_ROT
+ | PARTITION_PRI_NORMAL,
+ .entry = ENTRY_TO_POSITION(tfm_crypto_init),
+ .stack_size = 0,
+ .heap_size = 0,
+ .ndeps = TFM_SP_CRYPTO_NDEPS,
+ .nservices = TFM_SP_CRYPTO_NSERVS,
+ .nassets = TFM_SP_CRYPTO_NASSETS,
+ .nirqs = TFM_SP_CRYPTO_NIRQS,
+ },
+ .stack_addr = 0,
+ .heap_addr = 0,
+ .deps = {
+ TFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID,
+ },
+ .services = {
+ {
+ .name_strid = STRING_PTR_TO_STRID("TFM_CRYPTO"),
+ .sfn = ENTRY_TO_POSITION(tfm_crypto_sfn),
+
+ .sid = 0x00000080,
+ .flags = 0
+ | SERVICE_FLAG_NS_ACCESSIBLE
+ | SERVICE_FLAG_STATELESS | 0x0
+ | SERVICE_FLAG_MM_IOVEC
+ | SERVICE_VERSION_POLICY_STRICT,
+ .version = 1,
+ },
+ },
+#if TFM_ISOLATION_LEVEL == 3
+ .assets = {
+ {
+ .mem.start = (uintptr_t)&REGION_NAME(Image$$, PT_TFM_SP_CRYPTO_PRIVATE, _DATA_START$$Base),
+ .mem.limit = (uintptr_t)&REGION_NAME(Image$$, PT_TFM_SP_CRYPTO_PRIVATE, _DATA_END$$Base),
+ .attr = ASSET_ATTR_READ_WRITE,
+ },
+ },
+#else
+#endif
+};
+
+/* Placeholder for partition and service runtime space. Do not reference it. */
+#if defined(__ICCARM__)
+#pragma location=".bss.part_runtime_priority_02"
+__root
+#endif /* __ICCARM__ */
+static struct partition_t tfm_sp_crypto_partition_runtime_item
+ __attribute__((used, section(".bss.part_runtime_priority_02")));
+#if defined(__ICCARM__)
+#pragma location = ".bss.serv_runtime_priority_02"
+__root
+#endif /* __ICCARM__ */
+static struct service_t tfm_sp_crypto_service_runtime_item[TFM_SP_CRYPTO_NSERVS]
+ __attribute__((used, section(".bss.serv_runtime_priority_02")));
diff --git a/nrfdemo/builddk/tfm/generated/secure_fw/partitions/crypto/psa_manifest/tfm_crypto.h b/nrfdemo/builddk/tfm/generated/secure_fw/partitions/crypto/psa_manifest/tfm_crypto.h
new file mode 100644
index 0000000..d2171b0
--- /dev/null
+++ b/nrfdemo/builddk/tfm/generated/secure_fw/partitions/crypto/psa_manifest/tfm_crypto.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2019-2022, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
+
+/*********** WARNING: This is an auto-generated file. Do not edit! ***********/
+
+#ifndef __PSA_MANIFEST_TFM_CRYPTO_H__
+#define __PSA_MANIFEST_TFM_CRYPTO_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define TFM_SP_CRYPTO_MODEL_IPC 0
+#define TFM_SP_CRYPTO_MODEL_SFN 1
+
+psa_status_t tfm_crypto_sfn(const psa_msg_t* msg);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __PSA_MANIFEST_TFM_CRYPTO_H__ */
diff --git a/nrfdemo/builddk/tfm/generated/secure_fw/partitions/platform/auto_generated/intermedia_tfm_platform.c b/nrfdemo/builddk/tfm/generated/secure_fw/partitions/platform/auto_generated/intermedia_tfm_platform.c
new file mode 100644
index 0000000..def98d0
--- /dev/null
+++ b/nrfdemo/builddk/tfm/generated/secure_fw/partitions/platform/auto_generated/intermedia_tfm_platform.c
@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2020-2022, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
+
+/*********** WARNING: This is an auto-generated file. Do not edit! ***********/
+
+#include <stdint.h>
+#include "config_tfm.h"
+
diff --git a/nrfdemo/builddk/tfm/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.c b/nrfdemo/builddk/tfm/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.c
new file mode 100644
index 0000000..67777e4
--- /dev/null
+++ b/nrfdemo/builddk/tfm/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.c
@@ -0,0 +1,122 @@
+/*
+ * Copyright (c) 2021-2022, Arm Limited. All rights reserved.
+ * Copyright (c) 2021-2023 Cypress Semiconductor Corporation (an Infineon
+ * company) or an affiliate of Cypress Semiconductor Corporation. All rights
+ * reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
+
+/*********** WARNING: This is an auto-generated file. Do not edit! ***********/
+
+#include <stdint.h>
+#include <stddef.h>
+#include "config_tfm.h"
+#include "region.h"
+#include "region_defs.h"
+#include "spm.h"
+#include "load/interrupt_defs.h"
+#include "load/partition_defs.h"
+#include "load/service_defs.h"
+#include "load/asset_defs.h"
+#include "tfm_peripherals_def.h"
+#include "psa_manifest/pid.h"
+#include "psa_manifest/sid.h"
+#include "psa_manifest/tfm_platform.h"
+
+#define TFM_SP_PLATFORM_NDEPS (0)
+#define TFM_SP_PLATFORM_NSERVS (1)
+#if TFM_ISOLATION_LEVEL == 3
+#define TFM_SP_PLATFORM_NASSETS (0 + 1)
+#else
+#define TFM_SP_PLATFORM_NASSETS (0)
+#endif
+#define TFM_SP_PLATFORM_NIRQS (0)
+
+/* Memory region declaration */
+#if TFM_ISOLATION_LEVEL == 3
+REGION_DECLARE(Image$$, PT_TFM_SP_PLATFORM_PRIVATE, _DATA_START$$Base);
+REGION_DECLARE(Image$$, PT_TFM_SP_PLATFORM_PRIVATE, _DATA_END$$Base);
+#endif
+
+
+extern psa_status_t platform_sp_init(void);
+
+/* Interrupt init functions */
+
+/* partition load info type definition */
+struct partition_tfm_sp_platform_load_info_t {
+ /* common length load data */
+ struct partition_load_info_t load_info;
+ /* per-partition variable length load data */
+ uintptr_t stack_addr;
+ uintptr_t heap_addr;
+ struct service_load_info_t services[TFM_SP_PLATFORM_NSERVS];
+#if TFM_ISOLATION_LEVEL == 3
+ struct asset_desc_t assets[TFM_SP_PLATFORM_NASSETS];
+#else
+#endif
+} __attribute__((aligned(4)));
+
+/* Partition load, deps, service load data. Put to a dedicated section. */
+#if defined(__ICCARM__)
+#pragma location = ".part_load_priority_02"
+__root
+#endif /* __ICCARM__ */
+const struct partition_tfm_sp_platform_load_info_t tfm_sp_platform_load
+ __attribute__((used, section(".part_load_priority_02"))) = {
+ .load_info = {
+ .psa_ff_ver = 0x0101 | PARTITION_INFO_MAGIC,
+ .pid = TFM_SP_PLATFORM,
+ .flags = 0
+ | PARTITION_MODEL_PSA_ROT
+ | PARTITION_PRI_NORMAL,
+ .entry = ENTRY_TO_POSITION(platform_sp_init),
+ .stack_size = 0,
+ .heap_size = 0,
+ .ndeps = TFM_SP_PLATFORM_NDEPS,
+ .nservices = TFM_SP_PLATFORM_NSERVS,
+ .nassets = TFM_SP_PLATFORM_NASSETS,
+ .nirqs = TFM_SP_PLATFORM_NIRQS,
+ },
+ .stack_addr = 0,
+ .heap_addr = 0,
+ .services = {
+ {
+ .name_strid = STRING_PTR_TO_STRID("TFM_PLATFORM_SERVICE"),
+ .sfn = ENTRY_TO_POSITION(tfm_platform_service_sfn),
+
+ .sid = 0x00000040,
+ .flags = 0
+ | SERVICE_FLAG_NS_ACCESSIBLE
+ | SERVICE_FLAG_STATELESS | 0x5
+ | SERVICE_VERSION_POLICY_STRICT,
+ .version = 1,
+ },
+ },
+#if TFM_ISOLATION_LEVEL == 3
+ .assets = {
+ {
+ .mem.start = (uintptr_t)&REGION_NAME(Image$$, PT_TFM_SP_PLATFORM_PRIVATE, _DATA_START$$Base),
+ .mem.limit = (uintptr_t)&REGION_NAME(Image$$, PT_TFM_SP_PLATFORM_PRIVATE, _DATA_END$$Base),
+ .attr = ASSET_ATTR_READ_WRITE,
+ },
+ },
+#else
+#endif
+};
+
+/* Placeholder for partition and service runtime space. Do not reference it. */
+#if defined(__ICCARM__)
+#pragma location=".bss.part_runtime_priority_02"
+__root
+#endif /* __ICCARM__ */
+static struct partition_t tfm_sp_platform_partition_runtime_item
+ __attribute__((used, section(".bss.part_runtime_priority_02")));
+#if defined(__ICCARM__)
+#pragma location = ".bss.serv_runtime_priority_02"
+__root
+#endif /* __ICCARM__ */
+static struct service_t tfm_sp_platform_service_runtime_item[TFM_SP_PLATFORM_NSERVS]
+ __attribute__((used, section(".bss.serv_runtime_priority_02")));
diff --git a/nrfdemo/builddk/tfm/generated/secure_fw/partitions/platform/psa_manifest/tfm_platform.h b/nrfdemo/builddk/tfm/generated/secure_fw/partitions/platform/psa_manifest/tfm_platform.h
new file mode 100644
index 0000000..9e5676b
--- /dev/null
+++ b/nrfdemo/builddk/tfm/generated/secure_fw/partitions/platform/psa_manifest/tfm_platform.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2019-2022, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
+
+/*********** WARNING: This is an auto-generated file. Do not edit! ***********/
+
+#ifndef __PSA_MANIFEST_TFM_PLATFORM_H__
+#define __PSA_MANIFEST_TFM_PLATFORM_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define TFM_SP_PLATFORM_MODEL_IPC 0
+#define TFM_SP_PLATFORM_MODEL_SFN 1
+
+psa_status_t tfm_platform_service_sfn(const psa_msg_t* msg);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __PSA_MANIFEST_TFM_PLATFORM_H__ */