Changeset 189 for soft/giet_vm/sys/sys_handler.c
- Timestamp:
- Aug 7, 2012, 6:37:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/sys/sys_handler.c
r167 r189 75 75 void _exit() 76 76 { 77 /* 77 78 unsigned int date = _proctime(); 79 78 80 unsigned int proc_id = _procid(); 79 unsigned int task_id = _scheduler[proc_id].current; 81 82 unsigned int task_id = _get_current_task_id(); 80 83 81 84 // print death message 85 _get_lock(&_tty_put_lock); 82 86 _puts("\n\n!!! Exit task "); 83 87 _putw( task_id ); … … 87 91 _putw( date ); 88 92 _puts("\n\n"); 89 93 _release_lock(&_tty_put_lock); 94 */ 95 90 96 /* infinite loop */ 91 97 while (1) asm volatile("nop");
Note: See TracChangeset
for help on using the changeset viewer.