pl011.cc (8245:a9d06c894afe) pl011.cc (9001:c264de5ccb61)
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
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;
188 if (imsc.txim) {
189 DPRINTF(Uart, "TX int enabled, scheduling interruptt\n");
190 if (imsc.txim) {
191 DPRINTF(Uart, "TX int enabled, scheduling interruptt\n");
190 rawInt.txim = 1;
191 if (!intEvent.scheduled())
192 schedule(intEvent, curTick() + intDelay);
193 }
194
195 break;
196 case UART_CR:
197 control = data;
198 break;

--- 132 unchanged lines hidden ---
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 ---