Deleted Added
full compact
machdep.c (220939) machdep.c (223719)
1/*-
2 * Copyright (c) 2001 Jake Burkholder.
3 * Copyright (c) 1992 Terrence R. Lambert.
4 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * William Jolitz.

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

31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
35 * from: FreeBSD: src/sys/i386/i386/machdep.c,v 1.477 2001/08/27
36 */
37
38#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001 Jake Burkholder.
3 * Copyright (c) 1992 Terrence R. Lambert.
4 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * William Jolitz.

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

31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
35 * from: FreeBSD: src/sys/i386/i386/machdep.c,v 1.477 2001/08/27
36 */
37
38#include <sys/cdefs.h>
39__FBSDID("$FreeBSD: head/sys/sparc64/sparc64/machdep.c 220939 2011-04-22 09:31:40Z marius $");
39__FBSDID("$FreeBSD: head/sys/sparc64/sparc64/machdep.c 223719 2011-07-02 11:14:54Z marius $");
40
41#include "opt_compat.h"
42#include "opt_ddb.h"
43#include "opt_kstack_pages.h"
44
45#include <sys/param.h>
46#include <sys/malloc.h>
47#include <sys/proc.h>

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

343 * Find out what kind of CPU we have first, for anything that changes
344 * behaviour.
345 */
346 cpu_impl = VER_IMPL(rdpr(ver));
347
348 /*
349 * Do CPU-specific initialization.
350 */
40
41#include "opt_compat.h"
42#include "opt_ddb.h"
43#include "opt_kstack_pages.h"
44
45#include <sys/param.h>
46#include <sys/malloc.h>
47#include <sys/proc.h>

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

343 * Find out what kind of CPU we have first, for anything that changes
344 * behaviour.
345 */
346 cpu_impl = VER_IMPL(rdpr(ver));
347
348 /*
349 * Do CPU-specific initialization.
350 */
351 if (cpu_impl == CPU_IMPL_SPARC64V ||
352 cpu_impl >= CPU_IMPL_ULTRASPARCIII)
351 if (cpu_impl >= CPU_IMPL_ULTRASPARCIII)
353 cheetah_init(cpu_impl);
352 cheetah_init(cpu_impl);
353 else if (cpu_impl == CPU_IMPL_SPARC64V)
354 zeus_init(cpu_impl);
354
355 /*
356 * Clear (S)TICK timer (including NPT).
357 */
358 tick_clear(cpu_impl);
359
360 /*
361 * UltraSparc II[e,i] based systems come up with the tick interrupt

--- 766 unchanged lines hidden ---
355
356 /*
357 * Clear (S)TICK timer (including NPT).
358 */
359 tick_clear(cpu_impl);
360
361 /*
362 * UltraSparc II[e,i] based systems come up with the tick interrupt

--- 766 unchanged lines hidden ---