| fe52b1f5 | 06-Nov-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
core: create conf.h from CFG_* Makefile variables
Simplify the use of makefile configuration variables from C code. With this patch, one can #include <generated/conf.h> instead of adding CPP flags d
core: create conf.h from CFG_* Makefile variables
Simplify the use of makefile configuration variables from C code. With this patch, one can #include <generated/conf.h> instead of adding CPP flags definitions to the .mk files.
- CFG_* variables that are set to 'y' are converted to: #define CFG_FOO 1 - Undefined variables, or variables set to 'n' remain undefined in conf.h - CFG_* variables with any other value are output unchanged
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| f8baf582 | 07-Nov-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
core/core.mk, mk/config.mk: delete unused definitions
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> |
| 37d6ae92 | 28-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
core_tlb_maintenance(TLBINV_BY_ASID) is on
It also contains code style cleanup
Signed-off-by: Pascal Brand <pascal.brand@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
core_tlb_maintenance(TLBINV_BY_ASID) is on
It also contains code style cleanup
Signed-off-by: Pascal Brand <pascal.brand@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| 2709b67f | 07-Nov-2014 |
123 <z08053520@126.com> |
1.Fix user heap corruption by usr_params
Avoids corruption of heap by usr_params, and vice versa, when stack_size+heap_size is a multiple of 1 MiB. usr_params was previously unintentionally stored j
1.Fix user heap corruption by usr_params
Avoids corruption of heap by usr_params, and vice versa, when stack_size+heap_size is a multiple of 1 MiB. usr_params was previously unintentionally stored just outside the allocated stack. If there is not enough padding between stack and heap, usr_params will overwrite a part of the heap.
2.remove the 1MB limitation of heap_size+stack_size
Signed-off-by: "Rock P. Zhang" <RockPZhang@viatech.com.cn> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| 5359d7e1 | 06-Nov-2014 |
Pascal Brand <pascal.brand@st.com> |
Fix sections to map
As highlighted by z08053520@126.com, MMU mapping functions tee_mmu_is_mapped() and tee_mmu_map_io() wrongly compute the number of sections to check / map.
This patch checks / ma
Fix sections to map
As highlighted by z08053520@126.com, MMU mapping functions tee_mmu_is_mapped() and tee_mmu_map_io() wrongly compute the number of sections to check / map.
This patch checks / maps only the relevant sections.
Signed-off-by: Pascal Brand <pascal.brand@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: SkyZhang <z08053520@126.com> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| eec3eb88 | 06-Nov-2014 |
Pascal Brand <pascal.brand@st.com> |
Update github.md with tag to be added
Signed-off-by: Pascal Brand <pascal.brand@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> |
| 76f59873 | 03-Nov-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
build: print 'AS' instead of 'CC' when input file is assembly
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklan
build: print 'AS' instead of 'CC' when input file is assembly
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 65b5d065 | 03-Nov-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
thread: remove THREAD_LOCAL_EXCEPTION_SPS
Removes unused THREAD_LOCAL_EXCEPTION_SPS code.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.
thread: remove THREAD_LOCAL_EXCEPTION_SPS
Removes unused THREAD_LOCAL_EXCEPTION_SPS code.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU virt platform) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| 3d34e125 | 30-Oct-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Add support for $(cflags-lib-y)
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.o
Add support for $(cflags-lib-y)
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| 699f50a8 | 28-Oct-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Add support for $(lib-use-ld) and $(lib-ldflags)
When building a static library, set lib-use-ld := y to use $(LD) instead of $(AR). Link flags may be passed in $(lib-ldflags).
Signed-off-by: Jerome
Add support for $(lib-use-ld) and $(lib-ldflags)
When building a static library, set lib-use-ld := y to use $(LD) instead of $(AR). Link flags may be passed in $(lib-ldflags).
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| ffe04039 | 20-Aug-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Add crypto provider internal API
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.
Add crypto provider internal API
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| af0c87ec | 22-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Add script for setting up QEMU and OP-TEE
The script will clone and download all needed gits to run OP-TEE using a QEMU with TrustZone patches.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.
Add script for setting up QEMU and OP-TEE
The script will clone and download all needed gits to run OP-TEE using a QEMU with TrustZone patches.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (Ubuntu 14.01 64-bit) Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (Linux Mint 17 64-bit)
show more ...
|
| 90e7497e | 16-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
plat-vexpress: add juno flavor
Adds support for ARM Versatile Express V2M-Juno by adding flavor juno.
UART3 (SoC UART1) is used as console uart instead of UART1 (FPGA UART1) which is used by TSP in
plat-vexpress: add juno flavor
Adds support for ARM Versatile Express V2M-Juno by adding flavor juno.
UART3 (SoC UART1) is used as console uart instead of UART1 (FPGA UART1) which is used by TSP in ARM Trusted Firmware. UART3 is used for OP-TEE since that uart is easily accessible on the Juno board, while UART0 and UART1 only are accessible via headers on the motherboard.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (Juno and FVP) Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| d19e6cbe | 17-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
uart: add baudrate and clock freqency to uart_init
Adds baudrate and clock frequency as agruments to uart_init().
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand
uart: add baudrate and clock freqency to uart_init
Adds baudrate and clock frequency as agruments to uart_init().
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 7d657278 | 03-Nov-2014 |
Pascal Brand <pascal.brand@st.com> |
Travis: checkpatch: do not warn on file addition/removal
Signed-off-by: Pascal Brand <pascal.brand@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jero
Travis: checkpatch: do not warn on file addition/removal
Signed-off-by: Pascal Brand <pascal.brand@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 4e4547c8 | 30-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Rename teesmc_st.h to teesmc_optee.h
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU virt platform) Reviewed-by: Pascal Brand <p
Rename teesmc_st.h to teesmc_optee.h
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU virt platform) Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 71767a5c | 29-Oct-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Support PLATFORM=<platform>-<flavor>
When $(PLATFORM) contains a hyphen, parse it as $(PLATFORM)-$(PLATFORM_FLAVOR). Then, one can use: $ make PLATFORM=vexpress-fvp ... instead of: $ make PLATFORM=v
Support PLATFORM=<platform>-<flavor>
When $(PLATFORM) contains a hyphen, parse it as $(PLATFORM)-$(PLATFORM_FLAVOR). Then, one can use: $ make PLATFORM=vexpress-fvp ... instead of: $ make PLATFORM=vexpress PLATFORM_FLAVOR=fvp ...
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 73d6c3ba | 27-Oct-2014 |
Joakim Bech <joakim.bech@linaro.org> |
Digest operations now supports NULL arguments
Hash algorithms should support NULL arguments and zero length strings. Following changes will make is possible to call TEE_DigestUpdate and TEE_DigestDo
Digest operations now supports NULL arguments
Hash algorithms should support NULL arguments and zero length strings. Following changes will make is possible to call TEE_DigestUpdate and TEE_DigestDoFinal interchangeably.
Following combinations are now working. ---------------------------------------- | TEE_DigestUpdate | TEE_DigestDoFinal | ---------------------------------------- | NULL | NULL | | NULL | MESSAGE | | MESSAGE | NULL | | MESSAGE | MESSAGE | | N/A | NULL | | N/A | MESSAGE | ----------------------------------------
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (FVP) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| 14a1938c | 28-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
Less traces in Travis
Verbose of tar is removed so that the complete build trace is available in the Travis console, without having to look at the raw data.
Reviewed-by: Jens Wiklander <jens.wiklan
Less traces in Travis
Verbose of tar is removed so that the complete build trace is available in the Travis console, without having to look at the raw data.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 2e4f9ff6 | 20-Oct-2014 |
Joakim Bech <joakim.bech@linaro.org> |
TA-dev-kit: build TA with -mfloat-abi=soft
Solves the same problem as in commit e46048ea67f7...
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.or
TA-dev-kit: build TA with -mfloat-abi=soft
Solves the same problem as in commit e46048ea67f7...
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 9e9234fc | 21-Oct-2014 |
Thierry BINIGUER <thierry.biniguer@st.com> |
Fix to finalize mac compute when there is not a last message chunk.
Code implemented in TAs may need to call TEE_MACComputeFinal, without last message chunk.
Reviewed-by: Jens Wiklander <jens.wikla
Fix to finalize mac compute when there is not a last message chunk.
Code implemented in TAs may need to call TEE_MACComputeFinal, without last message chunk.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Tested-by: Thierry BINIGUER <thierry.biniguer@st.com> Reviewed-by: Pascal BRAND <pascal.brand@st.com> Tested-by: Etienne CARRIERE <etienne.carriere@st.com> Reviewed-by: Etienne CARRIERE <etienne.carriere@st.com> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 106d8aa6 | 23-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
core: generic buffer inside/outside/intersect routine
Remove multiple implementation of "is buffer inside a buffer" and friends and rely on a generic core_is_buffer_inside/outside/intersect().
Revi
core: generic buffer inside/outside/intersect routine
Remove multiple implementation of "is buffer inside a buffer" and friends and rely on a generic core_is_buffer_inside/outside/intersect().
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 54e04708 | 23-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
Move tee_misc in generic part
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| b7fc217f | 23-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
Cleanup
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| d49a58db | 20-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
libmpa: remove floating point calculations
Removes floating point calculations in libmap. The floating point calculations was unused but caused compile error when compiled with DEBUG=1.
Signed-off-
libmpa: remove floating point calculations
Removes floating point calculations in libmap. The floating point calculations was unused but caused compile error when compiled with DEBUG=1.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU virt platform)
show more ...
|