mach_mp_startup.c (982b9107) mach_mp_startup.c (5cff7825)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 40 unchanged lines hidden (view full) ---

49
50 cp->cpu_fpowner = NULL; /* not used for V9 */
51
52 /*
53 * Get clock-frequency property from cpunodes[] for the CPU.
54 */
55 pi->pi_clock = (cpunode->clock_freq + 500000) / 1000000;
56
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 40 unchanged lines hidden (view full) ---

49
50 cp->cpu_fpowner = NULL; /* not used for V9 */
51
52 /*
53 * Get clock-frequency property from cpunodes[] for the CPU.
54 */
55 pi->pi_clock = (cpunode->clock_freq + 500000) / 1000000;
56
57 /*
58 * Current frequency in Hz.
59 */
60 pi->pi_curr_clock = cpunode->clock_freq;
61
57 (void) strcpy(pi->pi_processor_type, "sparcv9");
58 (void) strcpy(pi->pi_fputypes, "sparcv9");
59
60 (void) snprintf(buf, sizeof (buf),
61 "%s (portid %d impl 0x%x ver 0x%x clock %d MHz)",
62 cpunode->name, cpunode->portid,
63 cpunode->implementation, cpunode->version, pi->pi_clock);
64

--- 117 unchanged lines hidden ---
62 (void) strcpy(pi->pi_processor_type, "sparcv9");
63 (void) strcpy(pi->pi_fputypes, "sparcv9");
64
65 (void) snprintf(buf, sizeof (buf),
66 "%s (portid %d impl 0x%x ver 0x%x clock %d MHz)",
67 cpunode->name, cpunode->portid,
68 cpunode->implementation, cpunode->version, pi->pi_clock);
69

--- 117 unchanged lines hidden ---