xref: /netbsd-src/usr.sbin/crash/extern.h (revision 101a9782a2670cc325fa104786a3088cfe8dfd81)
1*101a9782Sad /*	$NetBSD: extern.h,v 1.1 2009/03/07 22:08:08 ad Exp $	*/
2*101a9782Sad 
3*101a9782Sad /*-
4*101a9782Sad  * Copyright (c) 2009 The NetBSD Foundation, Inc.
5*101a9782Sad  * All rights reserved.
6*101a9782Sad  *
7*101a9782Sad  * This code is derived from software contributed to The NetBSD Foundation
8*101a9782Sad  * by Andrew Doran.
9*101a9782Sad  *
10*101a9782Sad  * Redistribution and use in source and binary forms, with or without
11*101a9782Sad  * modification, are permitted provided that the following conditions
12*101a9782Sad  * are met:
13*101a9782Sad  * 1. Redistributions of source code must retain the above copyright
14*101a9782Sad  *    notice, this list of conditions and the following disclaimer.
15*101a9782Sad  * 2. Redistributions in binary form must reproduce the above copyright
16*101a9782Sad  *    notice, this list of conditions and the following disclaimer in the
17*101a9782Sad  *    documentation and/or other materials provided with the distribution.
18*101a9782Sad  *
19*101a9782Sad  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20*101a9782Sad  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21*101a9782Sad  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22*101a9782Sad  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23*101a9782Sad  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24*101a9782Sad  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25*101a9782Sad  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26*101a9782Sad  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27*101a9782Sad  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28*101a9782Sad  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29*101a9782Sad  * POSSIBILITY OF SUCH DAMAGE.
30*101a9782Sad  */
31*101a9782Sad 
32*101a9782Sad void	db_mach_init(kvm_t *);
33*101a9782Sad 
34*101a9782Sad extern char	osrelease[];
35