machdep.c (272098) | machdep.c (273174) |
---|---|
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 272098 2014-09-25 08:28:10Z royger $"); | 39__FBSDID("$FreeBSD: head/sys/sparc64/sparc64/machdep.c 273174 2014-10-16 18:04:43Z davide $"); |
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> --- 458 unchanged lines hidden (view full) --- 506 * Initialize virtual memory and calculate physmem. 507 */ 508 pmap_bootstrap(cpu_impl); 509 510 /* 511 * Initialize tunables. 512 */ 513 init_param2(physmem); | 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> --- 458 unchanged lines hidden (view full) --- 506 * Initialize virtual memory and calculate physmem. 507 */ 508 pmap_bootstrap(cpu_impl); 509 510 /* 511 * Initialize tunables. 512 */ 513 init_param2(physmem); |
514 env = getenv("kernelname"); | 514 env = kern_getenv("kernelname"); |
515 if (env != NULL) { 516 strlcpy(kernelname, env, sizeof(kernelname)); 517 freeenv(env); 518 } 519 520 /* 521 * Initialize the interrupt tables. 522 */ --- 593 unchanged lines hidden --- | 515 if (env != NULL) { 516 strlcpy(kernelname, env, sizeof(kernelname)); 517 freeenv(env); 518 } 519 520 /* 521 * Initialize the interrupt tables. 522 */ --- 593 unchanged lines hidden --- |