Changeset 270
- Timestamp:
- Nov 7, 2012, 4:16:55 PM (12 years ago)
- Location:
- trunk/softs/tests_ccvcache_v4/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tests_ccvcache_v4/common/misc.h
r232 r270 30 30 nop 31 31 32 #define PRINT_SYNC(str) \ 33 la a0, str;\ 34 jal print_sync; \ 35 nop 36 37 38 32 39 #define PRINTX \ 33 40 jal printx;\ -
trunk/softs/tests_ccvcache_v4/common/subr.S
r232 r270 22 22 jr ra 23 23 nop 24 25 /* 26 * void print_sync(char *): print a string to the multitty with a sync instruction for each character. 27 * assumes k0 points to the tty base. 28 */ 29 .globl print_sync 30 print_sync: 31 .set noreorder 32 move t0, a0 33 1: 34 lb t1, 0(t0); 35 beq t1, zero, end_print_sync 36 nop 37 sb t1, 0(k0) 38 sync 39 addiu t0, t0, 1 40 j 1b 41 nop 42 end_print_sync: 43 jr ra 44 nop 45 24 46 25 47 /*
Note: See TracChangeset
for help on using the changeset viewer.