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

TOMOYO Linux Cross Reference
Linux/arch/powerpc/boot/crtsavres.S

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/powerpc/boot/crtsavres.S (Version linux-6.12-rc7) and /arch/m68k/boot/crtsavres.S (Version linux-5.19.17)


  1 /*                                                
  2  * Special support for eabi and SVR4              
  3  *                                                
  4  *   Copyright (C) 1995, 1996, 1998, 2000, 200    
  5  *   Copyright 2008 Freescale Semiconductor, I    
  6  *   Written By Michael Meissner                  
  7  *                                                
  8  * Based on gcc/config/rs6000/crtsavres.asm fr    
  9  *                                                
 10  * This file is free software; you can redistr    
 11  * under the terms of the GNU General Public L    
 12  * Free Software Foundation; either version 2,    
 13  * later version.                                 
 14  *                                                
 15  * In addition to the permissions in the GNU G    
 16  * Free Software Foundation gives you unlimite    
 17  * compiled version of this file with other pr    
 18  * those programs without any restriction comi    
 19  * file.  (The General Public License restrict    
 20  * respects; for example, they cover modificat    
 21  * distribution when not linked into another p    
 22  *                                                
 23  * This file is distributed in the hope that i    
 24  * WITHOUT ANY WARRANTY; without even the impl    
 25  * MERCHANTABILITY or FITNESS FOR A PARTICULAR    
 26  * General Public License for more details.       
 27  *                                                
 28  * You should have received a copy of the GNU     
 29  * along with this program; see the file COPYI    
 30  * the Free Software Foundation, 51 Franklin S    
 31  * Boston, MA 02110-1301, USA.                    
 32  *                                                
 33  *    As a special exception, if you link this    
 34  *    compiled with GCC to produce an executab    
 35  *    the resulting executable to be covered b    
 36  *    This exception does not however invalida    
 37  *    the executable file might be covered by     
 38  */                                               
 39                                                   
 40 #ifdef __powerpc64__                              
 41 #error "On PPC64, FPR save/restore functions a    
 42 #endif                                            
 43                                                   
 44         .file   "crtsavres.S"                     
 45         .section ".text"                          
 46                                                   
 47 #define _GLOBAL(name) \                           
 48         .type name,@function; \                   
 49         .globl name; \                            
 50 name:                                             
 51                                                   
 52 /* Routines for saving integer registers, call    
 53 /* Called with r11 pointing to the stack heade    
 54 /* function, just beyond the end of the intege    
 55                                                   
 56 _GLOBAL(_savegpr_14)                              
 57 _GLOBAL(_save32gpr_14)                            
 58         stw     14,-72(11)      /* save gp reg    
 59 _GLOBAL(_savegpr_15)                              
 60 _GLOBAL(_save32gpr_15)                            
 61         stw     15,-68(11)                        
 62 _GLOBAL(_savegpr_16)                              
 63 _GLOBAL(_save32gpr_16)                            
 64         stw     16,-64(11)                        
 65 _GLOBAL(_savegpr_17)                              
 66 _GLOBAL(_save32gpr_17)                            
 67         stw     17,-60(11)                        
 68 _GLOBAL(_savegpr_18)                              
 69 _GLOBAL(_save32gpr_18)                            
 70         stw     18,-56(11)                        
 71 _GLOBAL(_savegpr_19)                              
 72 _GLOBAL(_save32gpr_19)                            
 73         stw     19,-52(11)                        
 74 _GLOBAL(_savegpr_20)                              
 75 _GLOBAL(_save32gpr_20)                            
 76         stw     20,-48(11)                        
 77 _GLOBAL(_savegpr_21)                              
 78 _GLOBAL(_save32gpr_21)                            
 79         stw     21,-44(11)                        
 80 _GLOBAL(_savegpr_22)                              
 81 _GLOBAL(_save32gpr_22)                            
 82         stw     22,-40(11)                        
 83 _GLOBAL(_savegpr_23)                              
 84 _GLOBAL(_save32gpr_23)                            
 85         stw     23,-36(11)                        
 86 _GLOBAL(_savegpr_24)                              
 87 _GLOBAL(_save32gpr_24)                            
 88         stw     24,-32(11)                        
 89 _GLOBAL(_savegpr_25)                              
 90 _GLOBAL(_save32gpr_25)                            
 91         stw     25,-28(11)                        
 92 _GLOBAL(_savegpr_26)                              
 93 _GLOBAL(_save32gpr_26)                            
 94         stw     26,-24(11)                        
 95 _GLOBAL(_savegpr_27)                              
 96 _GLOBAL(_save32gpr_27)                            
 97         stw     27,-20(11)                        
 98 _GLOBAL(_savegpr_28)                              
 99 _GLOBAL(_save32gpr_28)                            
100         stw     28,-16(11)                        
101 _GLOBAL(_savegpr_29)                              
102 _GLOBAL(_save32gpr_29)                            
103         stw     29,-12(11)                        
104 _GLOBAL(_savegpr_30)                              
105 _GLOBAL(_save32gpr_30)                            
106         stw     30,-8(11)                         
107 _GLOBAL(_savegpr_31)                              
108 _GLOBAL(_save32gpr_31)                            
109         stw     31,-4(11)                         
110         blr                                       
111                                                   
112 /* Routines for restoring integer registers, c    
113 /* Called with r11 pointing to the stack heade    
114 /* function, just beyond the end of the intege    
115                                                   
116 _GLOBAL(_restgpr_14)                              
117 _GLOBAL(_rest32gpr_14)                            
118         lwz     14,-72(11)      /* restore gp     
119 _GLOBAL(_restgpr_15)                              
120 _GLOBAL(_rest32gpr_15)                            
121         lwz     15,-68(11)                        
122 _GLOBAL(_restgpr_16)                              
123 _GLOBAL(_rest32gpr_16)                            
124         lwz     16,-64(11)                        
125 _GLOBAL(_restgpr_17)                              
126 _GLOBAL(_rest32gpr_17)                            
127         lwz     17,-60(11)                        
128 _GLOBAL(_restgpr_18)                              
129 _GLOBAL(_rest32gpr_18)                            
130         lwz     18,-56(11)                        
131 _GLOBAL(_restgpr_19)                              
132 _GLOBAL(_rest32gpr_19)                            
133         lwz     19,-52(11)                        
134 _GLOBAL(_restgpr_20)                              
135 _GLOBAL(_rest32gpr_20)                            
136         lwz     20,-48(11)                        
137 _GLOBAL(_restgpr_21)                              
138 _GLOBAL(_rest32gpr_21)                            
139         lwz     21,-44(11)                        
140 _GLOBAL(_restgpr_22)                              
141 _GLOBAL(_rest32gpr_22)                            
142         lwz     22,-40(11)                        
143 _GLOBAL(_restgpr_23)                              
144 _GLOBAL(_rest32gpr_23)                            
145         lwz     23,-36(11)                        
146 _GLOBAL(_restgpr_24)                              
147 _GLOBAL(_rest32gpr_24)                            
148         lwz     24,-32(11)                        
149 _GLOBAL(_restgpr_25)                              
150 _GLOBAL(_rest32gpr_25)                            
151         lwz     25,-28(11)                        
152 _GLOBAL(_restgpr_26)                              
153 _GLOBAL(_rest32gpr_26)                            
154         lwz     26,-24(11)                        
155 _GLOBAL(_restgpr_27)                              
156 _GLOBAL(_rest32gpr_27)                            
157         lwz     27,-20(11)                        
158 _GLOBAL(_restgpr_28)                              
159 _GLOBAL(_rest32gpr_28)                            
160         lwz     28,-16(11)                        
161 _GLOBAL(_restgpr_29)                              
162 _GLOBAL(_rest32gpr_29)                            
163         lwz     29,-12(11)                        
164 _GLOBAL(_restgpr_30)                              
165 _GLOBAL(_rest32gpr_30)                            
166         lwz     30,-8(11)                         
167 _GLOBAL(_restgpr_31)                              
168 _GLOBAL(_rest32gpr_31)                            
169         lwz     31,-4(11)                         
170         blr                                       
171                                                   
172 /* Routines for restoring integer registers, c    
173 /* Called with r11 pointing to the stack heade    
174 /* function, just beyond the end of the intege    
175                                                   
176 _GLOBAL(_restgpr_14_x)                            
177 _GLOBAL(_rest32gpr_14_x)                          
178         lwz     14,-72(11)      /* restore gp     
179 _GLOBAL(_restgpr_15_x)                            
180 _GLOBAL(_rest32gpr_15_x)                          
181         lwz     15,-68(11)                        
182 _GLOBAL(_restgpr_16_x)                            
183 _GLOBAL(_rest32gpr_16_x)                          
184         lwz     16,-64(11)                        
185 _GLOBAL(_restgpr_17_x)                            
186 _GLOBAL(_rest32gpr_17_x)                          
187         lwz     17,-60(11)                        
188 _GLOBAL(_restgpr_18_x)                            
189 _GLOBAL(_rest32gpr_18_x)                          
190         lwz     18,-56(11)                        
191 _GLOBAL(_restgpr_19_x)                            
192 _GLOBAL(_rest32gpr_19_x)                          
193         lwz     19,-52(11)                        
194 _GLOBAL(_restgpr_20_x)                            
195 _GLOBAL(_rest32gpr_20_x)                          
196         lwz     20,-48(11)                        
197 _GLOBAL(_restgpr_21_x)                            
198 _GLOBAL(_rest32gpr_21_x)                          
199         lwz     21,-44(11)                        
200 _GLOBAL(_restgpr_22_x)                            
201 _GLOBAL(_rest32gpr_22_x)                          
202         lwz     22,-40(11)                        
203 _GLOBAL(_restgpr_23_x)                            
204 _GLOBAL(_rest32gpr_23_x)                          
205         lwz     23,-36(11)                        
206 _GLOBAL(_restgpr_24_x)                            
207 _GLOBAL(_rest32gpr_24_x)                          
208         lwz     24,-32(11)                        
209 _GLOBAL(_restgpr_25_x)                            
210 _GLOBAL(_rest32gpr_25_x)                          
211         lwz     25,-28(11)                        
212 _GLOBAL(_restgpr_26_x)                            
213 _GLOBAL(_rest32gpr_26_x)                          
214         lwz     26,-24(11)                        
215 _GLOBAL(_restgpr_27_x)                            
216 _GLOBAL(_rest32gpr_27_x)                          
217         lwz     27,-20(11)                        
218 _GLOBAL(_restgpr_28_x)                            
219 _GLOBAL(_rest32gpr_28_x)                          
220         lwz     28,-16(11)                        
221 _GLOBAL(_restgpr_29_x)                            
222 _GLOBAL(_rest32gpr_29_x)                          
223         lwz     29,-12(11)                        
224 _GLOBAL(_restgpr_30_x)                            
225 _GLOBAL(_rest32gpr_30_x)                          
226         lwz     30,-8(11)                         
227 _GLOBAL(_restgpr_31_x)                            
228 _GLOBAL(_rest32gpr_31_x)                          
229         lwz     0,4(11)                           
230         lwz     31,-4(11)                         
231         mtlr    0                                 
232         mr      1,11                              
233         blr                                       
                                                      

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