Deleted Added
full compact
malta_machdep.c (180332) malta_machdep.c (182901)
1/*-
2 * Copyright (c) 2006 Wojciech A. Koszek <wkoszek@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2006 Wojciech A. Koszek <wkoszek@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/mips/malta/malta_machdep.c 178173 2008-04-13 07:44:55Z imp $
26 * $FreeBSD: head/sys/mips/malta/malta_machdep.c 182901 2008-09-10 03:49:08Z gonzo $
27 */
28#include <sys/cdefs.h>
27 */
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/mips/malta/malta_machdep.c 178173 2008-04-13 07:44:55Z imp $");
29__FBSDID("$FreeBSD: head/sys/mips/malta/malta_machdep.c 182901 2008-09-10 03:49:08Z gonzo $");
30
31#include "opt_ddb.h"
32
33#include <sys/param.h>
34#include <sys/conf.h>
35#include <sys/kernel.h>
36#include <sys/systm.h>
37#include <sys/imgact.h>

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

60#include <machine/cpu.h>
61#include <machine/cpuregs.h>
62#include <machine/hwfunc.h>
63#include <machine/md_var.h>
64#include <machine/pmap.h>
65#include <machine/trap.h>
66
67#ifdef TICK_USE_YAMON_FREQ
30
31#include "opt_ddb.h"
32
33#include <sys/param.h>
34#include <sys/conf.h>
35#include <sys/kernel.h>
36#include <sys/systm.h>
37#include <sys/imgact.h>

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

60#include <machine/cpu.h>
61#include <machine/cpuregs.h>
62#include <machine/hwfunc.h>
63#include <machine/md_var.h>
64#include <machine/pmap.h>
65#include <machine/trap.h>
66
67#ifdef TICK_USE_YAMON_FREQ
68#include <mips/mips32/malta/yamon.h>
68#include
69#endif
70
71#ifdef TICK_USE_MALTA_RTC
72#include <mips/mips4k/malta/maltareg.h>
73#include <dev/mc146818/mc146818reg.h>
74#include <isa/rtc.h>
75#endif
76
69#endif
70
71#ifdef TICK_USE_MALTA_RTC
72#include <mips/mips4k/malta/maltareg.h>
73#include <dev/mc146818/mc146818reg.h>
74#include <isa/rtc.h>
75#endif
76
77#include <mips/mips32/malta/maltareg.h>
77#include
78
79extern int *edata;
80extern int *end;
81
82void lcd_init(void);
83void lcd_puts(char *);
84void malta_reset(void);
85

--- 220 unchanged lines hidden ---
78
79extern int *edata;
80extern int *end;
81
82void lcd_init(void);
83void lcd_puts(char *);
84void malta_reset(void);
85

--- 220 unchanged lines hidden ---