Changeset 426 for soft/giet_vm/giet_drivers/tty_driver.c
- Timestamp:
- Oct 4, 2014, 3:16:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/tty_driver.c
r350 r426 198 198 unsigned int channel ) // TTY channel 199 199 { 200 unsigned int cluster_xy = _get_procid() / NB_PROCS_MAX; 200 unsigned int gpid = _get_procid(); 201 unsigned int cluster_xy = gpid >> P_WIDTH; 201 202 202 203 // get TTY status … … 225 226 unsigned int x = cluster_xy >> Y_WIDTH; 226 227 unsigned int y = cluster_xy & ((1<<Y_WIDTH)-1); 227 unsigned int lpid = _get_procid() % NB_PROCS_MAX;228 unsigned int lpid = gpid & ((1<<P_WIDTH)-1); 228 229 _puts("\n[IRQS DEBUG] Processor["); 229 230 _putd(x );
Note: See TracChangeset
for help on using the changeset viewer.