[BACK]Return to exception.c CVS log [TXT][DIR] Up to [local] / prex-old / usr / test / exception

Diff for /prex-old/usr/test/exception/exception.c between version 1.1.1.1 and 1.1.1.1.2.1

version 1.1.1.1, 2008/06/03 10:38:51 version 1.1.1.1.2.1, 2008/08/13 17:12:46
Line 35 
Line 35 
 #include <stdio.h>  #include <stdio.h>
   
 static void  static void
 my_exception(int code, void *regs)  my_exception(int code)
 {  {
         printf("Get exception code=%x regs=%x\n", code, (u_int)regs);          printf("Get exception code=%x\n", code);
   
         exception_return(regs);          exception_return();
   
         /* Control never comes here */          /* Control never comes here */
         panic("Ooops!");          panic("Ooops!");

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.2.1

CVSweb