Home
last modified time | relevance | path

Searched hist:"2 cdaaacbc1d6d409e10402bc8017bd71a433a5b8" (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/include/kernel/
H A Dtee_time.h2cdaaacbc1d6d409e10402bc8017bd71a433a5b8 Tue Nov 17 15:29:24 UTC 2015 Jerome Forissier <jerome.forissier@linaro.org> core: TEE_GetSystemTime() updates

- Set gpd.tee.systemTime.protectionLevel to 1000 when the time source
is the physical count register (CNTPCT), that is, when
CFG_SECURE_TIME_SOURCE_CNTPCT=y. The protection level value is moved
into the time_source struct for better modularity.
- When the time source is REE (CFG_SECURE_TIME_SOURCE_REE=y), make sure
that successive calls return increasing values as required by the GP
TEE Core Internal API v1.1.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
/optee_os/core/arch/arm/kernel/
H A Dtee_time_arm_cntpct.c2cdaaacbc1d6d409e10402bc8017bd71a433a5b8 Tue Nov 17 15:29:24 UTC 2015 Jerome Forissier <jerome.forissier@linaro.org> core: TEE_GetSystemTime() updates

- Set gpd.tee.systemTime.protectionLevel to 1000 when the time source
is the physical count register (CNTPCT), that is, when
CFG_SECURE_TIME_SOURCE_CNTPCT=y. The protection level value is moved
into the time_source struct for better modularity.
- When the time source is REE (CFG_SECURE_TIME_SOURCE_REE=y), make sure
that successive calls return increasing values as required by the GP
TEE Core Internal API v1.1.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
/optee_os/core/tee/
H A Dtee_svc.c2cdaaacbc1d6d409e10402bc8017bd71a433a5b8 Tue Nov 17 15:29:24 UTC 2015 Jerome Forissier <jerome.forissier@linaro.org> core: TEE_GetSystemTime() updates

- Set gpd.tee.systemTime.protectionLevel to 1000 when the time source
is the physical count register (CNTPCT), that is, when
CFG_SECURE_TIME_SOURCE_CNTPCT=y. The protection level value is moved
into the time_source struct for better modularity.
- When the time source is REE (CFG_SECURE_TIME_SOURCE_REE=y), make sure
that successive calls return increasing values as required by the GP
TEE Core Internal API v1.1.

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