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

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [toplevel.c] - Diff between revs 645 and 664

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

Rev 645 Rev 664
Line 45... Line 45...
#include "spr_defs.h"
#include "spr_defs.h"
#include "sprs.h"
#include "sprs.h"
#include "dma.h"
#include "dma.h"
#include "vga.h"
#include "vga.h"
#include "fb.h"
#include "fb.h"
 
#include "ps2kbd.h"
#include "vapi.h"
#include "vapi.h"
#include "gdbcomm.h"
#include "gdbcomm.h"
#include "debug_unit.h"
#include "debug_unit.h"
#include "coff.h"
#include "coff.h"
 
 
#include "profiler.h"
#include "profiler.h"
#include "mprofiler.h"
#include "mprofiler.h"
 
 
/* CVS revision number. */
/* CVS revision number. */
const char rcsrev[] = "$Revision: 1.74 $";
const char rcsrev[] = "$Revision: 1.75 $";
 
 
/* 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 167... Line 168...
  dma_reset();
  dma_reset();
  eth_reset();
  eth_reset();
  gpio_reset();
  gpio_reset();
  vga_reset ();
  vga_reset ();
  fb_reset ();
  fb_reset ();
 
  kbd_reset ();
  tick_reset();
  tick_reset();
  pm_reset();
  pm_reset();
  pic_reset();
  pic_reset();
  mc_reset();
  mc_reset();
  du_reset ();
  du_reset ();
Line 708... Line 710...
      if (config.dmas) dma_clock();
      if (config.dmas) dma_clock();
      if (config.ethernets) eth_clock();
      if (config.ethernets) eth_clock();
      if (config.ngpios) gpio_clock();
      if (config.ngpios) gpio_clock();
      if (config.nvgas) vga_clock();
      if (config.nvgas) vga_clock();
      if (config.fb.enabled) fb_clock();
      if (config.fb.enabled) fb_clock();
 
      if (config.kbd.enabled) kbd_clock();
      if (config.vapi.enabled && runtime.vapi.enabled) vapi_check();
      if (config.vapi.enabled && runtime.vapi.enabled) vapi_check();
      if (config.debug.gdb_enabled) HandleServerSocket(false); /* block & check_stdin = false */
      if (config.debug.gdb_enabled) HandleServerSocket(false); /* block & check_stdin = false */
      IFF(config.debug.enabled)
      IFF(config.debug.enabled)
        if (testsprbits(SPR_DMR1, SPR_DMR1_ST)) set_stall_state (1);
        if (testsprbits(SPR_DMR1, SPR_DMR1_ST)) set_stall_state (1);
 
 

powered by: WebSVN 2.1.0

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