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

TOMOYO Linux Cross Reference
Linux/arch/parisc/include/asm/psw.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/parisc/include/asm/psw.h (Architecture m68k) and /arch/mips/include/asm-mips/psw.h (Architecture mips)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 #ifndef _PARISC_PSW_H                             
  3 #define _PARISC_PSW_H                             
  4                                                   
  5 #define PSW_I   0x00000001                        
  6 #define PSW_D   0x00000002                        
  7 #define PSW_P   0x00000004                        
  8 #define PSW_Q   0x00000008                        
  9                                                   
 10 #define PSW_R   0x00000010                        
 11 #define PSW_F   0x00000020                        
 12 #define PSW_G   0x00000040      /* PA1.x only     
 13 #define PSW_O   0x00000080      /* PA2.0 only     
 14                                                   
 15 /* ssm/rsm instructions number PSW_W and PSW_E    
 16 #define PSW_SM_I        PSW_I   /* Enable Exte    
 17 #define PSW_SM_D        PSW_D                     
 18 #define PSW_SM_P        PSW_P                     
 19 #define PSW_SM_Q        PSW_Q   /* Enable Inte    
 20 #define PSW_SM_R        PSW_R   /* Enable Reco    
 21 #define PSW_SM_W        0x200   /* PA2.0 only     
 22                                                   
 23 #define PSW_SM_QUIET    PSW_SM_R+PSW_SM_Q+PSW_    
 24                                                   
 25 #define PSW_CB  0x0000ff00                        
 26                                                   
 27 #define PSW_M   0x00010000                        
 28 #define PSW_V   0x00020000                        
 29 #define PSW_C   0x00040000                        
 30 #define PSW_B   0x00080000                        
 31                                                   
 32 #define PSW_X   0x00100000                        
 33 #define PSW_N   0x00200000                        
 34 #define PSW_L   0x00400000                        
 35 #define PSW_H   0x00800000                        
 36                                                   
 37 #define PSW_T   0x01000000                        
 38 #define PSW_S   0x02000000                        
 39 #define PSW_E   0x04000000                        
 40 #define PSW_W   0x08000000      /* PA2.0 only     
 41 #define PSW_W_BIT       36      /* PA2.0 only     
 42                                                   
 43 #define PSW_Z   0x40000000      /* PA1.x only     
 44 #define PSW_Y   0x80000000      /* PA1.x only     
 45                                                   
 46 #ifdef CONFIG_64BIT                               
 47 #  define PSW_HI_CB 0x000000ff    /* PA2.0 onl    
 48 #endif                                            
 49                                                   
 50 #ifdef CONFIG_64BIT                               
 51 #  define USER_PSW_HI_MASK      PSW_HI_CB         
 52 #  define WIDE_PSW              PSW_W             
 53 #else                                             
 54 #  define WIDE_PSW              0                 
 55 #endif                                            
 56                                                   
 57 /* Used when setting up for rfi */                
 58 #define KERNEL_PSW    (WIDE_PSW | PSW_C | PSW_    
 59 #define REAL_MODE_PSW (WIDE_PSW | PSW_Q)          
 60 #define USER_PSW_MASK (WIDE_PSW | PSW_T | PSW_    
 61 #define USER_PSW      (PSW_C | PSW_Q | PSW_P |    
 62                                                   
 63 #ifndef __ASSEMBLY__                              
 64                                                   
 65 /* The program status word as bitfields.  */      
 66 struct pa_psw {                                   
 67         unsigned int y:1;                         
 68         unsigned int z:1;                         
 69         unsigned int rv:2;                        
 70         unsigned int w:1;                         
 71         unsigned int e:1;                         
 72         unsigned int s:1;                         
 73         unsigned int t:1;                         
 74                                                   
 75         unsigned int h:1;                         
 76         unsigned int l:1;                         
 77         unsigned int n:1;                         
 78         unsigned int x:1;                         
 79         unsigned int b:1;                         
 80         unsigned int c:1;                         
 81         unsigned int v:1;                         
 82         unsigned int m:1;                         
 83                                                   
 84         unsigned int cb:8;                        
 85                                                   
 86         unsigned int o:1;                         
 87         unsigned int g:1;                         
 88         unsigned int f:1;                         
 89         unsigned int r:1;                         
 90         unsigned int q:1;                         
 91         unsigned int p:1;                         
 92         unsigned int d:1;                         
 93         unsigned int i:1;                         
 94 };                                                
 95                                                   
 96 #ifdef CONFIG_64BIT                               
 97 #define pa_psw(task) ((struct pa_psw *) ((char    
 98 #else                                             
 99 #define pa_psw(task) ((struct pa_psw *) ((char    
100 #endif                                            
101                                                   
102 #endif /* !__ASSEMBLY__ */                        
103                                                   
104 #endif                                            
105                                                   

~ [ 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