~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/sparc/include/asm/vaddrs.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/sparc/include/asm/vaddrs.h (Architecture sparc64) and /arch/i386/include/asm-i386/vaddrs.h (Architecture i386)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 #ifndef _SPARC_VADDRS_H                           
  3 #define _SPARC_VADDRS_H                           
  4                                                   
  5 #include <asm/head.h>                             
  6                                                   
  7 /*                                                
  8  * asm/vaddrs.h:  Here we define the virtual a    
  9  *                      which important things    
 10  *                                                
 11  * Copyright (C) 1995 David S. Miller (davem@c    
 12  * Copyright (C) 2000 Anton Blanchard (anton@s    
 13  */                                               
 14                                                   
 15 #define SRMMU_MAXMEM            0x0c000000        
 16                                                   
 17 #define SRMMU_NOCACHE_VADDR     (KERNBASE + SR    
 18                                 /* = 0x0fc0000    
 19 /* XXX Empiricals - this needs to go away - KM    
 20 #define SRMMU_MIN_NOCACHE_PAGES (550)             
 21 #define SRMMU_MAX_NOCACHE_PAGES (1280)            
 22                                                   
 23 /* The following constant is used in mm/srmmu.    
 24  * to determine the amount of memory that will    
 25  *                                                
 26  * 256 pages will be taken as nocache per each    
 27  * SRMMU_NOCACHE_ALCRATIO MB of system memory.    
 28  *                                                
 29  * limits enforced:     nocache minimum = 256     
 30  *                      nocache maximum = 1280    
 31  */                                               
 32 #define SRMMU_NOCACHE_ALCRATIO  64      /* 256    
 33                                                   
 34 #ifndef __ASSEMBLY__                              
 35 #include <asm/kmap_size.h>                        
 36                                                   
 37 enum fixed_addresses {                            
 38         FIX_HOLE,                                 
 39 #ifdef CONFIG_HIGHMEM                             
 40         FIX_KMAP_BEGIN,                           
 41         FIX_KMAP_END = (KM_MAX_IDX * NR_CPUS),    
 42 #endif                                            
 43         __end_of_fixed_addresses                  
 44 };                                                
 45 #endif                                            
 46                                                   
 47 /* Leave one empty page between IO pages at 0x    
 48  * the top of the fixmap.                         
 49  */                                               
 50 #define FIXADDR_TOP             (0xfcfff000UL)    
 51 #define FIXADDR_SIZE            ((FIX_KMAP_END    
 52 #define FIXADDR_START           (FIXADDR_TOP -    
 53                                                   
 54 #define __fix_to_virt(x)        (FIXADDR_TOP -    
 55                                                   
 56 #define SUN4M_IOBASE_VADDR      0xfd000000 /*     
 57 #define IOBASE_VADDR            0xfe000000        
 58 #define IOBASE_END              0xfe600000        
 59                                                   
 60 #define KADB_DEBUGGER_BEGVM     0xffc00000 /*     
 61 #define KADB_DEBUGGER_ENDVM     0xffd00000        
 62 #define DEBUG_FIRSTVADDR        KADB_DEBUGGER_    
 63 #define DEBUG_LASTVADDR         KADB_DEBUGGER_    
 64                                                   
 65 #define LINUX_OPPROM_BEGVM      0xffd00000        
 66 #define LINUX_OPPROM_ENDVM      0xfff00000        
 67                                                   
 68 #define DVMA_VADDR              0xfff00000 /*     
 69 #define DVMA_END                0xfffc0000        
 70                                                   
 71 #endif /* !(_SPARC_VADDRS_H) */                   
 72                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php