cregit-Linux how code gets into the kernel

Release 4.16 arch/s390/include/asm/dis.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Disassemble s390 instructions.
 *
 * Copyright IBM Corp. 2007
 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
 */

#ifndef __ASM_S390_DIS_H__

#define __ASM_S390_DIS_H__

#include <asm/dis-defs.h>


static inline int insn_length(unsigned char code) { return ((((int) code + 64) >> 7) + 1) << 1; }

Contributors

PersonTokensPropCommitsCommitProp
Suzuki K. Poulose31100.00%1100.00%
Total31100.00%1100.00%

struct pt_regs; void show_code(struct pt_regs *regs); void print_fn_code(unsigned char *code, unsigned long len); struct s390_insn *find_insn(unsigned char *code);
static inline int is_known_insn(unsigned char *code) { return !!find_insn(code); }

Contributors

PersonTokensPropCommitsCommitProp
Heiko Carstens20100.00%1100.00%
Total20100.00%1100.00%

#endif /* __ASM_S390_DIS_H__ */

Overall Contributors

PersonTokensPropCommitsCommitProp
Heiko Carstens5857.43%457.14%
Suzuki K. Poulose4140.59%114.29%
Greg Kroah-Hartman10.99%114.29%
Hendrik Brueckner10.99%114.29%
Total101100.00%7100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.