aboutsummaryrefslogtreecommitdiff
path: root/core/arch/arm32
diff options
context:
space:
mode:
authorSY Chiu <sy.chiu@linaro.org>2014-12-16 14:15:09 +0800
committerSY Chiu <sy.chiu@linaro.org>2015-01-23 18:11:33 +0800
commite4d3a4a68ce893f79ca024530d71c281af16041f (patch)
treee4d4dd9b859188e2abccfa3c318fb55a727135d5 /core/arch/arm32
parent197d17e77afc49bd75fd35ebfd335c30d6855e3d (diff)
SE API: hide private interfaces
- Split each headers into module.h and module_priv.h, move the methods that is only used internally by SE implementation to module_priv.h, and export module_priv.h to rest of TEE Core - Added new include path to se_api_self_tests.c for which needs to include private headers - Split aid.c and apdu.c from iso7816.c. Originally they have to be wriiten in the same file since they share some private data structures. Now, the private data structure can be shared via private headers. - Split reader.c from manager.c for the same reason above. Signed-off-by: SY Chiu <sy.chiu@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: SY Chiu <sy.chiu@linaro.org> (Modified QEMU + jcardsim)
Diffstat (limited to 'core/arch/arm32')
-rw-r--r--core/arch/arm32/sta/se_api_self_tests.c4
-rw-r--r--core/arch/arm32/sta/sub.mk1
2 files changed, 5 insertions, 0 deletions
diff --git a/core/arch/arm32/sta/se_api_self_tests.c b/core/arch/arm32/sta/se_api_self_tests.c
index 47acba4..ecd5243 100644
--- a/core/arch/arm32/sta/se_api_self_tests.c
+++ b/core/arch/arm32/sta/se_api_self_tests.c
@@ -43,6 +43,10 @@
#include <stdlib.h>
#include <string.h>
+#include "aid_priv.h"
+#include "apdu_priv.h"
+#include "reader_priv.h"
+
#define TA_NAME "se_api_self_tests.ta"
diff --git a/core/arch/arm32/sta/sub.mk b/core/arch/arm32/sta/sub.mk
index f68db86..38300aa 100644
--- a/core/arch/arm32/sta/sub.mk
+++ b/core/arch/arm32/sta/sub.mk
@@ -3,4 +3,5 @@ srcs-y += core_self_tests.c
ifeq ($(WITH_SE_API),y)
srcs-${WITH_SE_API_SELF_TEST} += se_api_self_tests.c
+cppflags-se_api_self_tests.c-y += -Icore/tee/se
endif