cregit-Linux how code gets into the kernel

Release 4.11 arch/arm/include/asm/insn.h

#ifndef __ASM_ARM_INSN_H

#define __ASM_ARM_INSN_H


static inline unsigned long arm_gen_nop(void) { #ifdef CONFIG_THUMB2_KERNEL return 0xf3af8000; /* nop.w */ #else return 0xe1a00000; /* mov r0, r0 */ #endif }

Contributors

PersonTokensPropCommitsCommitProp
Rabin Vincent25100.00%1100.00%
Total25100.00%1100.00%

unsigned long __arm_gen_branch(unsigned long pc, unsigned long addr, bool link);
static inline unsigned long arm_gen_branch(unsigned long pc, unsigned long addr) { return __arm_gen_branch(pc, addr, false); }

Contributors

PersonTokensPropCommitsCommitProp
Rabin Vincent26100.00%1100.00%
Total26100.00%1100.00%


static inline unsigned long arm_gen_branch_link(unsigned long pc, unsigned long addr) { return __arm_gen_branch(pc, addr, true); }

Contributors

PersonTokensPropCommitsCommitProp
Rabin Vincent26100.00%1100.00%
Total26100.00%1100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Rabin Vincent101100.00%2100.00%
Total101100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.