Changeset 693 for soft/giet_vm/giet_libs/user_sqt_lock.c
- Timestamp:
- Aug 5, 2015, 6:46:14 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/user_sqt_lock.c
r581 r693 40 40 41 41 #if GIET_DEBUG_USER_LOCK 42 giet_ shr_printf("\n[DEBUG USER SQT_LOCK] P[%d,%d,%d] initialises SQT node[%d,%d,%d] : \n"42 giet_tty_printf("\n[DEBUG USER SQT_LOCK] P[%d,%d,%d] initialises SQT node[%d,%d,%d] : \n" 43 43 " parent = %x / childO = %x / child1 = %x / child2 = %x / child3 = %x\n", 44 44 px , py , pl , x , y , level , … … 85 85 86 86 #if GIET_DEBUG_USER_LOCK 87 giet_ shr_printf("\n[DEBUG USER SQT_LOCK] P[%d,%d,%d] initialises SQT node[%d,%d,%d] : \n"87 giet_tty_printf("\n[DEBUG USER SQT_LOCK] P[%d,%d,%d] initialises SQT node[%d,%d,%d] : \n" 88 88 " parent = %x / childO = %x / child1 = %x / child2 = %x / child3 = %x\n", 89 89 px , py , pl , x , y , level , … … 134 134 giet_proc_xyp(&px, &py, &pl); 135 135 unsigned int side = (z < 2) ? 1 : (z < 3) ? 2 : (z < 5) ? 4 : (z < 9) ? 8 : 16; 136 giet_ shr_printf("\n[DEBUG USER SQT_LOCK] sqt_nodes allocation\n"136 giet_tty_printf("\n[DEBUG USER SQT_LOCK] sqt_nodes allocation\n" 137 137 " x_size = %d / y_size = %d / levels = %d / side = %d\n", 138 138 x_size , y_size , levels , side ); … … 162 162 163 163 #if GIET_DEBUG_USER_LOCK 164 giet_ shr_printf("\n[DEBUG USER SQT_LOCK] P[%d,%d,%d] allocates SQT node[%d,%d,%d]"164 giet_tty_printf("\n[DEBUG USER SQT_LOCK] P[%d,%d,%d] allocates SQT node[%d,%d,%d]" 165 165 " : vaddr = %x\n", 166 166 px , py , pl , x , y , l , (unsigned int)lock->node[x][y][l] ); … … 183 183 184 184 #if GIET_DEBUG_USER_LOCK 185 giet_ shr_printf("\n[DEBUG USER SQT_LOCK] SQT nodes initialisation completed\n");185 giet_tty_printf("\n[DEBUG USER SQT_LOCK] SQT nodes initialisation completed\n"); 186 186 #endif 187 187 … … 201 201 unsigned int l; 202 202 giet_proc_xyp(&x, &y, &l); 203 giet_ shr_printf("\n[DEBUG USER SQT_LOCK] P[%d,%d,%d] get ticket %d for SQT lock %x"203 giet_tty_printf("\n[DEBUG USER SQT_LOCK] P[%d,%d,%d] get ticket %d for SQT lock %x" 204 204 " / level = %d / current = %d / free = %d\n", 205 205 x , y , l , ticket , (unsigned int)node , … … 211 211 212 212 #if GIET_DEBUG_USER_LOCK 213 giet_ shr_printf("\n[DEBUG SQT_LOCK] P[%d,%d,%d] get SQT lock %x"213 giet_tty_printf("\n[DEBUG SQT_LOCK] P[%d,%d,%d] get SQT lock %x" 214 214 " / level = %d / current = %d / free = %d\n", 215 215 x , y , l , (unsigned int)node , … … 248 248 unsigned int l; 249 249 giet_proc_xyp(&x, &y, &l); 250 giet_ shr_printf("\n[DEBUG USER SQT_LOCK] P[%d,%d,%d] release SQT lock %x"250 giet_tty_printf("\n[DEBUG USER SQT_LOCK] P[%d,%d,%d] release SQT lock %x" 251 251 " / level = %d / current = %d / free = %d\n", 252 252 x , y , l , (unsigned int)node,
Note: See TracChangeset
for help on using the changeset viewer.