pmap-v6.h (295696) | pmap-v6.h (295703) |
---|---|
1/*- 2 * Copyright 2014 Svatopluk Kraus <onwahe@gmail.com> 3 * Copyright 2014 Michal Meloun <meloun@miracle.cz> 4 * Copyright (c) 1991 Regents of the University of California. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * the Systems Programming Group of the University of Utah Computer --- 28 unchanged lines hidden (view full) --- 37 * map the page tables using the pagetables themselves. This is done to 38 * reduce the impact on kernel virtual memory for lots of sparse address 39 * space, and to reduce the cost of memory to each process. 40 * 41 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90 42 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91 43 * from: FreeBSD: src/sys/i386/include/pmap.h,v 1.70 2000/11/30 44 * | 1/*- 2 * Copyright 2014 Svatopluk Kraus <onwahe@gmail.com> 3 * Copyright 2014 Michal Meloun <meloun@miracle.cz> 4 * Copyright (c) 1991 Regents of the University of California. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * the Systems Programming Group of the University of Utah Computer --- 28 unchanged lines hidden (view full) --- 37 * map the page tables using the pagetables themselves. This is done to 38 * reduce the impact on kernel virtual memory for lots of sparse address 39 * space, and to reduce the cost of memory to each process. 40 * 41 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90 42 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91 43 * from: FreeBSD: src/sys/i386/include/pmap.h,v 1.70 2000/11/30 44 * |
45 * $FreeBSD: head/sys/arm/include/pmap-v6.h 295696 2016-02-17 13:29:17Z skra $ | 45 * $FreeBSD: head/sys/arm/include/pmap-v6.h 295703 2016-02-17 14:39:29Z skra $ |
46 */ 47 48#ifndef _MACHINE_PMAP_H_ 49#define _MACHINE_PMAP_H_ 50 51#include <sys/queue.h> 52#include <sys/_cpuset.h> 53#include <sys/_lock.h> --- 161 unchanged lines hidden (view full) --- 215vm_paddr_t pmap_preboot_get_pages(u_int ); 216void pmap_preboot_map_pages(vm_paddr_t , vm_offset_t , u_int ); 217vm_offset_t pmap_preboot_reserve_pages(u_int ); 218vm_offset_t pmap_preboot_get_vpages(u_int ); 219void pmap_preboot_map_attr(vm_paddr_t, vm_offset_t, vm_size_t, vm_prot_t, 220 vm_memattr_t); 221 222#endif /* _KERNEL */ | 46 */ 47 48#ifndef _MACHINE_PMAP_H_ 49#define _MACHINE_PMAP_H_ 50 51#include <sys/queue.h> 52#include <sys/_cpuset.h> 53#include <sys/_lock.h> --- 161 unchanged lines hidden (view full) --- 215vm_paddr_t pmap_preboot_get_pages(u_int ); 216void pmap_preboot_map_pages(vm_paddr_t , vm_offset_t , u_int ); 217vm_offset_t pmap_preboot_reserve_pages(u_int ); 218vm_offset_t pmap_preboot_get_vpages(u_int ); 219void pmap_preboot_map_attr(vm_paddr_t, vm_offset_t, vm_size_t, vm_prot_t, 220 vm_memattr_t); 221 222#endif /* _KERNEL */ |
223 224// ----------------- TO BE DELETED --------------------------------------------- 225#ifdef _KERNEL 226 227/* 228 * sys/arm/arm/elf_trampoline.c 229 * sys/arm/arm/genassym.c 230 * sys/arm/arm/machdep.c 231 * sys/arm/arm/mp_machdep.c 232 * sys/arm/arm/locore.S 233 * sys/arm/arm/pmap.c 234 * sys/arm/arm/swtch.S 235 * sys/arm/at91/at91_machdep.c 236 * sys/arm/cavium/cns11xx/econa_machdep.c 237 * sys/arm/s3c2xx0/s3c24x0_machdep.c 238 * sys/arm/xscale/ixp425/avila_machdep.c 239 * sys/arm/xscale/i8134x/crb_machdep.c 240 * sys/arm/xscale/i80321/ep80219_machdep.c 241 * sys/arm/xscale/i80321/iq31244_machdep.c 242 * sys/arm/xscale/pxa/pxa_machdep.c 243 */ 244#define PMAP_DOMAIN_KERNEL 0 /* The kernel uses domain #0 */ 245 246#endif /* _KERNEL */ 247// ----------------------------------------------------------------------------- 248 | |
249#endif /* !_MACHINE_PMAP_H_ */ | 223#endif /* !_MACHINE_PMAP_H_ */ |