RDMA/rtrs: server: Fix some error return code
[linux/fpc-iii.git] / include / xen / interface / io / console.h
blob85ca8b02695a2002545b40565132bac23b47e93f
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3 * console.h
5 * Console I/O interface for Xen guest OSes.
7 * Copyright (c) 2005, Keir Fraser
8 */
10 #ifndef __XEN_PUBLIC_IO_CONSOLE_H__
11 #define __XEN_PUBLIC_IO_CONSOLE_H__
13 typedef uint32_t XENCONS_RING_IDX;
15 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1))
17 struct xencons_interface {
18 char in[1024];
19 char out[2048];
20 XENCONS_RING_IDX in_cons, in_prod;
21 XENCONS_RING_IDX out_cons, out_prod;
24 #endif /* __XEN_PUBLIC_IO_CONSOLE_H__ */