1 /******************************************************************************
4 * Console I/O interface for Xen guest OSes.
6 * SPDX-License-Identifier: MIT
8 * Copyright (c) 2005, Keir Fraser
11 #ifndef __XEN_PUBLIC_IO_CONSOLE_H__
12 #define __XEN_PUBLIC_IO_CONSOLE_H__
14 typedef UINT32 XENCONS_RING_IDX
;
16 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1))
18 struct xencons_interface
{
21 XENCONS_RING_IDX in_cons
, in_prod
;
22 XENCONS_RING_IDX out_cons
, out_prod
;
25 #endif /* __XEN_PUBLIC_IO_CONSOLE_H__ */
33 * indent-tabs-mode: nil