You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These functions are available to any Trusted Application defined with the flag TA_FLAG_CACHE_MAINTENANCE sets on. When not set, each function returns the error code TEE_ERROR_NOT_SUPPORTED.
20
+
21
+
Within these extensions, a Trusted Application is able to operate on the data cache, with the following specification:
22
+
23
+
Function | Description
24
+
:---------------------|:----------
25
+
TEE_CacheClean() | Write back to memory any dirty data cache lines. The line is marked as not dirty. The valid bit is unchanged
26
+
TEE_CacheFlush() | Purges any valid data cache lines. Any dirty cache lines are first written back to memory, then the cache line is invalidated.
27
+
TEE_CacheInvalidate() | Invalidate any valid data cache lines. Any dirty line are not written back to memory.
28
+
29
+
In the following 2 cases, the error code TEE_ERROR_ACCESS_DENIED is returned:
30
+
* the memory range has not the write access, that is TEE_MEMORY_ACCESS_WRITE is not set.
0 commit comments