Line 49... |
Line 49... |
#include "gdbcomm.h"
|
#include "gdbcomm.h"
|
#include "debug_unit.h"
|
#include "debug_unit.h"
|
#include "coff.h"
|
#include "coff.h"
|
|
|
/* CVS revision number. */
|
/* CVS revision number. */
|
const char rcsrev[] = "$Revision: 1.69 $";
|
const char rcsrev[] = "$Revision: 1.70 $";
|
|
|
/* Continuos run versus single step tracing switch. */
|
/* Continuos run versus single step tracing switch. */
|
int cont_run;
|
int cont_run;
|
|
|
/* History of execution */
|
/* History of execution */
|
Line 660... |
Line 660... |
at the end of the cycle; no sim originated memory accesses should be
|
at the end of the cycle; no sim originated memory accesses should be
|
performed inbetween. */
|
performed inbetween. */
|
mem_cycles = 0;
|
mem_cycles = 0;
|
if (!config.pm.enabled || !testsprbits(SPR_PMR, SPR_PMR_DME | SPR_PMR_SME)) {
|
if (!config.pm.enabled || !testsprbits(SPR_PMR, SPR_PMR_DME | SPR_PMR_SME)) {
|
if (cont_run > 0) cont_run--;
|
if (cont_run > 0) cont_run--;
|
pic_clock ();
|
|
if (cpu_clock ()) break;
|
|
if (config.dc.enabled) dc_clock();
|
|
if (config.ic.enabled) ic_clock();
|
|
if (config.pm.enabled) {
|
if (config.pm.enabled) {
|
if (!testsprbits(SPR_PMR, SPR_PMR_SME))
|
if (!testsprbits(SPR_PMR, SPR_PMR_SME))
|
IFF (config.tick.enabled) tick_clock();
|
IFF (config.tick.enabled) tick_clock();
|
} else
|
} else
|
IFF (config.tick.enabled) tick_clock();
|
IFF (config.tick.enabled) tick_clock();
|
|
pic_clock ();
|
|
if (cpu_clock ()) break;
|
|
if (config.dc.enabled) dc_clock();
|
|
if (config.ic.enabled) ic_clock();
|
}
|
}
|
|
|
if (config.pm.enabled) pm_clock();
|
if (config.pm.enabled) pm_clock();
|
if (config.uarts) uart_clock();
|
if (config.uarts) uart_clock();
|
if (config.dmas) dma_clock();
|
if (config.dmas) dma_clock();
|