1 /*
2  * Copyright (c) 2023-2024 Arm Limited. All rights reserved.
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  * \file host_device_definition.h
19  * \brief The structure definitions in this file are exported based on the
20  * peripheral definitions from device_cfg.h.
21  */
22 
23 #ifndef __HOST_DEVICE_DEFINITION_H__
24 #define __HOST_DEVICE_DEFINITION_H__
25 
26 #include "host_device_cfg.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 /* Message Handling Units (MHU) */
33 #ifdef MHU_V3_AP_MONITOR_TO_RSE
34 #include "mhu_v3_x.h"
35 extern struct mhu_v3_x_dev_t MHU_AP_MONITOR_TO_RSE_DEV;
36 #endif
37 
38 #ifdef MHU_V3_RSE_TO_AP_MONITOR
39 #include "mhu_v3_x.h"
40 extern struct mhu_v3_x_dev_t MHU_RSE_TO_AP_MONITOR_DEV;
41 #endif
42 
43 #ifdef MHU_V3_SCP_TO_RSE
44 #include "mhu_v3_x.h"
45 extern struct mhu_v3_x_dev_t MHU_V3_SCP_TO_RSE_DEV;
46 #endif
47 
48 #ifdef MHU_V3_RSE_TO_SCP
49 #include "mhu_v3_x.h"
50 extern struct mhu_v3_x_dev_t MHU_V3_RSE_TO_SCP_DEV;
51 #endif
52 
53 #ifdef RD_SYSCTRL_NI_TOWER
54 #include "ni_tower_lib.h"
55 extern struct ni_tower_dev SYSCTRL_NI_TOWER_DEV;
56 #endif
57 
58 #ifdef RD_PERIPH_NI_TOWER
59 #include "ni_tower_lib.h"
60 extern struct ni_tower_dev PERIPH_NI_TOWER_DEV;
61 #endif
62 
63 #ifdef HOST_SCP
64 #include "mscp_drv.h"
65 extern struct mscp_dev_t HOST_SCP_DEV;
66 #endif
67 
68 #ifdef HOST_MCP
69 #include "mscp_drv.h"
70 extern struct mscp_dev_t HOST_MCP_DEV;
71 #endif
72 
73 #ifdef HOST_SMMU
74 #include "smmu_v3_drv.h"
75 extern struct smmu_dev_t HOST_SYSCTRL_SMMU_DEV;
76 #endif
77 
78 #ifdef __cplusplus
79 }
80 #endif
81 
82 #endif  /* __HOST_DEVICE_DEFINITION_H__ */
83