Fix the path to the architecture-independent data
[staging/basesystem.git] / agl-basefiles / include / aglpath.h
1 /*
2  * @copyright Copyright (c) 2016-2019 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 /*
18  * common path
19  */
20
21 /* This definitions are matched as following document.
22  * eMMC Partition Specification V1.28
23  */
24
25 #ifndef _AGL_PATH_H_
26 #define _AGL_PATH_H_
27
28 /* Common path */
29
30 #define PF_ROOT                 "/"
31 #define PF_NV                   PF_ROOT"nv/"
32 #define PF_VAR                  PF_ROOT"var/"
33 #define PF_TMP                  PF_ROOT"tmp/"
34 #define PF_USR                  PF_ROOT"usr/"
35 #define PF_MNT                  PF_ROOT"mnt/"
36 #define PF_RAMD                 PF_ROOT"ramd/"
37 #define PF_ENVPARAM             PF_ROOT"env_param/"
38 #define PF_NVSYSTEM             PF_ROOT"nv_system/"
39
40 #define PF_SHM                  PF_TMP"shm/"
41 #define PF_SHARE                PF_USR"share/"
42 #define PF_P_SHARE              PF_USR"share/basesystem"
43
44 #define PF_SYS_BS               PF_NVSYSTEM"sys_bs/"
45
46 #define PF_SYS_BACKUP   PF_NV"backup/"
47 #define PF_SYS_NPP              PF_NV"npp/"
48
49 #define PF_NV_REPRO             PF_NV"repro/"
50 #define PF_NV_LOG               PF_NV"log/"
51 #define PF_NV_VUI               PF_NV"vui/"
52 #define PF_NV_NAVI              PF_NV"navi/"
53 #define PF_NV_TFF               PF_NV"tff/"
54 #define PF_NV_FULLBROWSER               PF_NV"fullbrowser/"
55 #define PF_NV__CWORD8_  PF_NV"_CWORD8_/"
56 #define PF_NV_MANUAL    PF_NV"manual/"
57 #define PF_NV_LOG2              PF_NV"log2/"
58 #define PF_NV_PTDATA            PF_NV"ptdata/"
59
60 #define PF_NV_NORACCESS         PF_NV_PTDATA"noraccess/"
61 #define PF_NV_SEC               PF_NV_PTDATA"sec/"
62 #define PF_NVPT_GRAPHICS                PF_NV_PTDATA"graphics/"
63 #define PF_NVPT_HMI             PF_NV_PTDATA"hmi/"
64 #define PF_NVPT_VEHICLE         PF_NV_PTDATA"vehicle/"
65 #define PF_NVPT_CONNECTIVITY            PF_NV_PTDATA"connectivity/"
66 #define PF_NVPT_WLAN            PF_NV_PTDATA"wlan/"
67 #define PF_NVPT_SI              PF_NV_PTDATA"si/"
68
69 #define PF_NVLOG_AGLLOG         PF_NV_LOG"agllog/"
70 #define PF_NVLOG_WORK           PF_NV_LOG"work/"
71 #define PF_NVLOG_AWLOG          PF_NV_LOG2"awlog/"
72 #define PF_NVLOG_CORE           PF_NV_LOG2"core/"
73
74
75 /* Component domain */
76
77 #define DOM_GRAPHICS            "graphics"
78 #define DOM_SOUND               "sound"
79 #define DOM_NS_STORAGE          "ns_storage"
80 #define DOM_NS_IMAGESTORAGE     "ns_imagestorage"
81 #define DOM_BS                  "bs"
82 #define DOM__CWORD24_           "_CWORD24_"
83 #define DOM_HMI                 "hmi"
84 #define DOM_WLAN                "wlan"
85 #define DOM_BT                  "bt"
86 #define DOM_CINEMO              "cinemo"
87 #define DOM_MEDIASRV            "mediasrv"
88 #define DOM_CONTENTMGR          "contentmgr"
89 #define DOM_USBAUDIO            "usbaudio"
90 #define DOM_CDDVD               "cddvd"
91 #define DOM_AV                  "av"
92 #define DOM_DATASRV             "datasrv"
93 #define DOM_RADIO               "radio"
94 #define DOM_BTOOTH              "Bluetooth"
95 #define DOM__CWORD57_           "_CWORD57_"
96 #define DOM_REMOTESERVICE       "remoteservice"
97 #define DOM_CONNECTIVITY        "connectivity"
98 #define DOM_NAVIGATION          "navigation"
99 #define DOM_VEHICLE             "vehicle"
100 #define DOM_ROMACCESS           "romaccess"
101 #define DOM_AUDIOMGR            "audiomgr"
102 #define DOM_BACKUP                      "backup"
103 #define DOM_NPP         "npp"
104
105 #define DOM_DCMSERVICE          "dcmservice"
106 #define DOM_NETWORKMANAGER      "NetworkManager"
107
108 /* Others */
109 #define DOM_AGLLOG              "agllog"
110 #define DOM_AWLOG               "awlog"
111 #define DOM_WORK                "work"
112 #define DOM_CORE                "core"
113
114 #define DOM_NORACCESS           "noraccess"
115 #define DOM_SEC                 "sec"
116 #define DOM_DIAG                "diag"
117
118
119 /* For WebDAV */
120
121 #define PF_EXP_INTR                             PF_NV"export/Internal/"
122 #define PF_EXPINT_AUDIO                 PF_EXP_INTR"Audio/"
123 #define PF_EXPINT_DATASERV              PF_EXP_INTR"DataService/"
124 #define PF_EXPINT_SCREENCAP             PF_EXP_INTR"ScreenCapture/"
125 #define PF_EXPINT_REPRO                 PF_EXP_INTR"Repro/"
126 #define PF_EXPINT_VEHICLEINFO   PF_EXP_INTR"VehicleInfoDraw/"
127 #define PF_EXPINT_VEHICLEPARA   PF_EXP_INTR"VehicleParameter/"
128 #define PF_EXPINT_VR                    PF_EXP_INTR"VR/"
129 #define PF_EXPINT_NAVI                  PF_EXP_INTR"Navi/"
130 #define PF_EXPINT_TFF                   PF_EXP_INTR"TFF/"
131 #define PF_EXPINT_OSS                   PF_EXP_INTR"OSS/"
132 #define PF_EXPINT_SMARTPHONE            PF_EXP_INTR"Smartphone/"
133
134 /* For RAMD */
135 #define PF_RAMD_LOG                             PF_RAMD"log/"
136 #define PF_RAMD_BKUP                    PF_RAMD"bkup/"
137
138 #define PF_RAMD_AWLOG                   PF_RAMD_LOG"awlog/"
139 #define PF_RAMD_AGLLOG                  PF_RAMD_LOG"agllog/"
140
141 #define PF_RAMD_COMMUNICATION   PF_RAMD_AGLLOG"communication/"
142 #define PF_RAMD_RADIO                   PF_RAMD_AGLLOG"radio/"
143 #define PF_RAMD_CONNECTIVITY    PF_RAMD_AGLLOG"connectivity/"
144 #define PF_RAMD_DIAG            PF_RAMD_AGLLOG"diag/"
145 #define PF_RAMD_SYSLOG          PF_RAMD_AGLLOG"syslog/"
146 #define PF_RAMD_APPFW           PF_RAMD_AGLLOG"appfw/"
147
148
149
150 /* For Loopback */
151 #define PF_MNTLOOP                              PF_ROOT"mnt_loop/"
152
153 #define PF_MNTLOOP_AW0                  PF_MNTLOOP"loopaw0/"
154 #define PF_MNTLOOP_AW1                  PF_MNTLOOP"loopaw1/"
155 #define PF_MNTLOOP_AW2                  PF_MNTLOOP"loopaw2/"
156 #define PF_MNTLOOP_AW3                  PF_MNTLOOP"loopaw3/"
157 #define PF_MNTLOOP_AW4                  PF_MNTLOOP"loopaw4/"
158 #define PF_MNTLOOP_AW5                  PF_MNTLOOP"loopaw5/"
159 #define PF_MNTLOOP_AW6                  PF_MNTLOOP"loopaw6/"
160 #define PF_MNTLOOP_AW7                  PF_MNTLOOP"loopaw7/"
161 #define PF_MNTLOOP_AW8                  PF_MNTLOOP"loopaw8/"
162 #define PF_MNTLOOP_AW9                  PF_MNTLOOP"loopaw9/"
163 #define PF_MNTLOOP_AW10                 PF_MNTLOOP"loopaw10/"
164 #define PF_MNTLOOP_AW11                 PF_MNTLOOP"loopaw11/"
165 #define PF_MNTLOOP_AW12                 PF_MNTLOOP"loopaw12/"
166 #define PF_MNTLOOP_AW13                 PF_MNTLOOP"loopaw13/"
167 #define PF_MNTLOOP_AW14                 PF_MNTLOOP"loopaw14/"
168 #define PF_MNTLOOP_AW15                 PF_MNTLOOP"loopaw15/"
169 #define PF_MNTLOOP_AW16                 PF_MNTLOOP"loopaw16/"
170 #define PF_MNTLOOP_AW17                 PF_MNTLOOP"loopaw17/"
171 #define PF_MNTLOOP_AW18                 PF_MNTLOOP"loopaw18/"
172 #define PF_MNTLOOP_AW19                 PF_MNTLOOP"loopaw19/"
173 #define PF_MNTLOOP_AW20                 PF_MNTLOOP"loopaw20/"
174
175 /* For Tmpfs mount */
176 #define PF_MNTTMPFS                     PF_ROOT"mnt_tmpfs/"
177 #define PF_MNTTMPFS_AW0                 PF_MNTTMPFS"tmpfsaw0/"
178
179
180 /* DONT USE FOLLOWING DEFINITION !! */
181 /* These will be deleted in the future */
182
183 #define PF_NV_P3        PF_NV"p3/"
184 #define PF_NV_P4        PF_NV"p4/"
185 #define PF_NV_P5        PF_NV"p5/"
186 #define PF_NV_P6        PF_NV"p6/"
187
188 #define PF_NPP          PF_NV_P3"npp/"
189 #define PF_BS           PF_NV_P3"bs/"
190
191 #define DOM__CWORD8_            "_CWORD8_"
192 #define DOM_BLUETOOTH           "bluetooth"
193 #define DOM_VR                          "vr"
194 #define DOM_ENTUNE                      "entune"
195
196 #define PF_RAMD_GRAPHICS                PF_RAMD_BKUP"graphics/"
197
198 #define PF_EXPINT_TRAFFIC               PF_EXP_INTR"Traffic/"
199
200 #endif/* _AGL_PATH_H_ */