TianoCore EDK2
master
Loading...
Searching...
No Matches
console.h
1
/******************************************************************************
2
* console.h
3
*
4
* Console I/O interface for Xen guest OSes.
5
*
6
* SPDX-License-Identifier: MIT
7
*
8
* Copyright (c) 2005, Keir Fraser
9
*/
10
11
#ifndef __XEN_PUBLIC_IO_CONSOLE_H__
12
#define __XEN_PUBLIC_IO_CONSOLE_H__
13
14
typedef
UINT32 XENCONS_RING_IDX;
15
16
#define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1))
17
18
struct
xencons_interface
{
19
char
in[1024];
20
char
out[2048];
21
XENCONS_RING_IDX in_cons, in_prod;
22
XENCONS_RING_IDX out_cons, out_prod;
23
};
24
25
#endif
/* __XEN_PUBLIC_IO_CONSOLE_H__ */
26
27
/*
28
* Local variables:
29
* mode: C
30
* c-file-style: "BSD"
31
* c-basic-offset: 4
32
* tab-width: 4
33
* indent-tabs-mode: nil
34
* End:
35
*/
xencons_interface
Definition:
console.h:18
OvmfPkg
Include
IndustryStandard
Xen
io
console.h
Generated on Fri Nov 15 2024 18:01:20 for TianoCore EDK2 by
1.9.6