2008-05-14 Till Straumann <strauman@slac.stanford.edu>

* new-exceptions/bspsupport/ppc_exc_bspsupp.h: added
	comment about the semantics of the return value of
	ppc_exc_handler_t.
This commit is contained in:
Till Straumann
2008-05-14 22:34:06 +00:00
parent 21637fd380
commit 8ac748c1bf
2 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2008-05-14 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_bspsupp.h: added
comment about the semantics of the return value of
ppc_exc_handler_t.
2008-05-14 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: moved malloc/free

View File

@@ -24,6 +24,16 @@ extern "C" {
/****************************************************/
/*
* Exception handlers should return 0 if the exception
* was handled and normal execution may resume.
*
* They should return (-1) to 'rethrow' the exception
* resulting in the globalExcHdl() being called.
*
* Other return values are reserved.
*/
typedef int (*ppc_exc_handler_t)(BSP_Exception_frame *f, unsigned int vector);
/*