OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [or1ksim/] [cpu/] [or32/] [execute.c] - Diff between revs 233 and 235

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 233 Rev 235
Line 42... Line 42...
/* Package includes */
/* Package includes */
#include "execute.h"
#include "execute.h"
#include "toplevel-support.h"
#include "toplevel-support.h"
#include "except.h"
#include "except.h"
#include "labels.h"
#include "labels.h"
#include "gdbcomm.h"
 
#include "sched.h"
#include "sched.h"
#include "stats.h"
#include "stats.h"
#include "opcode/or32.h"
#include "opcode/or32.h"
#include "dmmu.h"
#include "dmmu.h"
#include "immu.h"
#include "immu.h"
Line 981... Line 980...
            {
            {
              if (config.debug.rsp_enabled)
              if (config.debug.rsp_enabled)
                {
                {
                  handle_rsp ();
                  handle_rsp ();
                }
                }
              else if (config.debug.gdb_enabled)
 
                {
 
                  block_jtag ();
 
                  handle_server_socket (FALSE);
 
                }
 
              else
              else
                {
                {
                  fprintf (stderr, "ERROR: CPU stalled and GDB connection not "
                  fprintf (stderr, "ERROR: CPU stalled and GDB connection not "
                           "enabled: Invoking CLI and terminating.\n");
                           "enabled: Invoking CLI and terminating.\n");
                  /* Dump the user into interactive mode.  From there he or
                  /* Dump the user into interactive mode.  From there he or
Line 1021... Line 1015...
      if (config.vapi.enabled && runtime.vapi.enabled)
      if (config.vapi.enabled && runtime.vapi.enabled)
        {
        {
          vapi_check ();
          vapi_check ();
        }
        }
 
 
      if (config.debug.gdb_enabled)
 
        {
 
          handle_server_socket (FALSE); /* block & check_stdin = false */
 
        }
 
 
 
      if (config.debug.enabled)
      if (config.debug.enabled)
        {
        {
          if (cpu_state.sprs[SPR_DMR1] & SPR_DMR1_ST)
          if (cpu_state.sprs[SPR_DMR1] & SPR_DMR1_ST)
            {
            {
              set_stall_state (1);
              set_stall_state (1);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.