Changeset 1433ecda in mainline for kernel/arch/sparc64/src/cpu/sun4u/cpu.c
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/cpu/sun4u/cpu.c
r47b2d7e3 r1433ecda 99 99 int f; 100 100 f = find_cpu_frequency( 101 101 ofw_tree_find_child(node, "cpu@0")); 102 102 if (f != -1) 103 103 clock_frequency = (uint32_t) f; 104 104 f = find_cpu_frequency( 105 105 ofw_tree_find_child(node, "cpu@1")); 106 106 if (f != -1) 107 107 clock_frequency = (uint32_t) f; … … 140 140 break; 141 141 case MANUF_SUN: 142 142 manuf = "Sun"; 143 143 break; 144 144 default: … … 184 184 185 185 printf("cpu%d: manuf=%s, impl=%s, mask=%d (%d MHz)\n", m->id, manuf, 186 186 impl, m->arch.ver.mask, m->arch.clock_frequency / 1000000); 187 187 } 188 188
Note:
See TracChangeset
for help on using the changeset viewer.