URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1457 |
Rev 1471 |
Line 64... |
Line 64... |
|
|
static int calculate_watchpoints(DebugUnitAction action, unsigned long udata);
|
static int calculate_watchpoints(DebugUnitAction action, unsigned long udata);
|
|
|
void set_stall_state(int state)
|
void set_stall_state(int state)
|
{
|
{
|
|
#if DYNAMIC_EXECUTION
|
|
PRINTF("FIXME: Emulating a stalled cpu not implemented (in the dynamic execution model)\n");
|
|
#endif
|
development.riscop &= ~RISCOP_STALL;
|
development.riscop &= ~RISCOP_STALL;
|
development.riscop |= state ? RISCOP_STALL : 0;
|
development.riscop |= state ? RISCOP_STALL : 0;
|
if(testsprbits(SPR_DMR1, SPR_DMR1_DXFW)) /* If debugger disabled */
|
if(testsprbits(SPR_DMR1, SPR_DMR1_DXFW)) /* If debugger disabled */
|
state = 0;
|
state = 0;
|
runtime.cpu.stalled = state;
|
runtime.cpu.stalled = state;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.