Changeset 428 for soft/giet_vm/giet_kernel/exc_handler.c
- Timestamp:
- Oct 4, 2014, 3:19:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_kernel/exc_handler.c
r294 r428 72 72 { 73 73 unsigned int gpid = _get_procid(); 74 unsigned int cluster_xy = gpid / NB_PROCS_MAX; 75 unsigned int lpid = gpid % NB_PROCS_MAX; 74 unsigned int cluster_xy = gpid >> P_WIDTH; 76 75 unsigned int x = cluster_xy >> Y_WIDTH; 77 76 unsigned int y = cluster_xy & ((1<<Y_WIDTH)-1); 77 unsigned int lpid = gpid & ((1<<P_WIDTH)-1); 78 78 79 unsigned int task = _get_context_slot(CTX_LTID_ID); 79 80
Note: See TracChangeset
for help on using the changeset viewer.