Add gitlab issue/merge request templates
[staging/basesystem.git] / service / system / task_manager / include-share / tskm_type_local.h
1 /*
2  * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef TASK_MANAGER_INCLUDE_SHARE_TSKM_TYPE_LOCAL_H_
18 #define TASK_MANAGER_INCLUDE_SHARE_TSKM_TYPE_LOCAL_H_
19
20 #define NTFY_SS_TaskManager_Availability  SS_TASK_MANAGER"/Availability"
21
22 //*******************************************************
23 //      Legacy types:
24 //       Definition is retained because it is referenced by another module
25 //******************************************************
26
27 // Shared LOG with version upgrade
28 #define STATEMGR__CWORD69_LOG_SIZE 176   /* STATEMGR__CWORD69_LOG  */
29 typedef struct {
30   uint8_t old_Ver[8];
31   uint8_t new_Ver[8];
32 } STATEMGR__CWORD69_LOG_VERSION_T;
33
34 typedef struct {
35   STATEMGR__CWORD69_LOG_VERSION_T ver;
36   uint8_t status;
37   uint8_t dummy[3];
38 } STATEMGR__CWORD69_LOG_VUPINFO_T;
39
40 typedef struct {
41   uint32_t seqnum; /* Set value (for chequence check) */
42   uint32_t normalnum; /* Set value (for route check) */
43   uint32_t errornum; /* Set value (for NG check)  */
44 } STATEMGR__CWORD69_LOG_PROC;
45
46 typedef struct {
47   STATEMGR__CWORD69_LOG_VUPINFO_T VerInfo[7]; /* Store version info */
48   STATEMGR__CWORD69_LOG_PROC proc[3]; /* Store logs for analysis */
49 } STATEMGR__CWORD69_LOG;
50
51 #endif  // TASK_MANAGER_INCLUDE_SHARE_TSKM_TYPE_LOCAL_H_
52