blob: a169f88c56af5fce067b6c9195997a2507a878b9 [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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef SCI_SCFW_H
8#define SCI_SCFW_H
Anson Huangb6294132018-06-05 16:05:59 +08009
10/* Includes */
11
Antonio Nino Diaz4b32e622018-08-16 16:52:57 +010012#include <stdint.h>
Anson Huangb6294132018-06-05 16:05:59 +080013
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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000036#endif /* SCI_SCFW_H */