History log of /optee_os/ (Results 8101 – 8125 of 8382)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
20c7472e23-Mar-2015 etienne carriere <etienne.carriere@st.com>

core/arm32: fix TA cache services

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

core/arm32: fix TA cache services

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 ...

e491318a04-Feb-2015 Jens Wiklander <jens.wiklander@linaro.org>

arm32: separate ARM32 specific

* ARM32 specific C code is broken out and surrounded by #ifdef ARM32
* Some small architectural changes in thread and abort handling to
prepare for Aarch64

Signed-o

arm32: separate ARM32 specific

* ARM32 specific C code is broken out and surrounded by #ifdef ARM32
* Some small architectural changes in thread and abort handling to
prepare for Aarch64

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP)
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)

show more ...

ed4e28ba03-Apr-2015 Pascal Brand <pascal.brand@st.com>

Fix runtime issue when CFG_TEE_CORE_USER_MEM_DEBUG=0

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Pascal Brand <pasc

Fix runtime issue when CFG_TEE_CORE_USER_MEM_DEBUG=0

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU)
Signed-off-by: Pascal Brand <pascal.brand@st.com>

show more ...

6c209a3c19-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

libutils: make bget 64bit ready

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP)
Reviewed-by: Pascal Brand <pascal.brand@li

libutils: make bget 64bit ready

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP)
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)

show more ...

61ea19fd19-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

arm32: update types to be 64bit ready

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>

98e62d7c19-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

arm32: rename LOCK and UNLOCK

Renames defines LOCK and UNLOCK to SPINLOCK_LOCK and SPINLOCK_UNLOCK
respectively. The definitions are also moved to tz_proc.h.

Signed-off-by: Jens Wiklander <jens.wik

arm32: rename LOCK and UNLOCK

Renames defines LOCK and UNLOCK to SPINLOCK_LOCK and SPINLOCK_UNLOCK
respectively. The definitions are also moved to tz_proc.h.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>

show more ...

851aa85819-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

Fix some 64bit printf warnings

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>

0d711d8219-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

arm32: dynamic user va range

core_mmu_get_user_va_range() selects user va range. No change in user TA
va address when configured with V7 MMU tables.

When configured with LPAE only use TTBR0. The to

arm32: dynamic user va range

core_mmu_get_user_va_range() selects user va range. No change in user TA
va address when configured with V7 MMU tables.

When configured with LPAE only use TTBR0. The top L0 table is CPU
specific with all entries common except one which is used when mapping
user TAs. User TA va range is dependent on the first unused L0 entry.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP)
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)

show more ...

7f74c64a01-Apr-2015 Pascal Brand <pascal.brand@st.com>

Update ABI-32bits and v1.1 uint32_t changes

Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
Signed-off-by: Pascal Brand <pasc

Update ABI-32bits and v1.1 uint32_t changes

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 ...

04ab7fe326-Mar-2015 Joakim Bech <joakim.bech@linaro.org>

TA-dev-kit: Adds usage of the $(sm) variable

Making use of the $(sm) variable that was missing in a couple of places
when building Trusted Applications. Also the CROSS_COMPILER flag for
building TA'

TA-dev-kit: Adds usage of the $(sm) variable

Making use of the $(sm) variable that was missing in a couple of places
when building Trusted Applications. Also the CROSS_COMPILER flag for
building TA's has been updated since it didn't propagate correctly.

This patch also contains a fix coming from Paul Swan that updates the
script "fix_ta_binary" which makes it possible to build Trusted
Applications using MinGW32 build on Windows.

Signed-off-by: Joakim Bech <joakim.bech@linaro.org>
Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU)
Signed-off-by: Paul Swan <paswan@microsoft.com>
Tested-by: Paul Swan <paswan@microsoft.com> (ST build only)

Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>

show more ...

6db75bd201-Apr-2015 Pascal Brand <pascal.brand@st.com>

Remove __noreturn from TEE_Panic prototype

According to the Global Plaform Internal Core API v1.1, the prototype
of the function TEE_Panic must be
void TEE_Panic(TEE_Result panicCode);

Reviewed

Remove __noreturn from TEE_Panic prototype

According to the Global Plaform Internal Core API v1.1, the prototype
of the function TEE_Panic must be
void TEE_Panic(TEE_Result panicCode);

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 ...

ae38eb1f19-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

arm32: manage stack unwinding in thread module

Renames tee_svc_enter_user_mode() and tee_svc_unwind_enter_user_mode() to
thread_enter_user_mode() and thread_unwind_user_mode() respectively. The
func

arm32: manage stack unwinding in thread module

Renames tee_svc_enter_user_mode() and tee_svc_unwind_enter_user_mode() to
thread_enter_user_mode() and thread_unwind_user_mode() respectively. The
functions are also moved from the tee/arch_svc* group to kernel/thread*.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>

show more ...

1f60363a19-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

select base types based on ILP32 and LP64 defines

* Selects base types base on the __ILP32__ and __LP64__ defines
* Fixes warnings from change of base types

Signed-off-by: Jens Wiklander <jens.wikl

select base types based on ILP32 and LP64 defines

* Selects base types base on the __ILP32__ and __LP64__ defines
* Fixes warnings from change of base types

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>

show more ...

5c550d5919-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

thread_check_canaries: expand assert macro

Expands the ASSERT_STACK_CANARIES in thread_check_canaries() to
make it easier to see which in stack the canary is corrupted.

