| a17acc4c | 27-Aug-2014 |
Sabrina Ni <sabrina.ni@linaro.org> |
Create util.h to rearrange define macro |
| 4a429f53 | 27-Aug-2014 |
Pascal Brand <pascal.brand@st.com> |
Cannes / H410 support
Support STMicroelectronics chip H410 "cannes". Is compiled using PLATFORM=cannes make |
| 55d3ebe9 | 22-Aug-2014 |
Pascal Brand <pascal.brand@st.com> |
Cleanup |
| 647f9c76 | 21-Aug-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Get value of gpd.tee.arith.maxBigIntSize from libutee
The property gpd.tee.arith.maxBigIntSize was implemented in TEE core by tee_svc_sys_get_property() which was returning a constant taken from the
Get value of gpd.tee.arith.maxBigIntSize from libutee
The property gpd.tee.arith.maxBigIntSize was implemented in TEE core by tee_svc_sys_get_property() which was returning a constant taken from the crypto module (LTC_MAX_BITS_PER_VARIABLE / 2). The correct value is TEE_MAX_NUMBER_OF_SUPPORTED_BITS from libutee. This commit makes libutee return the appropriate value directly (without calling the TEE core) and deletes the property from the syscall. Additionally, this removes the unjustified dependency of tee_svc.c on <tee_ltc_wrapper.h>.
show more ...
|
| e7d09f8a | 21-Aug-2014 |
Etienne Carriere <etienne.carriere@st.com> |
enable_mmu functions renamed in cpu_enable_mmu |
| 2cb1e0d0 | 15-Aug-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Bugfix TA dev kit
* Small bugfixes to bring the mk-files for TA dev kit up to date. * Compile TAs with -fpie * Add fix_ta_binary to fix the absolute relocation issue in TA header |
| a4e6c404 | 15-Aug-2014 |
SY Chiu <sy.chiu@linaro.org> |
Add a flag to turn on/off PSCI debug msg |
| 53bd332a | 11-Aug-2014 |
SY Chiu <sy.chiu@linaro.org> |
Add GIC status dump utility
- fixed fvp gic cpu interface and distrubtor offset - added new mapping for distrubtor - add utility to dump gic status |
| aaac0982 | 18-Aug-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
mk/compile.mk: simplify dependency generation; better support ccache
This commit modifies the compilation flags that are used to generate dependency files (*.o.d). Rather than using the preprocessor
mk/compile.mk: simplify dependency generation; better support ccache
This commit modifies the compilation flags that are used to generate dependency files (*.o.d). Rather than using the preprocessor's -MD flag (-Wp,-MD,<depfile>), we now use the frontend's equivalent (-MD -MF <depfile> -MT <target>).
There are three reasons for doing so: 1. The GCC man page recommends against using -Wp, because "the preprocessor's direct interface is undocumented and subject to change". 2. The new flags generate the correct rule directly, including the subdirectory in front of the object name, so scripts/fixdep is not needed anymore. 3. ccache (3.1.9) would not handle -Wp,-MD as expected. It would preserve the directory prefix, so that we would end up with an invalid path after the fixdep phase, making the rules useless. With this patch, OP-TEE builds fine with ccache: make -j3 CROSS_COMPILE="ccache arm-linux-gnueabihf-"
show more ...
|
| 27cbcc57 | 08-Aug-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Cleanup loading/unloading of a TA
* A TA is only loaded via tee-supplicant, directly supplying a pointer to the TA binary is not supported any longer. This requires and update to the client lib
Cleanup loading/unloading of a TA
* A TA is only loaded via tee-supplicant, directly supplying a pointer to the TA binary is not supported any longer. This requires and update to the client lib to avoid leaking shared memory. * The shared memory used to load the TA is freed as soon as the TA have been loaded into secure memory * Divides tee_ta_init_session() into sevaral functions * Divides tee_ta_close_session() into two functions * Divides tee_ta_load() into several functions with one separate function for signature verification * Removes some unused code for kernel TAs * Removes the option to lock/unlock a TA is only used by kernel TAs which we don't support any longer. * Removes the static global tee_rs. Switch to use Thread Local Storage pointer provided by the thread handler. * Adds TA_FLAG_USER_MODE by default to TA header since all TAs are user mode TAs now. * Reformats user_ta_header.c to make checkpatch less unhappy with it.
show more ...
|
| cebca6a5 | 13-Aug-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
fvp: fix compiler warning
Fixes compiler warning when compiling with default CFG_TEE_CORE_LOG_LEVEL. |
| ec219598 | 13-Aug-2014 |
Pascal Brand <pascal.brand@st.com> |
Remove core dependencies from generic part
This concerns: - Communication Non-Secure <--> Secure - sys/types.h contains some types not defined on all compilers
Signed-off-by: Pascal Brand <pascal.b
Remove core dependencies from generic part
This concerns: - Communication Non-Secure <--> Secure - sys/types.h contains some types not defined on all compilers
Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| c0346845 | 05-Jun-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Add plat-vexpress
* Initial support for Versatile Express of FVP with ARM Trusted Firmware (ATF below)
* Use entry vector for entering TEE
Align interface between TEE and secure monitor with t
Add plat-vexpress
* Initial support for Versatile Express of FVP with ARM Trusted Firmware (ATF below)
* Use entry vector for entering TEE
Align interface between TEE and secure monitor with the interface between OPTEED in ATF and TEE.
Uses an ATF compatible entry vector for entering TEE from internal secure monitor.
Internal secure monitor saves entry reason to be able to tell when switching back to nonsecure world if r0-r3 should be preserved (FIQ case) or returned as is (normal call case).
* Many small fixes of generic problems that could affect other platforms too.
* Disable unaligned data accesses by adding compiler flag -mno-unaligned-access
* Adds support for Versatile Express of QEMU with 8 MiB of secure DRAM
show more ...
|
| 565e42f9 | 07-Aug-2014 |
Pascal Brand <pascal.brand@st.com> |
subdir.mk supports absolute path
Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| 42da6502 | 07-Aug-2014 |
Pascal Brand <pascal.brand@st.com> |
Fix compilation issue when there is no traces |
| 85411494 | 06-Aug-2014 |
Pascal Brand <pascal.brand@st.com> |
Cleanup Libtomcrypt
- Do not compile libtomcrypt tests anymore - Define LTC_NO_FILE to remove all file operations in libtomcrypt - Minor fix in argument description of malloc
Signed-off-by: Pascal
Cleanup Libtomcrypt
- Do not compile libtomcrypt tests anymore - Define LTC_NO_FILE to remove all file operations in libtomcrypt - Minor fix in argument description of malloc
Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| e65b51de | 08-Jul-2014 |
Joakim Bech <joakim.bech@linaro.org> |
Adding GlobalPlatform documentation
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> |
| 73496810 | 24-Jun-2014 |
Joakim Bech <joakim.bech@linaro.org> |
Removed file core/include/kernel/kta_mem.h
Signed-off-by: Joakim Bech <joakim.bech@linaro.org>
|
| 1f70169d | 24-Jun-2014 |
Joakim Bech <joakim.bech@linaro.org> |
Removed unused KTA related defines
- Moved IO macro from kta_mem.h to io.h. - Removed unused TEE_MEM_xyz defines. - Removed code that was used for TA's in TEE RAM (impossible to reach that code).
Removed unused KTA related defines
- Moved IO macro from kta_mem.h to io.h. - Removed unused TEE_MEM_xyz defines. - Removed code that was used for TA's in TEE RAM (impossible to reach that code).
Signed-off-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| bc5871d4 | 01-Jul-2014 |
Pascal Brand <pascal.brand@st.com> |
GitHub usage documentation
Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| 525a1f23 | 26-Jun-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Fix warning in sta_helloworld
* Fixes a couple of printf warnings visible on higher log levels. * Cleans up core/arch/arm32/sta/sub.mk * Adds a compiler.h to provide the __unused macro to avoid warn
Fix warning in sta_helloworld
* Fixes a couple of printf warnings visible on higher log levels. * Cleans up core/arch/arm32/sta/sub.mk * Adds a compiler.h to provide the __unused macro to avoid warnings about unused parameters.
show more ...
|
| 63aac0e3 | 18-Jun-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Add THREAD_FLAGS_EXIT_ON_IRQ for preempted threads
Adds a THREAD_FLAGS_EXIT_ON_IRQ flag to the saved state of a thread to make it possible to check that no other thread may resume if there's a threa
Add THREAD_FLAGS_EXIT_ON_IRQ for preempted threads
Adds a THREAD_FLAGS_EXIT_ON_IRQ flag to the saved state of a thread to make it possible to check that no other thread may resume if there's a thread preempted by an IRQ.
show more ...
|
| b824235d | 26-Jun-2014 |
Pascal Brand <pascal.brand@st.com> |
Update aeabi_divmod.c
On behalf of Herve Sibert (hsibert) Corrected division_qr to work on unsigned ints, and simplified uint_div_qr accordingly Note - this file is no longer ARM-specifi
Update aeabi_divmod.c
On behalf of Herve Sibert (hsibert) Corrected division_qr to work on unsigned ints, and simplified uint_div_qr accordingly Note - this file is no longer ARM-specific.
It fixes #2 (GitHub issue)
show more ...
|
| 6a489039 | 24-Jun-2014 |
Cedric Chaumont <cedric.chaumont@st.com> |
add README.md
Change-Id: I65feab3957dea0ae7c246f4fb9cc0bae82297d20 Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> |
| 1665420c | 22-Jun-2014 |
Joakim Bech <joakim.bech@linaro.org> |
Add constant time buf_compare_ct function
This patch adds a constant time memory compare function that mitigates timing attacks. This patch also fixes three locations where this could be a problem.
Add constant time buf_compare_ct function
This patch adds a constant time memory compare function that mitigates timing attacks. This patch also fixes three locations where this could be a problem.
Signed-off-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|