cregit-Linux how code gets into the kernel

Release 4.14 arch/mn10300/include/asm/debugger.h

/* Kernel debugger for MN10300
 *
 * Copyright (C) 2011 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public Licence
 * as published by the Free Software Foundation; either version
 * 2 of the Licence, or (at your option) any later version.
 */

#ifndef _ASM_DEBUGGER_H

#define _ASM_DEBUGGER_H

#if defined(CONFIG_KERNEL_DEBUGGER)

extern int debugger_intercept(enum exception_code, int, int, struct pt_regs *);
extern int at_debugger_breakpoint(struct pt_regs *);

#ifndef CONFIG_MN10300_DEBUGGER_CACHE_NO_FLUSH
extern void debugger_local_cache_flushinv(void);
extern void debugger_local_cache_flushinv_one(u8 *);
#else

static inline void debugger_local_cache_flushinv(void) {}

Contributors

PersonTokensPropCommitsCommitProp
David Howells8100.00%1100.00%
Total8100.00%1100.00%


static inline void debugger_local_cache_flushinv_one(u8 *addr) {}

Contributors

PersonTokensPropCommitsCommitProp
David Howells10100.00%1100.00%
Total10100.00%1100.00%

#endif #else /* CONFIG_KERNEL_DEBUGGER */
static inline int debugger_intercept(enum exception_code excep, int signo, int si_code, struct pt_regs *regs) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
David Howells25100.00%1100.00%
Total25100.00%1100.00%


static inline int at_debugger_breakpoint(struct pt_regs *regs) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
David Howells15100.00%1100.00%
Total15100.00%1100.00%

#endif /* CONFIG_KERNEL_DEBUGGER */ #endif /* _ASM_DEBUGGER_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
David Howells127100.00%3100.00%
Total127100.00%3100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.