Deleted Added
full compact
at91_machdep.c (218913) at91_machdep.c (223562)
1/*-
2 * Copyright (c) 1994-1998 Mark Brinicombe.
3 * Copyright (c) 1994 Brini.
4 * All rights reserved.
5 *
6 * This code is derived from software written for Brini by Mark Brinicombe
7 *
8 * Redistribution and use in source and binary forms, with or without

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

39 * Machine dependant functions for kernel setup
40 *
41 * This file needs a lot of work.
42 *
43 * Created : 17/09/94
44 */
45
46#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1994-1998 Mark Brinicombe.
3 * Copyright (c) 1994 Brini.
4 * All rights reserved.
5 *
6 * This code is derived from software written for Brini by Mark Brinicombe
7 *
8 * Redistribution and use in source and binary forms, with or without

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

39 * Machine dependant functions for kernel setup
40 *
41 * This file needs a lot of work.
42 *
43 * Created : 17/09/94
44 */
45
46#include <sys/cdefs.h>
47__FBSDID("$FreeBSD: head/sys/arm/at91/at91_machdep.c 218913 2011-02-21 13:11:05Z cognet $");
47__FBSDID("$FreeBSD: head/sys/arm/at91/at91_machdep.c 223562 2011-06-26 10:07:48Z kevlo $");
48
49#define _ARM32_BUS_DMA_PRIVATE
50#include <sys/param.h>
51#include <sys/systm.h>
52#include <sys/sysproto.h>
53#include <sys/signalvar.h>
54#include <sys/imgact.h>
55#include <sys/kernel.h>

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

86#include <machine/armreg.h>
87#include <machine/bus.h>
88#include <sys/reboot.h>
89
90#include <arm/at91/at91board.h>
91#include <arm/at91/at91var.h>
92#include <arm/at91/at91rm92reg.h>
93#include <arm/at91/at91sam9g20reg.h>
48
49#define _ARM32_BUS_DMA_PRIVATE
50#include <sys/param.h>
51#include <sys/systm.h>
52#include <sys/sysproto.h>
53#include <sys/signalvar.h>
54#include <sys/imgact.h>
55#include <sys/kernel.h>

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

86#include <machine/armreg.h>
87#include <machine/bus.h>
88#include <sys/reboot.h>
89
90#include <arm/at91/at91board.h>
91#include <arm/at91/at91var.h>
92#include <arm/at91/at91rm92reg.h>
93#include <arm/at91/at91sam9g20reg.h>
94#include <arm/at91/at91board.h>
95
96#define KERNEL_PT_SYS 0 /* Page table for mapping proc0 zero page */
97#define KERNEL_PT_KERN 1
98#define KERNEL_PT_KERN_NUM 22
99#define KERNEL_PT_AFKERNEL KERNEL_PT_KERN + KERNEL_PT_KERN_NUM /* L2 table for mapping after kernel */
100#define KERNEL_PT_AFKERNEL_NUM 5
101
102/* this should be evenly divisable by PAGE_SIZE / L2_TABLE_SIZE_REAL (or 4) */

--- 348 unchanged lines hidden ---
94
95#define KERNEL_PT_SYS 0 /* Page table for mapping proc0 zero page */
96#define KERNEL_PT_KERN 1
97#define KERNEL_PT_KERN_NUM 22
98#define KERNEL_PT_AFKERNEL KERNEL_PT_KERN + KERNEL_PT_KERN_NUM /* L2 table for mapping after kernel */
99#define KERNEL_PT_AFKERNEL_NUM 5
100
101/* this should be evenly divisable by PAGE_SIZE / L2_TABLE_SIZE_REAL (or 4) */

--- 348 unchanged lines hidden ---