home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / KERNEL-S / V1.2 / LINUX-1.2 / LINUX-1 / linux / include / asm-sparc / contregs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-02  |  1.0 KB  |  20 lines

  1. #ifndef _SPARC_CONTREGS_H
  2. #define _SPARC_CONTREGS_H
  3.  
  4. /* contregs.h:  Addresses of registers in the ASI_CONTROL alternate address
  5.                 space. These are for the mmu's context register, etc.
  6.  
  7.    Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu)
  8. */
  9.  
  10. #define AC_CONTEXT    0x30000000    /* current mmu-context, handy for invalidate()'s ;-)   */
  11. #define AC_SENABLE    0x40000000    /* system dvma/cache enable, plus special reset poking */
  12. #define AC_CACHETAGS  0x80000000    /* direct access to the VAC cache, unused...          */
  13. #define AC_SYNC_ERR   0x60000000    /* what type of synchronous memory error happened      */
  14. #define AC_SYNC_VA    0x60000004    /* what virtual address caused the error to occur      */
  15. #define AC_ASYNC_ERR  0x60000008    /* what type of asynchronous mem-error happened        */
  16. #define AC_ASYNC_VA   0x6000000c    /* what virtual address caused the async-err to happen */
  17. #define AC_CACHEDDATA 0x90000000    /* where the actual VAC cached data sits               */
  18.  
  19. #endif /* _SPARC_CONTREGS_H */
  20.