ep80219_machdep.c (266311) | ep80219_machdep.c (266386) |
---|---|
1/* $NetBSD: hpc_machdep.c,v 1.70 2003/09/16 08:18:22 agc Exp $ */ 2 3/*- 4 * Copyright (c) 1994-1998 Mark Brinicombe. 5 * Copyright (c) 1994 Brini. 6 * All rights reserved. 7 * 8 * This code is derived from software written for Brini by Mark Brinicombe --- 32 unchanged lines hidden (view full) --- 41 * Machine dependant functions for kernel setup 42 * 43 * This file needs a lot of work. 44 * 45 * Created : 17/09/94 46 */ 47 48#include <sys/cdefs.h> | 1/* $NetBSD: hpc_machdep.c,v 1.70 2003/09/16 08:18:22 agc Exp $ */ 2 3/*- 4 * Copyright (c) 1994-1998 Mark Brinicombe. 5 * Copyright (c) 1994 Brini. 6 * All rights reserved. 7 * 8 * This code is derived from software written for Brini by Mark Brinicombe --- 32 unchanged lines hidden (view full) --- 41 * Machine dependant functions for kernel setup 42 * 43 * This file needs a lot of work. 44 * 45 * Created : 17/09/94 46 */ 47 48#include <sys/cdefs.h> |
49__FBSDID("$FreeBSD: stable/10/sys/arm/xscale/i80321/ep80219_machdep.c 266311 2014-05-17 13:53:38Z ian $"); | 49__FBSDID("$FreeBSD: stable/10/sys/arm/xscale/i80321/ep80219_machdep.c 266386 2014-05-18 00:32:35Z ian $"); |
50 51#define _ARM32_BUS_DMA_PRIVATE 52#include <sys/param.h> 53#include <sys/systm.h> 54#include <sys/sysproto.h> 55#include <sys/signalvar.h> 56#include <sys/imgact.h> 57#include <sys/kernel.h> --- 67 unchanged lines hidden (view full) --- 125 * Map the on-board devices VA == PA so that we can access them 126 * with the MMU on or off. 127 */ 128 { 129 IQ80321_OBIO_BASE, 130 IQ80321_OBIO_BASE, 131 IQ80321_OBIO_SIZE, 132 VM_PROT_READ|VM_PROT_WRITE, | 50 51#define _ARM32_BUS_DMA_PRIVATE 52#include <sys/param.h> 53#include <sys/systm.h> 54#include <sys/sysproto.h> 55#include <sys/signalvar.h> 56#include <sys/imgact.h> 57#include <sys/kernel.h> --- 67 unchanged lines hidden (view full) --- 125 * Map the on-board devices VA == PA so that we can access them 126 * with the MMU on or off. 127 */ 128 { 129 IQ80321_OBIO_BASE, 130 IQ80321_OBIO_BASE, 131 IQ80321_OBIO_SIZE, 132 VM_PROT_READ|VM_PROT_WRITE, |
133 PTE_NOCACHE, | 133 PTE_DEVICE, |
134 }, 135 { 136 IQ80321_IOW_VBASE, 137 VERDE_OUT_XLATE_IO_WIN0_BASE, 138 VERDE_OUT_XLATE_IO_WIN_SIZE, 139 VM_PROT_READ|VM_PROT_WRITE, | 134 }, 135 { 136 IQ80321_IOW_VBASE, 137 VERDE_OUT_XLATE_IO_WIN0_BASE, 138 VERDE_OUT_XLATE_IO_WIN_SIZE, 139 VM_PROT_READ|VM_PROT_WRITE, |
140 PTE_NOCACHE, | 140 PTE_DEVICE, |
141 }, 142 { 143 IQ80321_80321_VBASE, 144 VERDE_PMMR_BASE, 145 VERDE_PMMR_SIZE, 146 VM_PROT_READ|VM_PROT_WRITE, | 141 }, 142 { 143 IQ80321_80321_VBASE, 144 VERDE_PMMR_BASE, 145 VERDE_PMMR_SIZE, 146 VM_PROT_READ|VM_PROT_WRITE, |
147 PTE_NOCACHE, | 147 PTE_DEVICE, |
148 }, 149 { 150 0, 151 0, 152 0, 153 0, 154 0, 155 } --- 241 unchanged lines hidden --- | 148 }, 149 { 150 0, 151 0, 152 0, 153 0, 154 0, 155 } --- 241 unchanged lines hidden --- |