1 /* $FreeBSD$ */
2 /* $NecBSD: physio_proc.h,v 3.4 1999/07/23 20:47:03 honda Exp $ */
3 /* $NetBSD$ */
4
5 /*-
6 * [NetBSD for NEC PC-98 series]
7 * Copyright (c) 1998
8 * NetBSD/pc98 porting staff. All rights reserved.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:
13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution.
18 * 3. The name of the author may not be used to endorse or promote products
19 * derived from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
22 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
25 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 */
33 #ifndef _COMPAT_NETBSD_PHYSIO_PROC_H_
34 #define _COMPAT_NETBSD_PHYSIO_PROC_H_
35 #include <sys/queue.h>
36
37 struct buf;
38
39 struct physio_proc {
40 };
41
42 static __inline struct physio_proc *physio_proc_enter(struct buf *);
43 static __inline void physio_proc_leave(struct physio_proc *);
44
45 static __inline struct physio_proc *
46 physio_proc_enter(bp)
47 struct buf *bp;
48 {
49 return NULL;
50 }
51
52 static __inline void
53 physio_proc_leave(pp)
54 struct physio_proc *pp;
55 {
56 }
57 #endif /* _COMPAT_NETBSD_PHYSIO_PROC_H_ */
Cache object: 08466b0e5cd09805389f3887b614fde2
|