1*f595094cSriastradh /* $NetBSD: uvm_rndsource.h,v 1.1 2023/07/17 12:55:37 riastradh Exp $ */ 2*f595094cSriastradh 3*f595094cSriastradh /*- 4*f595094cSriastradh * Copyright (c) 2023 The NetBSD Foundation, Inc. 5*f595094cSriastradh * All rights reserved. 6*f595094cSriastradh * 7*f595094cSriastradh * Redistribution and use in source and binary forms, with or without 8*f595094cSriastradh * modification, are permitted provided that the following conditions 9*f595094cSriastradh * are met: 10*f595094cSriastradh * 1. Redistributions of source code must retain the above copyright 11*f595094cSriastradh * notice, this list of conditions and the following disclaimer. 12*f595094cSriastradh * 2. Redistributions in binary form must reproduce the above copyright 13*f595094cSriastradh * notice, this list of conditions and the following disclaimer in the 14*f595094cSriastradh * documentation and/or other materials provided with the distribution. 15*f595094cSriastradh * 16*f595094cSriastradh * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17*f595094cSriastradh * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18*f595094cSriastradh * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19*f595094cSriastradh * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20*f595094cSriastradh * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21*f595094cSriastradh * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22*f595094cSriastradh * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23*f595094cSriastradh * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24*f595094cSriastradh * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25*f595094cSriastradh * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26*f595094cSriastradh * POSSIBILITY OF SUCH DAMAGE. 27*f595094cSriastradh */ 28*f595094cSriastradh 29*f595094cSriastradh #ifndef _UVM_UVM_RNDSOURCE_H 30*f595094cSriastradh #define _UVM_UVM_RNDSOURCE_H 31*f595094cSriastradh 32*f595094cSriastradh #include <sys/rndsource.h> 33*f595094cSriastradh 34*f595094cSriastradh extern struct krndsource uvm_fault_rndsource; 35*f595094cSriastradh 36*f595094cSriastradh #endif /* _UVM_UVM_RNDSOURCE_H */ 37