TianoCore EDK2 master
Loading...
Searching...
No Matches
VirtioSerial.h File Reference

Go to the source code of this file.

Data Structures

struct  VIRTIO_SERIAL_CONFIG
 
struct  VIRTIO_SERIAL_CONTROL
 

Macros

#define VIRTIO_SERIAL_Q_RX_PORT0   0
 
#define VIRTIO_SERIAL_Q_TX_PORT0   1
 
#define VIRTIO_SERIAL_Q_RX_CTRL   2
 
#define VIRTIO_SERIAL_Q_TX_CTRL   3
 
#define VIRTIO_SERIAL_Q_RX_BASE   4
 
#define VIRTIO_SERIAL_Q_TX_BASE   5
 
#define VIRTIO_SERIAL_F_SIZE   BIT0
 
#define VIRTIO_SERIAL_F_MULTIPORT   BIT1
 
#define VIRTIO_SERIAL_F_EMERG_WRITE   BIT2
 
#define VIRTIO_SERIAL_DEVICE_READY   0
 
#define VIRTIO_SERIAL_DEVICE_ADD   1
 
#define VIRTIO_SERIAL_DEVICE_REMOVE   2
 
#define VIRTIO_SERIAL_PORT_READY   3
 
#define VIRTIO_SERIAL_CONSOLE_PORT   4
 
#define VIRTIO_SERIAL_RESIZE   5
 
#define VIRTIO_SERIAL_PORT_OPEN   6
 
#define VIRTIO_SERIAL_PORT_NAME   7
 

Detailed Description

Virtio Serial Device specific type and macro definitions.

Copyright (C) 2013-2016, Red Hat, Inc.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file VirtioSerial.h.

Macro Definition Documentation

◆ VIRTIO_SERIAL_CONSOLE_PORT

#define VIRTIO_SERIAL_CONSOLE_PORT   4

Definition at line 59 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_DEVICE_ADD

#define VIRTIO_SERIAL_DEVICE_ADD   1

Definition at line 56 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_DEVICE_READY

#define VIRTIO_SERIAL_DEVICE_READY   0

Definition at line 55 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_DEVICE_REMOVE

#define VIRTIO_SERIAL_DEVICE_REMOVE   2

Definition at line 57 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_F_EMERG_WRITE

#define VIRTIO_SERIAL_F_EMERG_WRITE   BIT2

Definition at line 50 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_F_MULTIPORT

#define VIRTIO_SERIAL_F_MULTIPORT   BIT1

Definition at line 49 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_F_SIZE

#define VIRTIO_SERIAL_F_SIZE   BIT0

Definition at line 48 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_PORT_NAME

#define VIRTIO_SERIAL_PORT_NAME   7

Definition at line 62 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_PORT_OPEN

#define VIRTIO_SERIAL_PORT_OPEN   6

Definition at line 61 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_PORT_READY

#define VIRTIO_SERIAL_PORT_READY   3

Definition at line 58 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_Q_RX_BASE

#define VIRTIO_SERIAL_Q_RX_BASE   4

Definition at line 42 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_Q_RX_CTRL

#define VIRTIO_SERIAL_Q_RX_CTRL   2

Definition at line 40 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_Q_RX_PORT0

#define VIRTIO_SERIAL_Q_RX_PORT0   0

Definition at line 38 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_Q_TX_BASE

#define VIRTIO_SERIAL_Q_TX_BASE   5

Definition at line 43 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_Q_TX_CTRL

#define VIRTIO_SERIAL_Q_TX_CTRL   3

Definition at line 41 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_Q_TX_PORT0

#define VIRTIO_SERIAL_Q_TX_PORT0   1

Definition at line 39 of file VirtioSerial.h.

◆ VIRTIO_SERIAL_RESIZE

#define VIRTIO_SERIAL_RESIZE   5

Definition at line 60 of file VirtioSerial.h.