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

TOMOYO Linux Cross Reference
Linux/arch/arm/probes/decode-thumb.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/arm/probes/decode-thumb.h (Version linux-6.12-rc7) and /arch/alpha/probes/decode-thumb.h (Version linux-3.10.108)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later *      1 
  2 /*                                                
  3  * arch/arm/probes/decode-thumb.h                 
  4  *                                                
  5  * Copyright 2013 Linaro Ltd.                     
  6  * Written by: David A. Long                      
  7  */                                               
  8                                                   
  9 #ifndef _ARM_KERNEL_PROBES_THUMB_H                
 10 #define  _ARM_KERNEL_PROBES_THUMB_H               
 11                                                   
 12 #include "decode.h"                               
 13                                                   
 14 /*                                                
 15  * True if current instruction is in an IT blo    
 16  */                                               
 17 #define in_it_block(cpsr)       ((cpsr & 0x060    
 18                                                   
 19 /*                                                
 20  * Return the condition code to check for the     
 21  * This is in ITSTATE<7:4> which is in CPSR<15    
 22  * in_it_block returns true.                      
 23  */                                               
 24 #define current_cond(cpsr)      ((cpsr >> 12)     
 25                                                   
 26 enum probes_t32_action {                          
 27         PROBES_T32_EMULATE_NONE,                  
 28         PROBES_T32_SIMULATE_NOP,                  
 29         PROBES_T32_LDMSTM,                        
 30         PROBES_T32_LDRDSTRD,                      
 31         PROBES_T32_TABLE_BRANCH,                  
 32         PROBES_T32_TST,                           
 33         PROBES_T32_CMP,                           
 34         PROBES_T32_MOV,                           
 35         PROBES_T32_ADDSUB,                        
 36         PROBES_T32_LOGICAL,                       
 37         PROBES_T32_ADDWSUBW_PC,                   
 38         PROBES_T32_ADDWSUBW,                      
 39         PROBES_T32_MOVW,                          
 40         PROBES_T32_SAT,                           
 41         PROBES_T32_BITFIELD,                      
 42         PROBES_T32_SEV,                           
 43         PROBES_T32_WFE,                           
 44         PROBES_T32_MRS,                           
 45         PROBES_T32_BRANCH_COND,                   
 46         PROBES_T32_BRANCH,                        
 47         PROBES_T32_PLDI,                          
 48         PROBES_T32_LDR_LIT,                       
 49         PROBES_T32_LDRSTR,                        
 50         PROBES_T32_SIGN_EXTEND,                   
 51         PROBES_T32_MEDIA,                         
 52         PROBES_T32_REVERSE,                       
 53         PROBES_T32_MUL_ADD,                       
 54         PROBES_T32_MUL_ADD2,                      
 55         PROBES_T32_MUL_ADD_LONG,                  
 56         NUM_PROBES_T32_ACTIONS                    
 57 };                                                
 58                                                   
 59 enum probes_t16_action {                          
 60         PROBES_T16_ADD_SP,                        
 61         PROBES_T16_CBZ,                           
 62         PROBES_T16_SIGN_EXTEND,                   
 63         PROBES_T16_PUSH,                          
 64         PROBES_T16_POP,                           
 65         PROBES_T16_SEV,                           
 66         PROBES_T16_WFE,                           
 67         PROBES_T16_IT,                            
 68         PROBES_T16_CMP,                           
 69         PROBES_T16_ADDSUB,                        
 70         PROBES_T16_LOGICAL,                       
 71         PROBES_T16_BLX,                           
 72         PROBES_T16_HIREGOPS,                      
 73         PROBES_T16_LDR_LIT,                       
 74         PROBES_T16_LDRHSTRH,                      
 75         PROBES_T16_LDRSTR,                        
 76         PROBES_T16_ADR,                           
 77         PROBES_T16_LDMSTM,                        
 78         PROBES_T16_BRANCH_COND,                   
 79         PROBES_T16_BRANCH,                        
 80         NUM_PROBES_T16_ACTIONS                    
 81 };                                                
 82                                                   
 83 extern const union decode_item probes_decode_t    
 84 extern const union decode_item probes_decode_t    
 85                                                   
 86 enum probes_insn __kprobes                        
 87 thumb16_probes_decode_insn(probes_opcode_t ins    
 88                 bool emulate, const union deco    
 89                 const struct decode_checker *c    
 90 enum probes_insn __kprobes                        
 91 thumb32_probes_decode_insn(probes_opcode_t ins    
 92                 bool emulate, const union deco    
 93                 const struct decode_checker *c    
 94                                                   
 95 #endif                                            
 96                                                   

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