uvm_pdaemon.h revision 1.4
11.4Sperry/* $NetBSD: uvm_pdaemon.h,v 1.4 1998/02/10 02:35:00 perry Exp $ */ 21.1Smrg 31.1Smrg/* 41.1Smrg * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE! 51.1Smrg * >>>USE AT YOUR OWN RISK, WORK IS NOT FINISHED<<< 61.1Smrg */ 71.1Smrg/* 81.1Smrg * Copyright (c) 1997 Charles D. Cranor and Washington University. 91.1Smrg * Copyright (c) 1991, 1993, The Regents of the University of California. 101.1Smrg * 111.1Smrg * All rights reserved. 121.1Smrg * 131.1Smrg * This code is derived from software contributed to Berkeley by 141.1Smrg * The Mach Operating System project at Carnegie-Mellon University. 151.1Smrg * 161.1Smrg * Redistribution and use in source and binary forms, with or without 171.1Smrg * modification, are permitted provided that the following conditions 181.1Smrg * are met: 191.1Smrg * 1. Redistributions of source code must retain the above copyright 201.1Smrg * notice, this list of conditions and the following disclaimer. 211.1Smrg * 2. Redistributions in binary form must reproduce the above copyright 221.1Smrg * notice, this list of conditions and the following disclaimer in the 231.1Smrg * documentation and/or other materials provided with the distribution. 241.1Smrg * 3. All advertising materials mentioning features or use of this software 251.1Smrg * must display the following acknowledgement: 261.1Smrg * This product includes software developed by Charles D. Cranor, 271.1Smrg * Washington University, the University of California, Berkeley and 281.1Smrg * its contributors. 291.1Smrg * 4. Neither the name of the University nor the names of its contributors 301.1Smrg * may be used to endorse or promote products derived from this software 311.1Smrg * without specific prior written permission. 321.1Smrg * 331.1Smrg * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 341.1Smrg * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 351.1Smrg * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 361.1Smrg * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 371.1Smrg * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 381.1Smrg * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 391.1Smrg * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 401.1Smrg * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 411.1Smrg * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 421.1Smrg * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 431.1Smrg * SUCH DAMAGE. 441.1Smrg * 451.1Smrg * @(#)vm_pageout.h 8.2 (Berkeley) 1/12/94 461.3Smrg * from: Id: uvm_pdaemon.h,v 1.1.2.4 1998/02/02 20:07:20 chuck Exp 471.1Smrg * 481.1Smrg * 491.1Smrg * Copyright (c) 1987, 1990 Carnegie-Mellon University. 501.1Smrg * All rights reserved. 511.1Smrg * 521.1Smrg * Permission to use, copy, modify and distribute this software and 531.1Smrg * its documentation is hereby granted, provided that both the copyright 541.1Smrg * notice and this permission notice appear in all copies of the 551.1Smrg * software, derivative works or modified versions, and any portions 561.1Smrg * thereof, and that both notices appear in supporting documentation. 571.1Smrg * 581.1Smrg * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 591.1Smrg * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 601.1Smrg * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 611.1Smrg * 621.1Smrg * Carnegie Mellon requests users of this software to return to 631.1Smrg * 641.1Smrg * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 651.1Smrg * School of Computer Science 661.1Smrg * Carnegie Mellon University 671.1Smrg * Pittsburgh PA 15213-3890 681.1Smrg * 691.1Smrg * any improvements or extensions that they make and grant Carnegie the 701.1Smrg * rights to redistribute these changes. 711.1Smrg */ 721.1Smrg 731.4Sperry#ifndef _UVM_UVM_PDAEMON_H_ 741.4Sperry#define _UVM_UVM_PDAEMON_H_ 751.4Sperry 761.1Smrg/* 771.1Smrg * uvm_pdaemon.h: page daemon hooks 781.1Smrg */ 791.1Smrg 801.1SmrgUVMHIST_DECL(pdhist); 811.1Smrg 821.1Smrg/* 831.1Smrg * prototypes 841.1Smrg */ 851.1Smrg 861.1Smrgvoid uvm_wait __P((char *)); 871.4Sperry 881.4Sperry#endif /* _UVM_UVM_PDAEMON_H_ */ 89