comparison gsm-fw/services/dar/dar_emergency.c @ 311:a2194416fd7c

gsm-fw: preparations for ARM exception handling (DAR disabled for now)
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 17 Mar 2014 07:10:57 +0000
parents 083f262b7bbe
children
comparison
equal deleted inserted replaced
310:083f262b7bbe 311:a2194416fd7c
556 /* THE DAR ENTITY IS DISABLED */ 556 /* THE DAR ENTITY IS DISABLED */
557 /* ************************************************ */ 557 /* ************************************************ */
558 558
559 void dar_exception(int abort_type) 559 void dar_exception(int abort_type)
560 { 560 {
561 /* TODO: emit low-level serial message */ 561 static char msg[] = "*ARM EXCEPTION #?";
562
563 if (abort_type >= 0 && abort_type <= 9)
564 msg[16] = abort_type + '0';
565 freecalypso_raw_dbgout(msg);
562 while (1) 566 while (1)
563 ; 567 ;
564 } /* dar_exception */ 568 } /* dar_exception */
565 569
566 #endif /* #ifdef RVM_DAR_SWE */ 570 #endif /* #ifdef RVM_DAR_SWE */