Changeset 833 for trunk/softs/tsar_boot
- Timestamp:
- Oct 6, 2014, 2:36:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/src/reset.S
r801 r833 81 81 /* 82 82 * All processors compute gpid, lpid, cluster_xy 83 * gpid = ebase[ 9:0] = X_WIDTH : Y_WIDTH : P_WIDTH83 * gpid = ebase[11:0] = X_WIDTH : Y_WIDTH : P_WIDTH 84 84 * x y lpid 85 85 * X, Y and LPID fields are left-aligned … … 87 87 88 88 mfc0 k0, CP0_EBASE 89 andi t0, k0, 0x 3FF /* t0 <= gpid (<= 1024procs) */89 andi t0, k0, 0xFFF /* t0 <= gpid (<= 4096 procs) */ 90 90 andi t1, t0, ((1<<P_WIDTH)-1) /* t1 <= lpid */ 91 91 srl t2, t0, P_WIDTH /* t2 <= cluster_xy */
Note: See TracChangeset
for help on using the changeset viewer.