1*ce099b40Smartin /* $NetBSD: pte.h,v 1.20 2008/04/28 20:23:38 martin Exp $ */ 220af809cScgd 303325025Sgwr /*- 4eff2e270Sgwr * Copyright (c) 1998 The NetBSD Foundation, Inc. 5a2133ea2Sglass * All rights reserved. 6a2133ea2Sglass * 7a2133ea2Sglass * Redistribution and use in source and binary forms, with or without 8a2133ea2Sglass * modification, are permitted provided that the following conditions 9a2133ea2Sglass * are met: 10a2133ea2Sglass * 1. Redistributions of source code must retain the above copyright 11a2133ea2Sglass * notice, this list of conditions and the following disclaimer. 12a2133ea2Sglass * 2. Redistributions in binary form must reproduce the above copyright 13a2133ea2Sglass * notice, this list of conditions and the following disclaimer in the 14a2133ea2Sglass * documentation and/or other materials provided with the distribution. 15a2133ea2Sglass * 1603325025Sgwr * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 1703325025Sgwr * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 1803325025Sgwr * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19340699a2Sgwr * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20340699a2Sgwr * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2103325025Sgwr * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2203325025Sgwr * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2303325025Sgwr * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2403325025Sgwr * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2503325025Sgwr * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2603325025Sgwr * POSSIBILITY OF SUCH DAMAGE. 27a2133ea2Sglass */ 2842255b64Sglass 2942255b64Sglass #ifndef _MACHINE_PTE_H 3042255b64Sglass #define _MACHINE_PTE_H 3142255b64Sglass 32eff2e270Sgwr #ifdef _SUN3_ 33eff2e270Sgwr #include <machine/pte3.h> 34eff2e270Sgwr #endif /* SUN3 */ 35eff2e270Sgwr #ifdef _SUN3X_ 36eff2e270Sgwr #include <machine/pte3x.h> 37eff2e270Sgwr #endif /* SUN3X */ 38d3b41623Sglass 39eff2e270Sgwr #if defined(_KERNEL) || defined(_STANDALONE) 4010b1a7beSchs u_int get_pte(vaddr_t va); 4110b1a7beSchs void set_pte(vaddr_t va, u_int pte); 42eff2e270Sgwr #endif /* _KERNEL */ 4342255b64Sglass 44eff2e270Sgwr #endif /* _MACHINE_PTE_H */ 45