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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [c4x/] [c4xsim/] [startup/] [spurious.c] - Rev 1765

Compare with Previous | Blame | View Log

/*
 *  CXX Simulator Spurious Trap Handler Assistant
 *
 *  This is just enough of a trap handler to let us know what 
 *  the likely source of the trap was.
 *
 *  COPYRIGHT (c) 1989-1999.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.OARcorp.com/rtems/license.html.
 *
 *  spurious.c,v 1.2 2002/01/04 17:40:43 joel Exp
 */
 
#include <bsp.h>
#include <rtems/bspIo.h>
#include <simio.h>
 
/*
 *  bsp_spurious_handler_assistant
 *
 *  We can't recover so just return to gdb.
 */
 
void bsp_spurious_handler_assistant(
  rtems_vector_number  vector,
  CPU_Interrupt_frame *isf
)
{
  sim_exit();
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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