1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 171 unchanged lines hidden (view full) --- 180 181 switch (daddr) { 182 case UART_DR: 183 if ((data & 0xFF) == 0x04 && endOnEOT) 184 exitSimLoop("UART received EOT", 0); 185 186 term->out(data & 0xFF); 187 |
188 //raw interrupt is set regardless of imsc.txim 189 rawInt.txim = 1; |
190 if (imsc.txim) { 191 DPRINTF(Uart, "TX int enabled, scheduling interruptt\n"); |
192 if (!intEvent.scheduled()) 193 schedule(intEvent, curTick() + intDelay); 194 } 195 196 break; 197 case UART_CR: 198 control = data; 199 break; --- 132 unchanged lines hidden --- |