diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/trusty/trusty_ipc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/trusty/trusty_ipc.h b/include/linux/trusty/trusty_ipc.h index beabc3f3e..da785e98d 100644 --- a/include/linux/trusty/trusty_ipc.h +++ b/include/linux/trusty/trusty_ipc.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (C) 2015 Google, Inc. | 2 | * Copyright (C) 2015 Google, Inc. |
| 3 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. | ||
| 3 | * | 4 | * |
| 4 | * This software is licensed under the terms of the GNU General Public | 5 | * This software is licensed under the terms of the GNU General Public |
| 5 | * License version 2, as published by the Free Software Foundation, and | 6 | * License version 2, as published by the Free Software Foundation, and |
| @@ -14,6 +15,13 @@ | |||
| 14 | #ifndef __LINUX_TRUSTY_TRUSTY_IPC_H | 15 | #ifndef __LINUX_TRUSTY_TRUSTY_IPC_H |
| 15 | #define __LINUX_TRUSTY_TRUSTY_IPC_H | 16 | #define __LINUX_TRUSTY_TRUSTY_IPC_H |
| 16 | 17 | ||
| 18 | /* | ||
| 19 | * Errnos below must be in sync with the corresponding errnos | ||
| 20 | * defined in 3rdparty/trusty/external/lk/include/err.h | ||
| 21 | */ | ||
| 22 | #define NO_ERROR (0) | ||
| 23 | #define ERR_NOT_FOUND (-2) | ||
| 24 | |||
| 17 | struct tipc_chan; | 25 | struct tipc_chan; |
| 18 | 26 | ||
| 19 | struct tipc_msg_buf { | 27 | struct tipc_msg_buf { |
| @@ -29,6 +37,7 @@ enum tipc_chan_event { | |||
| 29 | TIPC_CHANNEL_CONNECTED = 1, | 37 | TIPC_CHANNEL_CONNECTED = 1, |
| 30 | TIPC_CHANNEL_DISCONNECTED, | 38 | TIPC_CHANNEL_DISCONNECTED, |
| 31 | TIPC_CHANNEL_SHUTDOWN, | 39 | TIPC_CHANNEL_SHUTDOWN, |
| 40 | TIPC_CHANNEL_NOT_FOUND, | ||
| 32 | }; | 41 | }; |
| 33 | 42 | ||
| 34 | struct tipc_chan_ops { | 43 | struct tipc_chan_ops { |
