iq31244_machdep.c (266311) | iq31244_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/iq31244_machdep.c 266311 2014-05-17 13:53:38Z ian $"); | 49__FBSDID("$FreeBSD: stable/10/sys/arm/xscale/i80321/iq31244_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> --- 65 unchanged lines hidden (view full) --- 123 * Map the on-board devices VA == PA so that we can access them 124 * with the MMU on or off. 125 */ 126 { 127 IQ80321_OBIO_BASE, 128 IQ80321_OBIO_BASE, 129 IQ80321_OBIO_SIZE, 130 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> --- 65 unchanged lines hidden (view full) --- 123 * Map the on-board devices VA == PA so that we can access them 124 * with the MMU on or off. 125 */ 126 { 127 IQ80321_OBIO_BASE, 128 IQ80321_OBIO_BASE, 129 IQ80321_OBIO_SIZE, 130 VM_PROT_READ|VM_PROT_WRITE, |
131 PTE_NOCACHE, | 131 PTE_DEVICE, |
132 }, 133 { 134 IQ80321_IOW_VBASE, 135 VERDE_OUT_XLATE_IO_WIN0_BASE, 136 VERDE_OUT_XLATE_IO_WIN_SIZE, 137 VM_PROT_READ|VM_PROT_WRITE, | 132 }, 133 { 134 IQ80321_IOW_VBASE, 135 VERDE_OUT_XLATE_IO_WIN0_BASE, 136 VERDE_OUT_XLATE_IO_WIN_SIZE, 137 VM_PROT_READ|VM_PROT_WRITE, |
138 PTE_NOCACHE, | 138 PTE_DEVICE, |
139 }, 140 141 { 142 IQ80321_80321_VBASE, 143 VERDE_PMMR_BASE, 144 VERDE_PMMR_SIZE, 145 VM_PROT_READ|VM_PROT_WRITE, | 139 }, 140 141 { 142 IQ80321_80321_VBASE, 143 VERDE_PMMR_BASE, 144 VERDE_PMMR_SIZE, 145 VM_PROT_READ|VM_PROT_WRITE, |
146 PTE_NOCACHE, | 146 PTE_DEVICE, |
147 }, 148 { 149 0, 150 0, 151 0, 152 0, 153 0, 154 } --- 256 unchanged lines hidden --- | 147 }, 148 { 149 0, 150 0, 151 0, 152 0, 153 0, 154 } --- 256 unchanged lines hidden --- |