2007-12-01 Till Straumann <strauman@slac.stanford.edu>

* shared/vectors/vectors.h: Give the BSP_Exception_frame
	struct a name.
This commit is contained in:
Till Straumann
2007-12-01 21:25:39 +00:00
parent c982f8039a
commit 89a1112966
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2007-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/vectors/vectors.h: Give the BSP_Exception_frame
struct a name.
2007-12-01 Till Straumann <strauman@slac.stanford.edu> 2007-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vmeconfig.c: Include <libcpu/bat.h> only * shared/vme/vmeconfig.c: Include <libcpu/bat.h> only

View File

@@ -116,7 +116,7 @@ extern void exception_nop_enable(const rtems_raw_except_connect_data* ptr);
extern int exception_always_enabled(const rtems_raw_except_connect_data* ptr); extern int exception_always_enabled(const rtems_raw_except_connect_data* ptr);
extern void initialize_exceptions(); extern void initialize_exceptions();
typedef struct { typedef struct _BSP_Exception_frame {
unsigned EXC_SRR0; unsigned EXC_SRR0;
unsigned EXC_SRR1; unsigned EXC_SRR1;
unsigned _EXC_number; unsigned _EXC_number;
@@ -158,7 +158,7 @@ typedef struct {
unsigned EXC_LR; unsigned EXC_LR;
unsigned EXC_MSR; unsigned EXC_MSR;
unsigned EXC_DAR; unsigned EXC_DAR;
}BSP_Exception_frame; } BSP_Exception_frame;
typedef void (*exception_handler_t) (BSP_Exception_frame* excPtr); typedef void (*exception_handler_t) (BSP_Exception_frame* excPtr);
extern exception_handler_t globalExceptHdl; extern exception_handler_t globalExceptHdl;