netbsd32_core.c revision 1.12
11.12Smatt/* $NetBSD: netbsd32_core.c,v 1.12 2005/06/10 05:10:13 matt Exp $ */ 21.1Sthorpej 31.1Sthorpej/* 41.1Sthorpej * Copyright (c) 1997 Charles D. Cranor and Washington University. 51.1Sthorpej * Copyright (c) 1991, 1993 The Regents of the University of California. 61.1Sthorpej * Copyright (c) 1988 University of Utah. 71.1Sthorpej * 81.1Sthorpej * All rights reserved. 91.1Sthorpej * 101.1Sthorpej * This code is derived from software contributed to Berkeley by 111.1Sthorpej * the Systems Programming Group of the University of Utah Computer 121.1Sthorpej * Science Department. 131.1Sthorpej * 141.1Sthorpej * Redistribution and use in source and binary forms, with or without 151.1Sthorpej * modification, are permitted provided that the following conditions 161.1Sthorpej * are met: 171.1Sthorpej * 1. Redistributions of source code must retain the above copyright 181.1Sthorpej * notice, this list of conditions and the following disclaimer. 191.1Sthorpej * 2. Redistributions in binary form must reproduce the above copyright 201.1Sthorpej * notice, this list of conditions and the following disclaimer in the 211.1Sthorpej * documentation and/or other materials provided with the distribution. 221.1Sthorpej * 3. All advertising materials mentioning features or use of this software 231.1Sthorpej * must display the following acknowledgement: 241.1Sthorpej * This product includes software developed by Charles D. Cranor, 251.1Sthorpej * Washington University, the University of California, Berkeley and 261.1Sthorpej * its contributors. 271.1Sthorpej * 4. Neither the name of the University nor the names of its contributors 281.1Sthorpej * may be used to endorse or promote products derived from this software 291.1Sthorpej * without specific prior written permission. 301.1Sthorpej * 311.1Sthorpej * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 321.1Sthorpej * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 331.1Sthorpej * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 341.1Sthorpej * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 351.1Sthorpej * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 361.1Sthorpej * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 371.1Sthorpej * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 381.1Sthorpej * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 391.1Sthorpej * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 401.1Sthorpej * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 411.1Sthorpej * SUCH DAMAGE. 421.1Sthorpej * 431.1Sthorpej * from: Utah $Hdr: vm_unix.c 1.1 89/11/07$ 441.1Sthorpej * @(#)vm_unix.c 8.1 (Berkeley) 6/11/93 451.1Sthorpej * from: NetBSD: uvm_unix.c,v 1.25 2001/11/10 07:37:01 lukem Exp 461.1Sthorpej */ 471.1Sthorpej 481.1Sthorpej/* 491.3Sthorpej * core_netbsd.c: Support for the historic NetBSD core file format. 501.1Sthorpej */ 511.1Sthorpej 521.1Sthorpej#include <sys/cdefs.h> 531.12Smatt__KERNEL_RCSID(0, "$NetBSD: netbsd32_core.c,v 1.12 2005/06/10 05:10:13 matt Exp $"); 541.1Sthorpej 551.12Smatt#define CORENAME(x) __CONCAT(x,32) 561.12Smatt#define COREINC <compat/netbsd32/netbsd32.h> 571.1Sthorpej 581.12Smatt#include "../../kern/core_netbsd.c" 59