root/include/asm-sparc/asi.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _SPARC_ASI_H
   2 #define _SPARC_ASI_H
   3 
   4 /* asi.h:  Address Space Identifier values for the sparc.
   5 
   6    Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu)
   7 */
   8 
   9 /* These are sun4c, beware on other architectures. Although things should
  10  * be similar under regular sun4's.
  11  */
  12 
  13 #include <linux/config.h>
  14 #ifdef CONFIG_SUN4M
  15 #include "asi4m.h"
  16 #else
  17 
  18 #define ASI_NULL1        0x0
  19 #define ASI_NULL2        0x1
  20 
  21 /* sun4c and sun4 control registers and mmu/vac ops */
  22 #define ASI_CONTROL          0x2
  23 #define ASI_SEGMAP           0x3
  24 #define ASI_PTE              0x4
  25 #define ASI_HWFLUSHSEG       0x5      /* These are to initiate hw flushes of the cache */
  26 #define ASI_HWFLUSHPAGE      0x6
  27 #define ASI_HWFLUSHCONTEXT   0x7
  28 
  29 
  30 #define ASI_USERTXT      0x8
  31 #define ASI_KERNELTXT    0x9
  32 #define ASI_USERDATA     0xa
  33 #define ASI_KERNELDATA   0xb
  34 
  35 /* VAC Cache flushing on sun4c and sun4 */
  36 
  37 #define ASI_FLUSHSEG     0xc      /* These are for "software" flushes of the cache */
  38 #define ASI_FLUSHPG      0xd
  39 #define ASI_FLUSHCTX     0xe
  40 
  41 
  42 #endif /* CONFIG_SUN4M */
  43 #endif /* _SPARC_ASI_H */

/* [previous][next][first][last][top][bottom][index][help] */