Changeset 254 for soft/giet_vm/hello/main.c
- Timestamp:
- Aug 27, 2013, 5:41:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/hello/main.c
r207 r254 5 5 char byte; 6 6 unsigned int proc = giet_procid(); 7 unsigned int* illegal = (unsigned int*)0xFFFFFFF0;8 7 8 giet_tty_printf("Starting task HELLO on processor %d at cycle %d\n", 9 giet_procid(), giet_proctime() ); 10 9 11 while (1) 10 12 { … … 12 14 giet_tty_getc((void*)&byte); 13 15 if ( byte == 'q' ) giet_exit(); 14 if ( byte == 'x' ) *illegal = 1;15 16 } 16 17 } // end main
Note: See TracChangeset
for help on using the changeset viewer.