sa11x0_io.c (163553) | sa11x0_io.c (164440) |
---|---|
1/* $NetBSD: sa11x0_io.c,v 1.12 2003/07/15 00:24:51 lukem Exp $ */ 2 3/*- 4 * Copyright (c) 1997 Mark Brinicombe. 5 * Copyright (c) 1997 Causality Limited. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation --- 27 unchanged lines hidden (view full) --- 36 * SUCH DAMAGE. 37 */ 38 39/* 40 * bus_space I/O functions for sa11x0 41 */ 42 43#include <sys/cdefs.h> | 1/* $NetBSD: sa11x0_io.c,v 1.12 2003/07/15 00:24:51 lukem Exp $ */ 2 3/*- 4 * Copyright (c) 1997 Mark Brinicombe. 5 * Copyright (c) 1997 Causality Limited. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation --- 27 unchanged lines hidden (view full) --- 36 * SUCH DAMAGE. 37 */ 38 39/* 40 * bus_space I/O functions for sa11x0 41 */ 42 43#include <sys/cdefs.h> |
44__FBSDID("$FreeBSD: head/sys/arm/sa11x0/sa11x0_io.c 163553 2006-10-21 04:25:00Z kevlo $"); | 44__FBSDID("$FreeBSD: head/sys/arm/sa11x0/sa11x0_io.c 164440 2006-11-20 13:21:02Z kevlo $"); |
45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/queue.h> 48#include <sys/lock.h> 49#include <sys/mutex.h> 50 51#include <vm/vm.h> 52#include <vm/pmap.h> --- 132 unchanged lines hidden (view full) --- 185 bus_addr_t *bpap; 186 bus_space_handle_t *bshp; 187{ 188 panic("sa11x0_alloc(): Help!"); 189} 190 191 192void | 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/queue.h> 48#include <sys/lock.h> 49#include <sys/mutex.h> 50 51#include <vm/vm.h> 52#include <vm/pmap.h> --- 132 unchanged lines hidden (view full) --- 185 bus_addr_t *bpap; 186 bus_space_handle_t *bshp; 187{ 188 panic("sa11x0_alloc(): Help!"); 189} 190 191 192void |
193sa11x0_bs_unmap(t, size) | 193sa11x0_bs_unmap(t, h, size) |
194 void *t; | 194 void *t; |
195 bus_space_handle_t h; |
|
195 bus_size_t size; 196{ 197 vm_offset_t va, endva; 198 199 if (pmap_devmap_find_va((vm_offset_t)t, size) != NULL) { 200 /* Device was statically mapped; nothing to do. */ 201 return; 202 } --- 46 unchanged lines hidden --- | 196 bus_size_t size; 197{ 198 vm_offset_t va, endva; 199 200 if (pmap_devmap_find_va((vm_offset_t)t, size) != NULL) { 201 /* Device was statically mapped; nothing to do. */ 202 return; 203 } --- 46 unchanged lines hidden --- |