pmap.h (245147) | pmap.h (247046) |
---|---|
1/*- 2 * Copyright (c) 1991 Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * the Systems Programming Group of the University of Utah Computer 7 * Science Department and William Jolitz of UUNET Technologies Inc. 8 * --- 30 unchanged lines hidden (view full) --- 39 * map the page tables using the pagetables themselves. This is done to 40 * reduce the impact on kernel virtual memory for lots of sparse address 41 * space, and to reduce the cost of memory to each process. 42 * 43 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90 44 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91 45 * from: FreeBSD: src/sys/i386/include/pmap.h,v 1.70 2000/11/30 46 * | 1/*- 2 * Copyright (c) 1991 Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * the Systems Programming Group of the University of Utah Computer 7 * Science Department and William Jolitz of UUNET Technologies Inc. 8 * --- 30 unchanged lines hidden (view full) --- 39 * map the page tables using the pagetables themselves. This is done to 40 * reduce the impact on kernel virtual memory for lots of sparse address 41 * space, and to reduce the cost of memory to each process. 42 * 43 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90 44 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91 45 * from: FreeBSD: src/sys/i386/include/pmap.h,v 1.70 2000/11/30 46 * |
47 * $FreeBSD: head/sys/arm/include/pmap.h 245147 2013-01-08 02:40:20Z gonzo $ | 47 * $FreeBSD: head/sys/arm/include/pmap.h 247046 2013-02-20 16:48:52Z alc $ |
48 */ 49 50#ifndef _MACHINE_PMAP_H_ 51#define _MACHINE_PMAP_H_ 52 53#include <machine/pte.h> 54#include <machine/cpuconf.h> 55/* --- 161 unchanged lines hidden (view full) --- 217 return (NULL); 218 return (ptep); 219} 220 221extern vm_paddr_t phys_avail[]; 222extern vm_offset_t virtual_avail; 223extern vm_offset_t virtual_end; 224 | 48 */ 49 50#ifndef _MACHINE_PMAP_H_ 51#define _MACHINE_PMAP_H_ 52 53#include <machine/pte.h> 54#include <machine/cpuconf.h> 55/* --- 161 unchanged lines hidden (view full) --- 217 return (NULL); 218 return (ptep); 219} 220 221extern vm_paddr_t phys_avail[]; 222extern vm_offset_t virtual_avail; 223extern vm_offset_t virtual_end; 224 |
225void pmap_bootstrap(vm_offset_t, vm_offset_t, struct pv_addr *); | 225void pmap_bootstrap(vm_offset_t firstaddr, struct pv_addr *l1pt); |
226int pmap_change_attr(vm_offset_t, vm_size_t, int); 227void pmap_kenter(vm_offset_t va, vm_paddr_t pa); 228void pmap_kenter_nocache(vm_offset_t va, vm_paddr_t pa); 229void *pmap_kenter_temp(vm_paddr_t pa, int i); 230void pmap_kenter_user(vm_offset_t va, vm_paddr_t pa); 231vm_paddr_t pmap_kextract(vm_offset_t va); 232void pmap_kremove(vm_offset_t); 233void *pmap_mapdev(vm_offset_t, vm_size_t); --- 437 unchanged lines hidden --- | 226int pmap_change_attr(vm_offset_t, vm_size_t, int); 227void pmap_kenter(vm_offset_t va, vm_paddr_t pa); 228void pmap_kenter_nocache(vm_offset_t va, vm_paddr_t pa); 229void *pmap_kenter_temp(vm_paddr_t pa, int i); 230void pmap_kenter_user(vm_offset_t va, vm_paddr_t pa); 231vm_paddr_t pmap_kextract(vm_offset_t va); 232void pmap_kremove(vm_offset_t); 233void *pmap_mapdev(vm_offset_t, vm_size_t); --- 437 unchanged lines hidden --- |