Path: blob/master/arch/parisc/include/asm/fixmap.h
10819 views
#ifndef _ASM_FIXMAP_H1#define _ASM_FIXMAP_H23/*4* This file defines the locations of the fixed mappings on parisc.5*6* All of the values in this file are machine virtual addresses.7*8* All of the values in this file must be <4GB (because of assembly9* loading restrictions). If you place this region anywhere above10* __PAGE_OFFSET, you must adjust the memory map accordingly */1112/* The alias region is used in kernel space to do copy/clear to or13* from areas congruently mapped with user space. It is 8MB large14* and must be 16MB aligned */15#define TMPALIAS_MAP_START ((__PAGE_OFFSET) - 16*1024*1024)16/* This is the kernel area for all maps (vmalloc, dma etc.) most17* usually, it extends up to TMPALIAS_MAP_START. Virtual addresses18* 0..GATEWAY_PAGE_SIZE are reserved for the gateway page */19#define KERNEL_MAP_START (GATEWAY_PAGE_SIZE)20#define KERNEL_MAP_END (TMPALIAS_MAP_START)2122#ifndef __ASSEMBLY__23extern void *parisc_vmalloc_start;24#define PCXL_DMA_MAP_SIZE (8*1024*1024)25#define VMALLOC_START ((unsigned long)parisc_vmalloc_start)26#define VMALLOC_END (KERNEL_MAP_END)27#endif /*__ASSEMBLY__*/2829#endif /*_ASM_FIXMAP_H*/303132