summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/include/mach/tee_ta_start_modem.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-01-05 14:19:12 +0000
committerLee Jones <lee.jones@linaro.org>2012-01-05 14:19:12 +0000
commit1ebf578579bc37783ebe573c56ff166b65927597 (patch)
treeda06257c1e8780a9719663ce4f45bbbb8e8e1dc1 /arch/arm/mach-ux500/include/mach/tee_ta_start_modem.h
parent1d4a5b078179d3e837f506f5a508c80817311357 (diff)
parent878085f3e224c61b7a7435f8d60a51234fd54dd3 (diff)
Merge branch 'tracking-igloo_kernel-security' into merge-integration-linux-ux500
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/tee_ta_start_modem.h')
-rw-r--r--arch/arm/mach-ux500/include/mach/tee_ta_start_modem.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/tee_ta_start_modem.h b/arch/arm/mach-ux500/include/mach/tee_ta_start_modem.h
new file mode 100644
index 00000000000..6978b7314c5
--- /dev/null
+++ b/arch/arm/mach-ux500/include/mach/tee_ta_start_modem.h
@@ -0,0 +1,48 @@
+/*
+ * Data types and interface for TEE application for starting the modem.
+ *
+ * Copyright (C) ST-Ericsson SA 2010
+ * Author: Shujuan Chen <shujuan.chen@stericsson.com>
+ * License terms: GNU General Public License (GPL) version 2
+ */
+
+#ifndef TEE_TA_START_MODEM_H
+#define TEE_TA_START_MODEM_H
+
+#define COMMAND_ID_START_MODEM 0x00000001
+
+#define UUID_TEE_TA_START_MODEM_LOW 0x8AD94107
+#define UUID_TEE_TA_START_MODEM_MID 0x6E50
+#define UUID_TEE_TA_START_MODEM_HIGH 0x418E
+#define UUID_TEE_TA_START_MODEM_CLOCKSEQ \
+ {0xB1, 0x14, 0x75, 0x7D, 0x60, 0x21, 0xBD, 0x36}
+
+struct mcore_segment_descr {
+ void *segment;
+ void *hash;
+ u32 size;
+};
+
+struct access_image_descr {
+ void *elf_hdr;
+ void *pgm_hdr_tbl;
+ void *signature;
+ unsigned long nbr_segment;
+ struct mcore_segment_descr *descr;
+};
+
+/* TODO: To be redefined with only info needed by Secure world. */
+struct tee_ta_start_modem {
+ void *access_mem_start;
+ u32 shared_mem_size;
+ u32 access_private_mem_size;
+ struct access_image_descr access_image_descr;
+};
+
+/**
+ * This is the function to handle the modem release.
+ */
+int tee_ta_start_modem(struct tee_ta_start_modem *data);
+
+#endif
+