Deleted Added
full compact
aim_machdep.c (258504) aim_machdep.c (258696)
1/*-
2 * Copyright (C) 1995, 1996 Wolfgang Solfrank.
3 * Copyright (C) 1995, 1996 TooLs GmbH.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

50 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
51 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
52 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
53 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
54 * $NetBSD: machdep.c,v 1.74.2.1 2000/11/01 16:13:48 tv Exp $
55 */
56
57#include <sys/cdefs.h>
1/*-
2 * Copyright (C) 1995, 1996 Wolfgang Solfrank.
3 * Copyright (C) 1995, 1996 TooLs GmbH.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

50 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
51 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
52 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
53 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
54 * $NetBSD: machdep.c,v 1.74.2.1 2000/11/01 16:13:48 tv Exp $
55 */
56
57#include <sys/cdefs.h>
58__FBSDID("$FreeBSD: head/sys/powerpc/aim/machdep.c 258504 2013-11-23 18:58:17Z andreast $");
58__FBSDID("$FreeBSD: head/sys/powerpc/aim/machdep.c 258696 2013-11-27 22:01:09Z nwhitehorn $");
59
60#include "opt_compat.h"
61#include "opt_ddb.h"
62#include "opt_kstack_pages.h"
63#include "opt_platform.h"
64
65#include <sys/param.h>
66#include <sys/proc.h>

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

152static void cpu_startup(void *);
153SYSINIT(cpu, SI_SUB_CPU, SI_ORDER_FIRST, cpu_startup, NULL);
154
155SYSCTL_INT(_machdep, CPU_CACHELINE, cacheline_size,
156 CTLFLAG_RD, &cacheline_size, 0, "");
157
158uintptr_t powerpc_init(vm_offset_t, vm_offset_t, vm_offset_t, void *);
159
59
60#include "opt_compat.h"
61#include "opt_ddb.h"
62#include "opt_kstack_pages.h"
63#include "opt_platform.h"
64
65#include <sys/param.h>
66#include <sys/proc.h>

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

152static void cpu_startup(void *);
153SYSINIT(cpu, SI_SUB_CPU, SI_ORDER_FIRST, cpu_startup, NULL);
154
155SYSCTL_INT(_machdep, CPU_CACHELINE, cacheline_size,
156 CTLFLAG_RD, &cacheline_size, 0, "");
157
158uintptr_t powerpc_init(vm_offset_t, vm_offset_t, vm_offset_t, void *);
159
160int setfault(faultbuf); /* defined in locore.S */
161
162long Maxmem = 0;
163long realmem = 0;
164
165#ifndef __powerpc64__
166struct bat battable[16];
167#endif
168
169struct kva_md_info kmi;

--- 621 unchanged lines hidden ---
160long Maxmem = 0;
161long realmem = 0;
162
163#ifndef __powerpc64__
164struct bat battable[16];
165#endif
166
167struct kva_md_info kmi;

--- 621 unchanged lines hidden ---