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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [librdbg/] [include/] [rdbg/] [powerpc/] [rdbg_f.h] - Rev 389

Go to most recent revision | Compare with Previous | Blame | View Log

/*
 **************************************************************************
 *
 * Component =   RDBG
 * Module =   rdbg_f.h
 *
 * Synopsis = Machine-dependent header file
 *
 * $Id: rdbg_f.h,v 1.2 2001-09-27 12:02:01 chris Exp $
 *
 **************************************************************************
 */
 
#ifndef RDBG_F_H
#define RDBG_F_H
 
#include <rtems.h>
#include <rdbg/remdeb.h>
 
static inline  int isRdbgException(Exception_context *ctx)
{
  if (
      ctx->ctx->_EXC_number != ASM_SYS_VECTOR &&
      ctx->ctx->_EXC_number != ASM_TRACE_VECTOR
      ) return 0;
  else return 1;
}
static inline int getExcNum(Exception_context *ctx)
{
  return ctx->ctx->_EXC_number;
}
 
extern void connect_rdbg_exception();
 
#endif
 
 
 
 

Go to most recent revision | 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.