Skip to content

Commit

Permalink
tee_client_api: Correct max shared memory size define
Browse files Browse the repository at this point in the history
Signed-off-by: Lukasz Kostyra <l.kostyra@samsung.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
  • Loading branch information
Lukasz Kostyra authored and jforissier committed May 22, 2017
1 parent 4d5cf67 commit 9faeb1b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions public/tee_client_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@

/**
* Defines the maximum size of a single shared memory block, in bytes, of both
* API allocated and API registered memory. The size is currently set to
* 512 * kB (512 * 1024).
* API allocated and API registered memory. There is no good value to put here
* (limits depend on specific config used), so this define does not provide any
* restriction in this implementation.
*/
#define TEEC_CONFIG_SHAREDMEM_MAX_SIZE 0x8000
#define TEEC_CONFIG_SHAREDMEM_MAX_SIZE ULONG_MAX

/**
* Flag constants indicating the type of parameters encoded inside the
Expand Down

0 comments on commit 9faeb1b

Please sign in to comment.