Go to the documentation of this file.
46 #ifndef __DEV_ARM_PL011_H__
47 #define __DEV_ARM_PL011_H__
58 Pl011(
const Pl011Params *
p);
183 #endif //__DEV_ARM_PL011_H__
uint16_t ifls
interrupt fifo level register.
static const uint16_t UART_RTINTR
static const int UART_FBRD
static const uint64_t AMBA_ID
uint16_t ibrd
integer baud rate divisor.
void setInterruptMask(uint16_t mask)
Convenience function to update the interrupt mask.
static const int UART_RIS
static const int UART_IFLS
uint16_t lcrh
Line control register.
static const uint16_t UART_BEINTR
static const int UART_FR_CTS
uint64_t Tick
Tick count type.
static const int UART_IBRD
void unserialize(CheckpointIn &cp) override
Unserialize an object.
uint16_t maskInt() const
Masked interrupt status register.
void setInterrupts(uint16_t ints, uint16_t mask)
Assign new interrupt values and update interrupt signals.
const Tick intDelay
Delay before interrupting.
static const uint16_t UART_DSRINTR
void serialize(CheckpointOut &cp) const override
Serialize an object.
static const int UART_IMSC
static const int UART_ECR
uint16_t rawInt
raw interrupt status register
static const uint16_t UART_RIINTR
static const uint16_t UART_CTSINTR
static const int UART_FR_RXFE
void clearInterrupts(uint16_t ints)
Convenience function to clear interrupts.
static const int UART_ICR
static const uint16_t UART_RXINTR
static const int UART_FR_TXFF
uint16_t imsc
interrupt mask register.
static const uint16_t UART_CDCINTR
static const uint16_t UART_TXINTR
void raiseInterrupts(uint16_t ints)
Convenience function to raise a new interrupt.
ArmInterruptPin *const interrupt
static const uint16_t UART_OEINTR
static const int UART_FR_RXFF
uint16_t fbrd
fractional baud rate divisor.
void dataAvailable() override
Inform the uart that there is data available.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
static const int UART_RSR
Generic representation of an Arm interrupt pin.
static const uint16_t UART_FEINTR
void generateInterrupt()
Function to generate interrupt.
std::ostream CheckpointOut
static const uint16_t UART_PEINTR
Pl011(const Pl011Params *p)
const bool endOnEOT
Should the simulation end on an EOT.
static const int UART_LCRH
EventFunctionWrapper intEvent
Wrapper to create an event out of the thing.
static const int UART_FR_TXFE
#define ULL(N)
uint64_t constant
static const int UART_DMACR
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
static const int UART_MIS
Generated on Wed Sep 30 2020 14:02:10 for gem5 by doxygen 1.8.17