This patch includes generic codes for memory management. Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			532 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			532 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * linux/arch/unicore32/include/mach/map.h
 | 
						|
 *
 | 
						|
 * Code specific to PKUnity SoC and UniCore ISA
 | 
						|
 *
 | 
						|
 * Copyright (C) 2001-2010 GUAN Xue-tao
 | 
						|
 *
 | 
						|
 * This program is free software; you can redistribute it and/or modify
 | 
						|
 * it under the terms of the GNU General Public License version 2 as
 | 
						|
 * published by the Free Software Foundation.
 | 
						|
 *
 | 
						|
 *  Page table mapping constructs and function prototypes
 | 
						|
 */
 | 
						|
#define MT_DEVICE		0
 | 
						|
#define MT_DEVICE_CACHED	2
 | 
						|
#define MT_KUSER		7
 | 
						|
#define MT_HIGH_VECTORS		8
 | 
						|
#define MT_MEMORY		9
 | 
						|
#define MT_ROM			10
 | 
						|
 |