blob: 9d08dad4b7f8733263e0100774b27aa3ff16bec2 [file] [log] [blame]
Anson Huangb6294132018-06-05 16:05:59 +08001/*
2 * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef _SC_SCFW_H
8#define _SC_SCFW_H
9
10/* Includes */
11
12#include <types.h>
13
14#ifdef __cplusplus
15 #define __I volatile /*!< Defines 'read only' permissions */
16#else
17 #define __I volatile const /*!< Defines 'read only' permissions */
18#endif
19#define __O volatile /*!< Defines 'write only' permissions */
20#define __IO volatile /*!< Defines 'read / write' permissions */
21
22/*!
23 * This type is used to declare a handle for an IPC communication
24 * channel. Its meaning is specific to the IPC implementation.
25 */
26typedef uint64_t sc_ipc_t;
27
28/*!
29 * This type is used to declare an ID for an IPC communication
30 * channel. For the reference IPC implementation, this ID
31 * selects the base address of the MU used for IPC.
32 */
33typedef uint64_t sc_ipc_id_t;
34
35
36#endif /* _SC_SCFW_H */
37