Deleted Added
sdiff udiff text old ( 106503 ) new ( 106605 )
full compact
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:

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

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#ifndef lint
58static const char rcsid[] =
59 "$FreeBSD: head/sys/powerpc/aim/machdep.c 106605 2002-11-07 23:57:17Z tmm $";
60#endif /* not lint */
61
62#include "opt_ddb.h"
63#include "opt_compat.h"
64#include "opt_msgbuf.h"
65
66#include <sys/param.h>
67#include <sys/systm.h>

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

109#include <machine/elf.h>
110#include <machine/trap.h>
111#include <machine/powerpc.h>
112#include <dev/ofw/openfirm.h>
113#include <ddb/ddb.h>
114#include <sys/vnode.h>
115#include <machine/sigframe.h>
116
117int cold = 1;
118
119char pcpu0[PAGE_SIZE];
120char uarea0[UAREA_PAGES * PAGE_SIZE];
121struct trapframe frame0;
122
123vm_offset_t kstack0;
124vm_offset_t kstack0_phys;

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

147
148int save_ofw_mapping(void);
149int restore_ofw_mapping(void);
150
151void install_extint(void (*)(void));
152
153int setfault(faultbuf); /* defined in locore.S */
154
155long Maxmem = 0;
156
157static int chosen;
158
159struct pmap ofw_pmap;
160extern int ofmsr;
161
162struct bat battable[16];

--- 653 unchanged lines hidden ---