1*5528d7fdSmatt /* $NetBSD: pmap_synci.h,v 1.1 2016/07/11 16:06:09 matt Exp $ */ 2*5528d7fdSmatt /*- 3*5528d7fdSmatt * Copyright (c) 2015 The NetBSD Foundation, Inc. 4*5528d7fdSmatt * All rights reserved. 5*5528d7fdSmatt * 6*5528d7fdSmatt * This code is derived from software contributed to The NetBSD Foundation 7*5528d7fdSmatt * by Matt Thomas of 3am Software Foundry. 8*5528d7fdSmatt * 9*5528d7fdSmatt * Redistribution and use in source and binary forms, with or without 10*5528d7fdSmatt * modification, are permitted provided that the following conditions 11*5528d7fdSmatt * are met: 12*5528d7fdSmatt * 1. Redistributions of source code must retain the above copyright 13*5528d7fdSmatt * notice, this list of conditions and the following disclaimer. 14*5528d7fdSmatt * 2. Redistributions in binary form must reproduce the above copyright 15*5528d7fdSmatt * notice, this list of conditions and the following disclaimer in the 16*5528d7fdSmatt * documentation and/or other materials provided with the distribution. 17*5528d7fdSmatt * 18*5528d7fdSmatt * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 19*5528d7fdSmatt * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 20*5528d7fdSmatt * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21*5528d7fdSmatt * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 22*5528d7fdSmatt * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23*5528d7fdSmatt * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24*5528d7fdSmatt * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25*5528d7fdSmatt * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26*5528d7fdSmatt * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27*5528d7fdSmatt * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28*5528d7fdSmatt * POSSIBILITY OF SUCH DAMAGE. 29*5528d7fdSmatt */ 30*5528d7fdSmatt 31*5528d7fdSmatt #ifndef _UVM_PMAP_PMAP_SYNCI_H_ 32*5528d7fdSmatt #define _UVM_PMAP_PMAP_SYNCI_H_ 33*5528d7fdSmatt 34*5528d7fdSmatt extern u_int pmap_tlb_synci_map_mask; 35*5528d7fdSmatt extern u_int pmap_tlb_synci_page_mask; 36*5528d7fdSmatt 37*5528d7fdSmatt void pmap_tlb_syncicache(vaddr_t, const kcpuset_t *); 38*5528d7fdSmatt void pmap_tlb_syncicache_ast(struct cpu_info *); 39*5528d7fdSmatt void pmap_tlb_syncicache_wanted(struct cpu_info *); 40*5528d7fdSmatt 41*5528d7fdSmatt #endif /* _UVM_PMAP_PMAP_SYNCI_H_ */ 42