Mistake on this page? Email us
pal.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // Copyright 2016-2019 ARM Ltd.
3 //
4 // SPDX-License-Identifier: Apache-2.0
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 
19 #ifndef _PAL_H
20 #define _PAL_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 //includes for common headers in PAL
30 
31 //includes for modules headers.
42 
50 //declarations for global init and destroy of PAL
51 
57 palStatus_t pal_init(void);
58 
63 int32_t pal_destroy(void);
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 
70 #endif //_PAL_H
int32_t pal_destroy(void)
PAL destruction. This function calls each module's destroy function (if one exists) to free resources...
PAL time. This file contains the secure time APIs and is a part of the PAL service API...
PAL network. This file contains the network APIs and it is a part of the PAL service API...
PAL Configuration. This file contains PAL configuration information.
PAL RTOS. This file contains the real-time OS APIs and is a part of the PAL service API...
PAL TLS/DTLS. This file contains TLS and DTLS APIs and is a part of the PAL service API...
PAL entropy. This file contains entropy injection and is part of the PAL API.
PAL types. This file contains PAL generic types.
PAL errors. This file contains enumeration for PAL errors. These errors are returned to the service l...
PAL update. This file contains the firmware update APIs and is a part of the PAL service API...
PAL file system. This file contains the file system APIs and is part of the PAL service API...
PAL macros. This file contains macros defined by PAL for constant values and network purposes...
PAL ROT. This file contains the ROT (root of trust) API.
palStatus_t pal_init(void)
PAL initialization. This function calls each module's initialization function (if one exists) to allo...
int32_t palStatus_t
Definition: pal_types.h:55
PAL DRBG. This file contains the real-time OS APIs and is a part of the PAL service API...