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

Linux Cross Reference
Linux/include/asm-mips/isadep.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Various ISA level dependant constants.
  3  * Most of the following constants reflect the different layout
  4  * of Coprocessor 0 registers.
  5  *
  6  * Copyright (c) 1998 Harald Koerfgen
  7  *
  8  * $Id: isadep.h,v 1.1 1999/07/26 19:46:00 harald Exp $
  9  */
 10 #include <linux/config.h>
 11 
 12 #ifndef __ASM_MIPS_ISADEP_H
 13 #define __ASM_MIPS_ISADEP_H
 14 
 15 #if defined(CONFIG_CPU_R3000)
 16 /*
 17  * R2000 or R3000
 18  */
 19 
 20 /*
 21  * kernel or user mode? (CP0_STATUS)
 22  */
 23 #define KU_MASK 0x08
 24 #define KU_USER 0x08
 25 #define KU_KERN 0x00
 26 
 27 #else
 28 /*
 29  * kernel or user mode?
 30  */
 31 #define KU_MASK 0x18
 32 #define KU_USER 0x10
 33 #define KU_KERN 0x00
 34 
 35 #endif
 36 
 37 #endif /* __ASM_MIPS_ISADEP_H */
 38 

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

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.