uvm_pdaemon.h revision 1.10
11.10Sjunyoung/* $NetBSD: uvm_pdaemon.h,v 1.10 2004/03/24 07:55:01 junyoung Exp $ */ 21.1Smrg 31.9Schs/* 41.1Smrg * Copyright (c) 1997 Charles D. Cranor and Washington University. 51.9Schs * Copyright (c) 1991, 1993, The Regents of the University of California. 61.1Smrg * 71.1Smrg * All rights reserved. 81.1Smrg * 91.1Smrg * This code is derived from software contributed to Berkeley by 101.1Smrg * The Mach Operating System project at Carnegie-Mellon University. 111.1Smrg * 121.1Smrg * Redistribution and use in source and binary forms, with or without 131.1Smrg * modification, are permitted provided that the following conditions 141.1Smrg * are met: 151.1Smrg * 1. Redistributions of source code must retain the above copyright 161.1Smrg * notice, this list of conditions and the following disclaimer. 171.1Smrg * 2. Redistributions in binary form must reproduce the above copyright 181.1Smrg * notice, this list of conditions and the following disclaimer in the 191.1Smrg * documentation and/or other materials provided with the distribution. 201.1Smrg * 3. All advertising materials mentioning features or use of this software 211.1Smrg * must display the following acknowledgement: 221.1Smrg * This product includes software developed by Charles D. Cranor, 231.9Schs * Washington University, the University of California, Berkeley and 241.1Smrg * its contributors. 251.1Smrg * 4. Neither the name of the University nor the names of its contributors 261.1Smrg * may be used to endorse or promote products derived from this software 271.1Smrg * without specific prior written permission. 281.1Smrg * 291.1Smrg * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 301.1Smrg * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 311.1Smrg * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 321.1Smrg * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 331.1Smrg * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 341.1Smrg * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 351.1Smrg * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 361.1Smrg * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 371.1Smrg * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 381.1Smrg * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 391.1Smrg * SUCH DAMAGE. 401.1Smrg * 411.1Smrg * @(#)vm_pageout.h 8.2 (Berkeley) 1/12/94 421.3Smrg * from: Id: uvm_pdaemon.h,v 1.1.2.4 1998/02/02 20:07:20 chuck Exp 431.1Smrg * 441.1Smrg * 451.1Smrg * Copyright (c) 1987, 1990 Carnegie-Mellon University. 461.1Smrg * All rights reserved. 471.9Schs * 481.1Smrg * Permission to use, copy, modify and distribute this software and 491.1Smrg * its documentation is hereby granted, provided that both the copyright 501.1Smrg * notice and this permission notice appear in all copies of the 511.1Smrg * software, derivative works or modified versions, and any portions 521.1Smrg * thereof, and that both notices appear in supporting documentation. 531.9Schs * 541.9Schs * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 551.9Schs * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 561.1Smrg * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 571.9Schs * 581.1Smrg * Carnegie Mellon requests users of this software to return to 591.1Smrg * 601.1Smrg * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 611.1Smrg * School of Computer Science 621.1Smrg * Carnegie Mellon University 631.1Smrg * Pittsburgh PA 15213-3890 641.1Smrg * 651.1Smrg * any improvements or extensions that they make and grant Carnegie the 661.1Smrg * rights to redistribute these changes. 671.1Smrg */ 681.1Smrg 691.4Sperry#ifndef _UVM_UVM_PDAEMON_H_ 701.4Sperry#define _UVM_UVM_PDAEMON_H_ 711.4Sperry 721.1Smrg/* 731.1Smrg * uvm_pdaemon.h: page daemon hooks 741.1Smrg */ 751.1Smrg 761.7Sthorpej#ifdef _KERNEL 771.7Sthorpej 781.1Smrg/* 791.1Smrg * prototypes 801.1Smrg */ 811.1Smrg 821.10Sjunyoungvoid uvm_wait(const char *); 831.7Sthorpej 841.7Sthorpej#endif /* _KERNEL */ 851.4Sperry 861.4Sperry#endif /* _UVM_UVM_PDAEMON_H_ */ 87