include/xen/interface/io/console.h

Source file repositories/reference/linux-study-clean/include/xen/interface/io/console.h

File Facts

System
Linux kernel
Corpus path
include/xen/interface/io/console.h
Extension
.h
Size
957 bytes
Lines
38
Domain
Repository Root And Misc
Bucket
include
Inferred role
Repository Root And Misc: implementation source
Status
source implementation candidate

Why This File Exists

Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.

Dependency Surface

Detected Declarations

Annotated Snippet

struct xencons_interface {
    char in[1024];
    char out[2048];
    XENCONS_RING_IDX in_cons, in_prod;
    XENCONS_RING_IDX out_cons, out_prod;
/*
 * Flag values signaling from backend to frontend whether the console is
 * connected.  i.e. Whether it will be serviced and emptied.
 *
 * The flag starts as disconnected.
 */
#define XENCONSOLE_DISCONNECTED 1
/*
 * The flag is set to connected when the backend connects and the console
 * will be serviced.
 */
#define XENCONSOLE_CONNECTED    0
    uint8_t connection;
};

#endif /* __XEN_PUBLIC_IO_CONSOLE_H__ */

Annotation

Implementation Notes