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

TOMOYO Linux Cross Reference
Linux/arch/mips/include/asm/sn/gda.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/mips/include/asm/sn/gda.h (Architecture i386) and /arch/sparc64/include/asm-sparc64/sn/gda.h (Architecture sparc64)


  1 /*                                                  1 
  2  * This file is subject to the terms and condi    
  3  * License.  See the file "COPYING" in the mai    
  4  * for more details.                              
  5  *                                                
  6  * Derived from IRIX <sys/SN/gda.h>.              
  7  *                                                
  8  * Copyright (C) 1992 - 1997, 2000 Silicon Gra    
  9  *                                                
 10  * gda.h -- Contains the data structure for th    
 11  *      The GDA contains information communica    
 12  *      PROM, SYMMON, and the kernel.             
 13  */                                               
 14 #ifndef _ASM_SN_GDA_H                             
 15 #define _ASM_SN_GDA_H                             
 16                                                   
 17 #include <asm/sn/addrs.h>                         
 18                                                   
 19 /*                                                
 20  * GDA Version History                            
 21  *                                                
 22  * Version #    | Change                          
 23  * -------------+-----------------------------    
 24  *      1       | Initial SN0 version             
 25  *      2       | Prom sets g_partid field to     
 26  *              | a valid partition #.            
 27  */                                               
 28                                                   
 29 #define GDA_VERSION     2       /* Current GDA    
 30                                                   
 31 #define G_MAGICOFF      0                         
 32 #define G_VERSIONOFF    4                         
 33 #define G_PROMOPOFF     6                         
 34 #define G_MASTEROFF     8                         
 35 #define G_VDSOFF        12                        
 36 #define G_HKDNORMOFF    16                        
 37 #define G_HKDUTLBOFF    24                        
 38 #define G_HKDXUTLBOFF   32                        
 39 #define G_PARTIDOFF     40                        
 40 #define G_TABLEOFF      128                       
 41                                                   
 42 #ifndef __ASSEMBLY__                              
 43                                                   
 44 typedef struct gda {                              
 45         u32     g_magic;        /* GDA magic n    
 46         u16     g_version;      /* Version of     
 47         u16     g_masterid;     /* The NASID:C    
 48         u32     g_promop;       /* Passes requ    
 49         u32     g_vds;          /* Store the v    
 50         void    **g_hooked_norm;/* ptr to pda     
 51         void    **g_hooked_utlb;/* ptr to pda     
 52         void    **g_hooked_xtlb;/* ptr to pda     
 53         int     g_partid;       /* partition i    
 54         int     g_symmax;       /* Max symbols    
 55         void    *g_dbstab;      /* Address of     
 56         char    *g_nametab;     /* Address of     
 57         void    *g_ktext_repmask;                 
 58                                 /* Pointer to     
 59                                  * of the kern    
 60         char    g_padding[56];  /* pad out to     
 61         nasid_t g_nasidtable[MAX_NUMNODES]; /*    
 62 } gda_t;                                          
 63                                                   
 64 #define GDA ((gda_t*) GDA_ADDR(get_nasid()))      
 65                                                   
 66 #endif /* !__ASSEMBLY__ */                        
 67 /*                                                
 68  * Define:      PART_GDA_VERSION                  
 69  * Purpose:     Define the minimum version of     
 70  *              revisions assume GDA is NOT se    
 71  *              information from the board inf    
 72  */                                               
 73 #define PART_GDA_VERSION        2                 
 74                                                   
 75 /*                                                
 76  * The following requests can be sent to the P    
 77  */                                               
 78                                                   
 79 #define PROMOP_MAGIC            0x0ead0000        
 80 #define PROMOP_MAGIC_MASK       0x0fff0000        
 81                                                   
 82 #define PROMOP_BIST_SHIFT       11                
 83 #define PROMOP_BIST_MASK        (0x3 << 11)       
 84                                                   
 85 #define PROMOP_REG              PI_ERR_STACK_A    
 86                                                   
 87 #define PROMOP_INVALID          (PROMOP_MAGIC     
 88 #define PROMOP_HALT             (PROMOP_MAGIC     
 89 #define PROMOP_POWERDOWN        (PROMOP_MAGIC     
 90 #define PROMOP_RESTART          (PROMOP_MAGIC     
 91 #define PROMOP_REBOOT           (PROMOP_MAGIC     
 92 #define PROMOP_IMODE            (PROMOP_MAGIC     
 93                                                   
 94 #define PROMOP_CMD_MASK         0x00f0            
 95 #define PROMOP_OPTIONS_MASK     0xfff0            
 96                                                   
 97 #define PROMOP_SKIP_DIAGS       0x0100            
 98 #define PROMOP_SKIP_MEMINIT     0x0200            
 99 #define PROMOP_SKIP_DEVINIT     0x0400            
100 #define PROMOP_BIST1            0x0800            
101 #define PROMOP_BIST2            0x1000            
102                                                   
103 #endif /* _ASM_SN_GDA_H */                        
104                                                   

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