gem5  v20.1.0.0
Classes | Variables
uart8250.hh File Reference
#include "dev/io_device.hh"
#include "dev/serial/uart.hh"
#include "params/Uart8250.hh"

Go to the source code of this file.

Classes

class  Uart8250
 

Variables

const uint8_t IIR_NOPEND = 0x1
 
const uint8_t IIR_MODEM = 0x00
 
const uint8_t IIR_TXID = 0x02
 
const uint8_t IIR_RXID = 0x04
 
const uint8_t IIR_LINE = 0x06
 
const uint8_t UART_IER_RDI = 0x01
 
const uint8_t UART_IER_THRI = 0x02
 
const uint8_t UART_IER_RLSI = 0x04
 
const uint8_t UART_LSR_TEMT = 0x40
 
const uint8_t UART_LSR_THRE = 0x20
 
const uint8_t UART_LSR_DR = 0x01
 
const uint8_t UART_MCR_LOOP = 0x10
 

Detailed Description

Defines a 8250 UART

Definition in file uart8250.hh.

Variable Documentation

◆ IIR_LINE

const uint8_t IIR_LINE = 0x06

Definition at line 51 of file uart8250.hh.

◆ IIR_MODEM

const uint8_t IIR_MODEM = 0x00

Definition at line 48 of file uart8250.hh.

◆ IIR_NOPEND

const uint8_t IIR_NOPEND = 0x1

Definition at line 45 of file uart8250.hh.

Referenced by Uart8250::read().

◆ IIR_RXID

const uint8_t IIR_RXID = 0x04

Definition at line 50 of file uart8250.hh.

Referenced by Uart8250::read().

◆ IIR_TXID

const uint8_t IIR_TXID = 0x02

Definition at line 49 of file uart8250.hh.

Referenced by Uart8250::read().

◆ UART_IER_RDI

const uint8_t UART_IER_RDI = 0x01

Definition at line 53 of file uart8250.hh.

Referenced by Uart8250::dataAvailable(), Uart8250::read(), and Uart8250::write().

◆ UART_IER_RLSI

const uint8_t UART_IER_RLSI = 0x04

Definition at line 55 of file uart8250.hh.

◆ UART_IER_THRI

const uint8_t UART_IER_THRI = 0x02

Definition at line 54 of file uart8250.hh.

Referenced by Uart8250::write().

◆ UART_LSR_DR

const uint8_t UART_LSR_DR = 0x01

Definition at line 60 of file uart8250.hh.

Referenced by Uart8250::read().

◆ UART_LSR_TEMT

const uint8_t UART_LSR_TEMT = 0x40

Definition at line 58 of file uart8250.hh.

Referenced by Uart8250::read().

◆ UART_LSR_THRE

const uint8_t UART_LSR_THRE = 0x20

Definition at line 59 of file uart8250.hh.

Referenced by Uart8250::read().

◆ UART_MCR_LOOP

const uint8_t UART_MCR_LOOP = 0x10

Definition at line 62 of file uart8250.hh.

Referenced by Uart8250::write().


Generated on Wed Sep 30 2020 14:02:19 for gem5 by doxygen 1.8.17