1 
2 /*
3  * Arm SCP/MCP Software
4  * Copyright (c) 2018-2021, Arm Limited and Contributors. All rights reserved.
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 
9 #ifndef MOD_APCONTEXT_H
10 #define MOD_APCONTEXT_H
11 
12 #include <fwk_id.h>
13 
14 #include <stddef.h>
15 #include <stdint.h>
16 
17 /*!
18  * \ingroup GroupModules Modules
19  * \defgroup GroupModuleAPContext AP Context
20  *
21  * \brief Application Processor (AP) context module.
22  *
23  * \details This module implements the AP context zero-initialization.
24  * \{
25  */
26 
27 /*!
28  * \brief AP context configuration data
29  */
30 struct mod_apcontext_config {
31     /*! Base address of the AP context */
32     uintptr_t base;
33 
34     /*! Size of the AP context */
35     size_t size;
36 
37     /*! Identifier of the clock this module depends on */
38     fwk_id_t clock_id;
39 };
40 
41 /*!
42  * \}
43  */
44 
45 #endif /* MOD_APCONTEXT_H */
46