Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include vm_offset_t -> vaddr_t, vm_size_t -> vs...
details: https://anonhg.NetBSD.org/src/rev/6a82cfb90170
branches: trunk
changeset: 332271:6a82cfb90170
user: matt <matt%NetBSD.org@localhost>
date: Sat Sep 13 17:41:03 2014 +0000
description:
vm_offset_t -> vaddr_t, vm_size_t -> vsize_t
nuke vm_offset_t and vm_size_t
diffstat:
sys/arch/arm/include/cpufunc_proto.h | 10 +++++-----
sys/arch/arm/include/ofw.h | 15 +++++++--------
sys/arch/arm/include/types.h | 5 +----
3 files changed, 13 insertions(+), 17 deletions(-)
diffs (68 lines):
diff -r 119d00a06a70 -r 6a82cfb90170 sys/arch/arm/include/cpufunc_proto.h
--- a/sys/arch/arm/include/cpufunc_proto.h Sat Sep 13 17:36:41 2014 +0000
+++ b/sys/arch/arm/include/cpufunc_proto.h Sat Sep 13 17:41:03 2014 +0000
@@ -333,11 +333,11 @@
void pj4b_tlb_flushID(void);
void pj4b_tlb_flushID_SE(vaddr_t);
-void pj4b_icache_sync_range(vm_offset_t, vm_size_t);
-void pj4b_idcache_wbinv_range(vm_offset_t, vm_size_t);
-void pj4b_dcache_wbinv_range(vm_offset_t, vm_size_t);
-void pj4b_dcache_inv_range(vm_offset_t, vm_size_t);
-void pj4b_dcache_wb_range(vm_offset_t, vm_size_t);
+void pj4b_icache_sync_range(vaddr_t, vsize_t);
+void pj4b_idcache_wbinv_range(vaddr_t, vsize_t);
+void pj4b_dcache_wbinv_range(vaddr_t, vsize_t);
+void pj4b_dcache_inv_range(vaddr_t, vsize_t);
+void pj4b_dcache_wb_range(vaddr_t, vsize_t);
void pj4b_drain_writebuf(void);
void pj4b_drain_readbuf(void);
diff -r 119d00a06a70 -r 6a82cfb90170 sys/arch/arm/include/ofw.h
--- a/sys/arch/arm/include/ofw.h Sat Sep 13 17:36:41 2014 +0000
+++ b/sys/arch/arm/include/ofw.h Sat Sep 13 17:41:03 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofw.h,v 1.4 2014/01/29 00:42:15 matt Exp $ */
+/* $NetBSD: ofw.h,v 1.5 2014/09/13 17:41:03 matt Exp $ */
/*
* Copyright 1997
@@ -52,13 +52,12 @@
void ofw_boot(int, char *);
void ofw_getbootinfo(char **, char **);
void ofw_configmem(void);
-void ofw_configisa(vm_offset_t *, vm_offset_t *);
-void ofw_configisadma(vm_offset_t *);
-int ofw_isadmarangeintersect(vm_offset_t, vm_offset_t,
- vm_offset_t *, vm_offset_t *);
-vm_offset_t ofw_gettranslation(vm_offset_t);
-vm_offset_t ofw_map(vm_offset_t, vm_size_t, int);
-vm_offset_t ofw_getcleaninfo(void);
+void ofw_configisa(vaddr_t *, vaddr_t *);
+void ofw_configisadma(vaddr_t *);
+int ofw_isadmarangeintersect(vaddr_t, vaddr_t, vaddr_t *, vaddr_t *);
+vaddr_t ofw_gettranslation(vaddr_t);
+vaddr_t ofw_map(vaddr_t, vsize_t, int);
+vaddr_t ofw_getcleaninfo(void);
#ifdef OFWGENCFG
/* Implemented in <ofw/ofwgencfg_machdep.c> */
diff -r 119d00a06a70 -r 6a82cfb90170 sys/arch/arm/include/types.h
--- a/sys/arch/arm/include/types.h Sat Sep 13 17:36:41 2014 +0000
+++ b/sys/arch/arm/include/types.h Sat Sep 13 17:41:03 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.28 2014/08/05 06:24:56 skrll Exp $ */
+/* $NetBSD: types.h,v 1.29 2014/09/13 17:41:03 matt Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@@ -46,9 +46,6 @@
/* NB: This should probably be if defined(_KERNEL) */
#if defined(_NETBSD_SOURCE)
-typedef unsigned long vm_offset_t; /* depreciated */
-typedef unsigned long vm_size_t; /* depreciated */
-
typedef unsigned long paddr_t;
typedef unsigned long psize_t;
typedef unsigned long vaddr_t;
Home |
Main Index |
Thread Index |
Old Index