Signed-off-by: Jens Wiklande

thread_check_canaries: expand assert macro

Expands the ASSERT_STACK_CANARIES in thread_check_canaries() to
make it easier to see which in stack the canary is corrupted.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>

show more ...

374322b619-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

tee_time_arm_cntpct.c: remove do_div()

Remove do_div from tee_time_arm_cntpct.c now that we support 64-bit
divisions directly.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by:

tee_time_arm_cntpct.c: remove do_div()

Remove do_div from tee_time_arm_cntpct.c now that we support 64-bit
divisions directly.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>

show more ...

6fb90b6024-Mar-2015 Jerome Forissier <jerome.forissier@linaro.org>

plat-vexpress: delete unused defines

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

120c43ad24-Mar-2015 Jerome Forissier <jerome.forissier@linaro.org>

Convert configuration variables to CFG_* name

- Rename configuration variables that do not follow the CFG_* convention
- Delete useless -D<VAR> compiler flags
- Slightly reformat mk/conf.mk, add com

Convert configuration variables to CFG_* name

- Rename configuration variables that do not follow the CFG_* convention
- Delete useless -D<VAR> compiler flags
- Slightly reformat mk/conf.mk, add comments

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

8a1e7b8930-Mar-2015 Jerome Forissier <jerome.forissier@linaro.org>

Rename CFG_TRACE_LEVEL to TRACE_LEVEL

The trace level macro is not meant to be configured directly, it takes its
value from CFG_TEE_CORE_LOG_LEVEL (when the TEE core is compiled) or from
CFG_TEE_TA_

Rename CFG_TRACE_LEVEL to TRACE_LEVEL

The trace level macro is not meant to be configured directly, it takes its
value from CFG_TEE_CORE_LOG_LEVEL (when the TEE core is compiled) or from
CFG_TEE_TA_LOG_LEVEL (when user libraries are compiled). Therefore it should
not have a CFG_ prefix.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

a033b12719-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

core: add helpers to manage maskable cpu exception

Adds helpers thread_{get,set,mask,unmask}_exceptions() to manage
the AIF bits of CPSR.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
T

core: add helpers to manage maskable cpu exception

Adds helpers thread_{get,set,mask,unmask}_exceptions() to manage
the AIF bits of CPSR.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)

show more ...

8d46c9b519-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

vfp.c: add missing license header

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>

153c495419-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

core: split arm32.h

Splits arm32.h into one ARM generic arm.h and one ARM32 specific arm32.h.
arm32.h should not be included directly, arm.h should be included instead.

Signed-off-by: Jens Wiklande

core: split arm32.h

Splits arm32.h into one ARM generic arm.h and one ARM32 specific arm32.h.
arm32.h should not be included directly, arm.h should be included instead.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>

show more ...

db886a7f23-Mar-2015 Jerome Forissier <jerome.forissier@linaro.org>

UART cleaning

- Rename core/include/drivers/{uart.h -> pl011.h} and
core/drivers/{uart.c -> pl011.c}. Use pl011_ prefix.
- Remove WITH_UART_DRV, which was used to enable pl011 on vexpress platform

UART cleaning

- Rename core/include/drivers/{uart.h -> pl011.h} and
core/drivers/{uart.c -> pl011.c}. Use pl011_ prefix.
- Remove WITH_UART_DRV, which was used to enable pl011 on vexpress platforms
and sunxi_uart on sunxi platform. Replace it with CFG_PL011 and
CFG_SUNXI_UART.
- Move platform-specific (STM) code in core/arch/arm32/tee/init.c (which
was guarded by #ifndef WITH_UART_DRV) to core/arch/arm32/plat-stm/tz_init.S.
- Move core/arch/arm32/include/kernel/asc.h to core/arch/arm32/plat-stm.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (FVP)
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 ...

86ffc42017-Mar-2015 SY Chiu <sy.chiu@linaro.org>

Added new interface in PRNG Hal to inject entropy

- Added add_entropy interface in crypto_ops.prng, and expose
new interface tee_prng_add_entropy() for platform vendor to
inject entropy.
- Injec

Added new interface in PRNG Hal to inject entropy

- Added add_entropy interface in crypto_ops.prng, and expose
new interface tee_prng_add_entropy() for platform vendor to
inject entropy.
- Inject entropy using current timestamp every time
when a session is opened or closed.

Signed-off-by: SY Chiu <sy.chiu@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: SY Chiu <sy.chiu@linaro.org> (FVP,QEMU)
Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU)

show more ...

7a0e142820-Mar-2015 Pascal Brand <pascal.brand@st.com>

Define CFG_ARM32_user_ta on stm and sunxi

Signed-off-by: Pascal Brand <pascal.brand@st.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Pascal Brand <pascal.brand@linaro.org>

Define CFG_ARM32_user_ta on stm and sunxi

Signed-off-by: Pascal Brand <pascal.brand@st.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)

show more ...

cf458f1319-Mar-2015 Jens Wiklander <jens.wiklander@linaro.org>

libutils: rename aeabi files

Renames aeabi files to reflect the processor mode (ARM32) and instruction
set used in assembly files (A32).

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Te

libutils: rename aeabi files

Renames aeabi files to reflect the processor mode (ARM32) and instruction
set used in assembly files (A32).

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>

show more ...

1...<<321322323324325326327328329330>>...336