Mercurial > ecos
diff packages/hal/powerpc/arch/current/src/hal_misc.c @ 36:e97d78785e2d ecos-sw-1999-09-12
Merge from eCos master repository on 1999-09-12-15:40:34-BST
| author | jlarmour |
|---|---|
| date | Sun, 12 Sep 1999 15:26:05 +0000 |
| parents | 29bc183297e1 |
| children | e7ba79f6d3a8 |
line wrap: on
line diff
--- a/packages/hal/powerpc/arch/current/src/hal_misc.c +++ b/packages/hal/powerpc/arch/current/src/hal_misc.c @@ -511,4 +511,14 @@ hal_enable_caches(void) } //--------------------------------------------------------------------------- +//A jump via a null pointer causes the CPU to end up here. +externC void +hal_null_call() +{ + + CYG_FAIL("Call via NULL-pointer!"); + for(;;); +} + +//--------------------------------------------------------------------------- // End of hal_misc.c
