Uart8250::Uart8250(const Params &p)
- : Uart(p, 8), IER(0), DLAB(0), LCR(0), MCR(0), lastTxInt(0),
+ : Uart(p, 8), IER(0), LCR(0), MCR(0), lastTxInt(0),
txIntrEvent([this]{ processIntrEvent(TX_INT); }, "TX"),
rxIntrEvent([this]{ processIntrEvent(RX_INT); }, "RX")
{
{
SERIALIZE_SCALAR(status);
SERIALIZE_SCALAR(IER);
- SERIALIZE_SCALAR(DLAB);
SERIALIZE_SCALAR(LCR);
SERIALIZE_SCALAR(MCR);
Tick rxintrwhen;
{
UNSERIALIZE_SCALAR(status);
UNSERIALIZE_SCALAR(IER);
- UNSERIALIZE_SCALAR(DLAB);
UNSERIALIZE_SCALAR(LCR);
UNSERIALIZE_SCALAR(MCR);
Tick rxintrwhen;
class Uart8250 : public Uart
{
protected:
- uint8_t IER, DLAB, LCR, MCR;
+ uint8_t IER, LCR, MCR;
Tick lastTxInt;
void processIntrEvent(int intrBit);