Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/m68k/include De-__P
details: https://anonhg.NetBSD.org/src/rev/b52fc41b1e16
branches: trunk
changeset: 569671:b52fc41b1e16
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Aug 28 21:31:07 2004 +0000
description:
De-__P
diffstat:
sys/arch/m68k/include/bus_dma.h | 96 +++++++++++++++++-----------------
sys/arch/m68k/include/cacheops.h | 40 +++++++-------
sys/arch/m68k/include/frame.h | 10 +-
sys/arch/m68k/include/ieeefp.h | 11 +++-
sys/arch/m68k/include/lock.h | 19 +-----
sys/arch/m68k/include/m68k.h | 22 ++++----
sys/arch/m68k/include/pmap_motorola.h | 14 ++--
sys/arch/m68k/include/reg.h | 6 +-
sys/arch/m68k/include/svr4_machdep.h | 4 +-
9 files changed, 111 insertions(+), 111 deletions(-)
diffs (truncated from 408 to 300 lines):
diff -r e710f0bd2c8d -r b52fc41b1e16 sys/arch/m68k/include/bus_dma.h
--- a/sys/arch/m68k/include/bus_dma.h Sat Aug 28 21:24:20 2004 +0000
+++ b/sys/arch/m68k/include/bus_dma.h Sat Aug 28 21:31:07 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.h,v 1.3 2003/12/04 13:05:16 keihan Exp $ */
+/* $NetBSD: bus_dma.h,v 1.4 2004/08/28 21:31:07 thorpej Exp $ */
/*
* This file was extracted from from alpha/include/bus.h
@@ -143,33 +143,33 @@
/*
* DMA mapping methods.
*/
- int (*_dmamap_create) __P((bus_dma_tag_t, bus_size_t, int,
- bus_size_t, bus_size_t, int, bus_dmamap_t *));
- void (*_dmamap_destroy) __P((bus_dma_tag_t, bus_dmamap_t));
- int (*_dmamap_load) __P((bus_dma_tag_t, bus_dmamap_t, void *,
- bus_size_t, struct proc *, int));
- int (*_dmamap_load_mbuf) __P((bus_dma_tag_t, bus_dmamap_t,
- struct mbuf *, int));
- int (*_dmamap_load_uio) __P((bus_dma_tag_t, bus_dmamap_t,
- struct uio *, int));
- int (*_dmamap_load_raw) __P((bus_dma_tag_t, bus_dmamap_t,
- bus_dma_segment_t *, int, bus_size_t, int));
- void (*_dmamap_unload) __P((bus_dma_tag_t, bus_dmamap_t));
- void (*_dmamap_sync) __P((bus_dma_tag_t, bus_dmamap_t,
- bus_addr_t, bus_size_t, int));
+ int (*_dmamap_create)(bus_dma_tag_t, bus_size_t, int,
+ bus_size_t, bus_size_t, int, bus_dmamap_t *);
+ void (*_dmamap_destroy)(bus_dma_tag_t, bus_dmamap_t);
+ int (*_dmamap_load)(bus_dma_tag_t, bus_dmamap_t, void *,
+ bus_size_t, struct proc *, int);
+ int (*_dmamap_load_mbuf)(bus_dma_tag_t, bus_dmamap_t,
+ struct mbuf *, int);
+ int (*_dmamap_load_uio)(bus_dma_tag_t, bus_dmamap_t,
+ struct uio *, int);
+ int (*_dmamap_load_raw)(bus_dma_tag_t, bus_dmamap_t,
+ bus_dma_segment_t *, int, bus_size_t, int);
+ void (*_dmamap_unload)(bus_dma_tag_t, bus_dmamap_t);
+ void (*_dmamap_sync)(bus_dma_tag_t, bus_dmamap_t,
+ bus_addr_t, bus_size_t, int);
/*
* DMA memory utility functions.
*/
- int (*_dmamem_alloc) __P((bus_dma_tag_t, bus_size_t, bus_size_t,
- bus_size_t, bus_dma_segment_t *, int, int *, int));
- void (*_dmamem_free) __P((bus_dma_tag_t,
- bus_dma_segment_t *, int));
- int (*_dmamem_map) __P((bus_dma_tag_t, bus_dma_segment_t *,
- int, size_t, caddr_t *, int));
- void (*_dmamem_unmap) __P((bus_dma_tag_t, caddr_t, size_t));
- paddr_t (*_dmamem_mmap) __P((bus_dma_tag_t, bus_dma_segment_t *,
- int, off_t, int, int));
+ int (*_dmamem_alloc)(bus_dma_tag_t, bus_size_t, bus_size_t,
+ bus_size_t, bus_dma_segment_t *, int, int *, int);
+ void (*_dmamem_free)(bus_dma_tag_t,
+ bus_dma_segment_t *, int);
+ int (*_dmamem_map)(bus_dma_tag_t, bus_dma_segment_t *,
+ int, size_t, caddr_t *, int);
+ void (*_dmamem_unmap)(bus_dma_tag_t, caddr_t, size_t);
+ paddr_t (*_dmamem_mmap)(bus_dma_tag_t, bus_dma_segment_t *,
+ int, off_t, int, int);
};
#define bus_dmamap_create(t, s, n, m, b, f, p) \
@@ -227,34 +227,34 @@
};
#ifdef _M68K_BUS_DMA_PRIVATE
-int _bus_dmamap_create __P((bus_dma_tag_t, bus_size_t, int, bus_size_t,
- bus_size_t, int, bus_dmamap_t *));
-void _bus_dmamap_destroy __P((bus_dma_tag_t, bus_dmamap_t));
+int _bus_dmamap_create(bus_dma_tag_t, bus_size_t, int, bus_size_t,
+ bus_size_t, int, bus_dmamap_t *);
+void _bus_dmamap_destroy(bus_dma_tag_t, bus_dmamap_t);
-int _bus_dmamap_load_direct __P((bus_dma_tag_t, bus_dmamap_t,
- void *, bus_size_t, struct proc *, int));
-int _bus_dmamap_load_mbuf_direct __P((bus_dma_tag_t,
- bus_dmamap_t, struct mbuf *, int));
-int _bus_dmamap_load_uio_direct __P((bus_dma_tag_t,
- bus_dmamap_t, struct uio *, int));
-int _bus_dmamap_load_raw_direct __P((bus_dma_tag_t,
- bus_dmamap_t, bus_dma_segment_t *, int, bus_size_t, int));
+int _bus_dmamap_load_direct(bus_dma_tag_t, bus_dmamap_t,
+ void *, bus_size_t, struct proc *, int);
+int _bus_dmamap_load_mbuf_direct(bus_dma_tag_t,
+ bus_dmamap_t, struct mbuf *, int);
+int _bus_dmamap_load_uio_direct(bus_dma_tag_t,
+ bus_dmamap_t, struct uio *, int);
+int _bus_dmamap_load_raw_direct(bus_dma_tag_t,
+ bus_dmamap_t, bus_dma_segment_t *, int, bus_size_t, int);
-void _bus_dmamap_unload __P((bus_dma_tag_t, bus_dmamap_t));
-void _bus_dmamap_sync __P((bus_dma_tag_t, bus_dmamap_t, bus_addr_t,
- bus_size_t, int));
+void _bus_dmamap_unload(bus_dma_tag_t, bus_dmamap_t);
+void _bus_dmamap_sync(bus_dma_tag_t, bus_dmamap_t, bus_addr_t,
+ bus_size_t, int);
-int _bus_dmamem_alloc __P((bus_dma_tag_t tag, bus_size_t size,
+int _bus_dmamem_alloc(bus_dma_tag_t tag, bus_size_t size,
bus_size_t alignment, bus_size_t boundary,
- bus_dma_segment_t *segs, int nsegs, int *rsegs, int flags));
-void _bus_dmamem_free __P((bus_dma_tag_t tag, bus_dma_segment_t *segs,
- int nsegs));
-int _bus_dmamem_map __P((bus_dma_tag_t tag, bus_dma_segment_t *segs,
- int nsegs, size_t size, caddr_t *kvap, int flags));
-void _bus_dmamem_unmap __P((bus_dma_tag_t tag, caddr_t kva,
- size_t size));
-paddr_t _bus_dmamem_mmap __P((bus_dma_tag_t tag, bus_dma_segment_t *segs,
- int nsegs, off_t off, int prot, int flags));
+ bus_dma_segment_t *segs, int nsegs, int *rsegs, int flags);
+void _bus_dmamem_free(bus_dma_tag_t tag, bus_dma_segment_t *segs,
+ int nsegs);
+int _bus_dmamem_map(bus_dma_tag_t tag, bus_dma_segment_t *segs,
+ int nsegs, size_t size, caddr_t *kvap, int flags);
+void _bus_dmamem_unmap(bus_dma_tag_t tag, caddr_t kva,
+ size_t size);
+paddr_t _bus_dmamem_mmap(bus_dma_tag_t tag, bus_dma_segment_t *segs,
+ int nsegs, off_t off, int prot, int flags);
#endif /* _M68K_BUS_DMA_PRIVATE */
#endif /* _M68K_BUS_DMA_H_ */
diff -r e710f0bd2c8d -r b52fc41b1e16 sys/arch/m68k/include/cacheops.h
--- a/sys/arch/m68k/include/cacheops.h Sat Aug 28 21:24:20 2004 +0000
+++ b/sys/arch/m68k/include/cacheops.h Sat Aug 28 21:31:07 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cacheops.h,v 1.9 2002/11/02 20:03:06 chs Exp $ */
+/* $NetBSD: cacheops.h,v 1.10 2004/08/28 21:31:07 thorpej Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -151,24 +151,24 @@
#endif /* M68K_CACHEOPS_NTYPES == 1 */
-void _DCFA __P((void));
-void _DCFL __P((paddr_t));
-void _DCFP __P((paddr_t));
-void _DCIA __P((void));
-void _DCIAS __P((paddr_t));
-void _DCIS __P((void));
-void _DCIU __P((void));
-void _DCPA __P((void));
-void _DCPL __P((paddr_t));
-void _DCPP __P((paddr_t));
-void _ICIA __P((void));
-void _ICPA __P((void));
-void _ICPL __P((paddr_t));
-void _ICPP __P((paddr_t));
-void _PCIA __P((void));
-void _TBIA __P((void));
-void _TBIAS __P((void));
-void _TBIAU __P((void));
-void _TBIS __P((vaddr_t));
+void _DCFA(void);
+void _DCFL(paddr_t);
+void _DCFP(paddr_t);
+void _DCIA(void);
+void _DCIAS(paddr_t);
+void _DCIS(void);
+void _DCIU(void);
+void _DCPA(void);
+void _DCPL(paddr_t);
+void _DCPP(paddr_t);
+void _ICIA(void);
+void _ICPA(void);
+void _ICPL(paddr_t);
+void _ICPP(paddr_t);
+void _PCIA(void);
+void _TBIA(void);
+void _TBIAS(void);
+void _TBIAU(void);
+void _TBIS(vaddr_t);
#endif /* _M68K_CACHEOPS_H_ */
diff -r e710f0bd2c8d -r b52fc41b1e16 sys/arch/m68k/include/frame.h
--- a/sys/arch/m68k/include/frame.h Sat Aug 28 21:24:20 2004 +0000
+++ b/sys/arch/m68k/include/frame.h Sat Aug 28 21:31:07 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: frame.h,v 1.23 2003/09/25 22:04:17 christos Exp $ */
+/* $NetBSD: frame.h,v 1.24 2004/08/28 21:31:07 thorpej Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@@ -241,7 +241,7 @@
* Utility function to relocate the initial frame, make room to restore an
* exception frame and reenter the syscall.
*/
-void reenter_syscall __P((struct frame *, int)) __attribute__((__noreturn__));
+void reenter_syscall(struct frame *, int) __attribute__((__noreturn__));
/*
* Create an FPU "idle" frame for use by cpu_setmcontext()
@@ -249,10 +249,10 @@
extern void m68k_make_fpu_idle_frame(void);
extern struct fpframe m68k_cached_fpu_idle_frame;
-void *getframe(struct lwp *, int, int *);
-void buildcontext(struct lwp *, void *, void *);
+void *getframe(struct lwp *, int, int *);
+void buildcontext(struct lwp *, void *, void *);
#ifdef COMPAT_16
-void sendsig_sigcontext(const ksiginfo_t *, const sigset_t *);
+void sendsig_sigcontext(const ksiginfo_t *, const sigset_t *);
#endif
#endif /* _KERNEL */
diff -r e710f0bd2c8d -r b52fc41b1e16 sys/arch/m68k/include/ieeefp.h
--- a/sys/arch/m68k/include/ieeefp.h Sat Aug 28 21:24:20 2004 +0000
+++ b/sys/arch/m68k/include/ieeefp.h Sat Aug 28 21:31:07 2004 +0000
@@ -1,7 +1,8 @@
-/* $NetBSD: ieeefp.h,v 1.3 1998/01/05 07:02:59 perry Exp $ */
+/* $NetBSD: ieeefp.h,v 1.4 2004/08/28 21:31:07 thorpej Exp $ */
/*
* Written by J.T. Conklin, Apr 6, 1995
+ * Modified by Jason R. Thorpe, June 22, 2003
* Public domain.
*/
@@ -22,4 +23,12 @@
FP_RP=3 /* round toward positive infinity */
} fp_rnd;
+typedef enum {
+ FP_PE=0, /* extended-precision (64-bit) */
+ FP_PS=1, /* single-precision (24-bit) */
+ FP_PD=2 /* double-precision (53-bit) */
+} fp_prec;
+
+#define __HAVE_FP_PREC
+
#endif /* _M68K_IEEEFP_H_ */
diff -r e710f0bd2c8d -r b52fc41b1e16 sys/arch/m68k/include/lock.h
--- a/sys/arch/m68k/include/lock.h Sat Aug 28 21:24:20 2004 +0000
+++ b/sys/arch/m68k/include/lock.h Sat Aug 28 21:31:07 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lock.h,v 1.5 2003/09/26 22:46:01 nathanw Exp $ */
+/* $NetBSD: lock.h,v 1.6 2004/08/28 21:31:07 thorpej Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -43,23 +43,14 @@
#ifndef _M68K_LOCK_H_
#define _M68K_LOCK_H_
-static __inline void __cpu_simple_lock_init __P((__cpu_simple_lock_t *))
- __attribute__((__unused__));
-static __inline void __cpu_simple_lock __P((__cpu_simple_lock_t *))
- __attribute__((__unused__));
-static __inline int __cpu_simple_lock_try __P((__cpu_simple_lock_t *))
- __attribute__((__unused__));
-static __inline void __cpu_simple_unlock __P((__cpu_simple_lock_t *))
- __attribute__((__unused__));
-
-static __inline void
+static __inline void __unused
__cpu_simple_lock_init(__cpu_simple_lock_t *alp)
{
*alp = __SIMPLELOCK_UNLOCKED;
}
-static __inline void
+static __inline void __unused
__cpu_simple_lock(__cpu_simple_lock_t *alp)
{
@@ -69,7 +60,7 @@
: "=m" (*alp));
}
-static __inline int
+static __inline int __unused
__cpu_simple_lock_try(__cpu_simple_lock_t *alp)
{
int __rv;
@@ -85,7 +76,7 @@
return (__rv);
}
-static __inline void
+static __inline void __unused
__cpu_simple_unlock(__cpu_simple_lock_t *alp)
{
diff -r e710f0bd2c8d -r b52fc41b1e16 sys/arch/m68k/include/m68k.h
--- a/sys/arch/m68k/include/m68k.h Sat Aug 28 21:24:20 2004 +0000
+++ b/sys/arch/m68k/include/m68k.h Sat Aug 28 21:31:07 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: m68k.h,v 1.9 2003/08/07 16:28:14 agc Exp $ */
+/* $NetBSD: m68k.h,v 1.10 2004/08/28 21:31:07 thorpej Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@@ -134,27 +134,27 @@
struct trapframe;
Home |
Main Index |
Thread Index |
Old Index