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

TOMOYO Linux Cross Reference
Linux/arch/xtensa/boot/boot-elf/bootstrap.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/xtensa/boot/boot-elf/bootstrap.S (Version linux-6.12-rc7) and /arch/i386/boot/boot-elf/bootstrap.S (Version linux-4.14.336)


  1 /*                                                
  2  * arch/xtensa/boot/boot-elf/bootstrap.S          
  3  *                                                
  4  * Low-level exception handling                   
  5  *                                                
  6  * This file is subject to the terms and condi    
  7  * License.  See the file "COPYING" in the mai    
  8  * for more details.                              
  9  *                                                
 10  * Copyright (C) 2004 - 2013 by Tensilica Inc.    
 11  *                                                
 12  * Chris Zankel <chris@zankel.net>                 
 13  * Marc Gauthier <marc@tensilica.com>              
 14  * Piet Delaney <piet@tensilica.com>               
 15  */                                               
 16                                                   
 17 #include <asm/bootparam.h>                        
 18 #include <asm/initialize_mmu.h>                   
 19 #include <asm/vectors.h>                          
 20 #include <linux/linkage.h>                        
 21                                                   
 22         .section        .ResetVector.text, "ax    
 23         .global         _ResetVector              
 24         .global         reset                     
 25                                                   
 26 _ResetVector:                                     
 27         _j _SetupMMU                              
 28                                                   
 29         .begin  no-absolute-literals              
 30         .literal_position                         
 31                                                   
 32 #ifdef CONFIG_PARSE_BOOTPARAM                     
 33         .align 4                                  
 34 _bootparam:                                       
 35         .short  BP_TAG_FIRST                      
 36         .short  4                                 
 37         .long   BP_VERSION                        
 38         .short  BP_TAG_LAST                       
 39         .short  0                                 
 40         .long   0                                 
 41 #endif                                            
 42                                                   
 43         .align  4                                 
 44 _SetupMMU:                                        
 45 #if XCHAL_HAVE_WINDOWED                           
 46         movi    a0, 0                             
 47         wsr     a0, windowbase                    
 48         rsync                                     
 49         movi    a0, 1                             
 50         wsr     a0, windowstart                   
 51         rsync                                     
 52 #endif                                            
 53         movi    a0, 0x1F                          
 54         wsr     a0, ps                            
 55         rsync                                     
 56                                                   
 57 #ifndef CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VM    
 58         initialize_mmu                            
 59 #endif                                            
 60                                                   
 61         rsil    a0, XCHAL_DEBUGLEVEL-1            
 62         rsync                                     
 63 reset:                                            
 64 #if defined(CONFIG_INITIALIZE_XTENSA_MMU_INSID    
 65         XCHAL_HAVE_PTP_MMU && XCHAL_HAVE_SPANN    
 66         movi    a0, CONFIG_KERNEL_LOAD_ADDRESS    
 67 #else                                             
 68         movi    a0, KERNELOFFSET                  
 69 #endif                                            
 70 #ifdef CONFIG_PARSE_BOOTPARAM                     
 71         movi    a2, _bootparam                    
 72 #else                                             
 73         movi    a2, 0                             
 74 #endif                                            
 75         movi    a3, 0                             
 76         movi    a4, 0                             
 77         jx      a0                                
 78                                                   
 79         .end    no-absolute-literals              
                                                      

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