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

TOMOYO Linux Cross Reference
Linux/arch/s390/kernel/reipl.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/s390/kernel/reipl.S (Version linux-6.12-rc7) and /arch/sparc/kernel/reipl.S (Version linux-4.18.20)


  1 /* SPDX-License-Identifier: GPL-2.0 */            
  2 /*                                                
  3  *    Copyright IBM Corp 2000, 2011               
  4  *    Author(s): Holger Smolinski <Holger.Smoli    
  5  *               Denis Joseph Barrow,             
  6  */                                               
  7                                                   
  8 #include <linux/linkage.h>                        
  9 #include <asm/asm-offsets.h>                      
 10 #include <asm/nospec-insn.h>                      
 11 #include <asm/sigp.h>                             
 12 #include <asm/lowcore.h>                          
 13                                                   
 14         GEN_BR_THUNK %r9                          
 15                                                   
 16 #                                                 
 17 # Issue "store status" for the current CPU to     
 18 # and call passed function afterwards             
 19 #                                                 
 20 # r2 = Function to be called after store statu    
 21 # r3 = Parameter for function                     
 22 #                                                 
 23 SYM_CODE_START(store_status)                      
 24         STMG_LC %r0,%r15,__LC_GPREGS_SAVE_AREA    
 25         /* General purpose registers */           
 26         GET_LC  %r13                              
 27         /* Control registers */                   
 28         stctg   %c0,%c15,__LC_CREGS_SAVE_AREA(    
 29         /* Access registers */                    
 30         stamy   %a0,%a15,__LC_AREGS_SAVE_AREA(    
 31         /* Floating point registers */            
 32         lay     %r1,__LC_FPREGS_SAVE_AREA(%r13    
 33         std     %f0, 0x00(%r1)                    
 34         std     %f1, 0x08(%r1)                    
 35         std     %f2, 0x10(%r1)                    
 36         std     %f3, 0x18(%r1)                    
 37         std     %f4, 0x20(%r1)                    
 38         std     %f5, 0x28(%r1)                    
 39         std     %f6, 0x30(%r1)                    
 40         std     %f7, 0x38(%r1)                    
 41         std     %f8, 0x40(%r1)                    
 42         std     %f9, 0x48(%r1)                    
 43         std     %f10,0x50(%r1)                    
 44         std     %f11,0x58(%r1)                    
 45         std     %f12,0x60(%r1)                    
 46         std     %f13,0x68(%r1)                    
 47         std     %f14,0x70(%r1)                    
 48         std     %f15,0x78(%r1)                    
 49         /* Floating point control register */     
 50         lay     %r1,__LC_FP_CREG_SAVE_AREA(%r1    
 51         stfpc   0(%r1)                            
 52         /* CPU timer */                           
 53         lay     %r1,__LC_CPU_TIMER_SAVE_AREA(%    
 54         stpt    0(%r1)                            
 55         /* Store prefix register */               
 56         lay     %r1,__LC_PREFIX_SAVE_AREA(%r13    
 57         stpx    0(%r1)                            
 58         /* Clock comparator - seven bytes */      
 59         larl    %r4,clkcmp                        
 60         stckc   0(%r4)                            
 61         lay     %r1,__LC_CLOCK_COMP_SAVE_AREA(    
 62         mvc     1(7,%r1),1(%r4)                   
 63         /* Program status word */                 
 64         lay     %r1,__LC_PSW_SAVE_AREA(%r13)      
 65         epsw    %r4,%r5                           
 66         st      %r4,0(%r1)                        
 67         st      %r5,4(%r1)                        
 68         stg     %r2,8(%r1)                        
 69         lgr     %r9,%r2                           
 70         lgr     %r2,%r3                           
 71         BR_EX   %r9                               
 72 SYM_CODE_END(store_status)                        
 73                                                   
 74         .section .bss                             
 75         .balign 8                                 
 76 SYM_DATA_LOCAL(clkcmp,  .quad 0x00000000000000    
 77         .previous                                 
                                                      

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