xref: /netbsd-src/sys/arch/xen/include/kernfs_machdep.h (revision 0d31d3264f253a393cf219f0eba99bce3bc8f082)
1*0d31d326Ssnj /*	$NetBSD: kernfs_machdep.h,v 1.3 2009/10/23 02:32:33 snj Exp $	*/
2977bfc35Scl 
3977bfc35Scl /*
4977bfc35Scl  *
5977bfc35Scl  * Copyright (c) 2004 Christian Limpach.
6977bfc35Scl  * All rights reserved.
7977bfc35Scl  *
8977bfc35Scl  * Redistribution and use in source and binary forms, with or without
9977bfc35Scl  * modification, are permitted provided that the following conditions
10977bfc35Scl  * are met:
11977bfc35Scl  * 1. Redistributions of source code must retain the above copyright
12977bfc35Scl  *    notice, this list of conditions and the following disclaimer.
13977bfc35Scl  * 2. Redistributions in binary form must reproduce the above copyright
14977bfc35Scl  *    notice, this list of conditions and the following disclaimer in the
15977bfc35Scl  *    documentation and/or other materials provided with the distribution.
16977bfc35Scl  *
17977bfc35Scl  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18977bfc35Scl  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19977bfc35Scl  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20977bfc35Scl  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21977bfc35Scl  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22977bfc35Scl  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23977bfc35Scl  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24977bfc35Scl  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25977bfc35Scl  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26977bfc35Scl  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27977bfc35Scl  */
28977bfc35Scl 
29977bfc35Scl 
30977bfc35Scl #ifndef _XEN_KERNFS_MACHDEP_H
31977bfc35Scl #define _XEN_KERNFS_MACHDEP_H
32977bfc35Scl 
33977bfc35Scl void xenkernfs_init(void);
34977bfc35Scl 
35977bfc35Scl extern kernfs_parentdir_t *kernxen_pkt;
36977bfc35Scl 
37977bfc35Scl #endif /* _XEN_KERNFS_MACHDEP_H_ */
38