BOLOS TEE
bolos_sharedmemory.h
Go to the documentation of this file.
1 /*
2 *******************************************************************************
3 * BOLOS TEE
4 * (c) 2016, 2017 Ledger
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 ********************************************************************************/
18 
31 #ifndef __BOLOS_SHAREDMEMORY_H__
32 #define __BOLOS_SHAREDMEMORY_H__
33 
41 
49 size_t bls_sharedmemory_read(const uint8_t *parameters, uint32_t offset, size_t parametersLength);
50 
58 size_t bls_sharedmemory_write(const uint8_t *parameters, uint32_t offset, size_t parametersLength);
59 
60 #endif // __BOLOS_SHAREDMEMORY_H__
int bls_sharedmemory_get_size(void)
Get the size of the shared memory area.
size_t bls_sharedmemory_read(const uint8_t *parameters, uint32_t offset, size_t parametersLength)
Read data from the shared memory area.
size_t bls_sharedmemory_write(const uint8_t *parameters, uint32_t offset, size_t parametersLength)
Write data to the shared memory area.