tsb.c (112879) | tsb.c (113238) |
---|---|
1/*- 2 * Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 12 unchanged lines hidden (view full) --- 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * 28 * from BSDI: pmap.c,v 1.28.2.15 2000/04/27 03:10:31 cp Exp | 1/*- 2 * Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 12 unchanged lines hidden (view full) --- 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * 28 * from BSDI: pmap.c,v 1.28.2.15 2000/04/27 03:10:31 cp Exp |
29 * $FreeBSD: head/sys/sparc64/sparc64/tsb.c 112879 2003-03-31 19:56:55Z jake $ | 29 * $FreeBSD: head/sys/sparc64/sparc64/tsb.c 113238 2003-04-08 06:35:09Z jake $ |
30 */ 31 32#include "opt_ddb.h" 33#include "opt_pmap.h" 34 35#include <sys/param.h> 36#include <sys/queue.h> 37#include <sys/ktr.h> --- 34 unchanged lines hidden (view full) --- 72PMAP_STATS_VAR(tsb_nenter_k_oc); 73PMAP_STATS_VAR(tsb_nenter_u); 74PMAP_STATS_VAR(tsb_nenter_u_oc); 75PMAP_STATS_VAR(tsb_nforeach); 76 77struct tte *tsb_kernel; 78vm_size_t tsb_kernel_mask; 79vm_size_t tsb_kernel_size; | 30 */ 31 32#include "opt_ddb.h" 33#include "opt_pmap.h" 34 35#include <sys/param.h> 36#include <sys/queue.h> 37#include <sys/ktr.h> --- 34 unchanged lines hidden (view full) --- 72PMAP_STATS_VAR(tsb_nenter_k_oc); 73PMAP_STATS_VAR(tsb_nenter_u); 74PMAP_STATS_VAR(tsb_nenter_u_oc); 75PMAP_STATS_VAR(tsb_nforeach); 76 77struct tte *tsb_kernel; 78vm_size_t tsb_kernel_mask; 79vm_size_t tsb_kernel_size; |
80vm_offset_t tsb_kernel_phys; | 80vm_paddr_t tsb_kernel_phys; |
81 82struct tte * 83tsb_tte_lookup(pmap_t pm, vm_offset_t va) 84{ 85 struct tte *bucket; 86 struct tte *tp; 87 u_long sz; 88 u_int i; --- 129 unchanged lines hidden --- | 81 82struct tte * 83tsb_tte_lookup(pmap_t pm, vm_offset_t va) 84{ 85 struct tte *bucket; 86 struct tte *tp; 87 u_long sz; 88 u_int i; --- 129 unchanged lines hidden --- |