VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /usr/src/linux-headers-5.4.0-193/arch/h8300/include/asm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/src/linux-headers-5.4.0-193/arch/h8300/include/asm/kgdb.h
/*
 * Copyright (C) 2015 Yoshinori Sato <ysato@users.sourceforge.jp>
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 */

#ifndef _ASM_H8300_KGDB_H
#define _ASM_H8300_KGDB_H

#define CACHE_FLUSH_IS_SAFE	1
#define BUFMAX			2048

enum regnames {
	GDB_ER0, GDB_ER1, GDB_ER2, GDB_ER3,
	GDB_ER4, GDB_ER5, GDB_ER6, GDB_SP,
	GDB_CCR, GDB_PC,
	GDB_CYCLLE,
#if defined(CONFIG_CPU_H8S)
	GDB_EXR,
#endif
	GDB_TICK, GDB_INST,
#if defined(CONFIG_CPU_H8S)
	GDB_MACH, GDB_MACL,
#endif
	/* do not change the last entry or anything below! */
	GDB_NUMREGBYTES,		/* number of registers */
};

#define GDB_SIZEOF_REG		sizeof(u32)
#if defined(CONFIG_CPU_H8300H)
#define DBG_MAX_REG_NUM		(13)
#elif defined(CONFIG_CPU_H8S)
#define DBG_MAX_REG_NUM		(14)
#endif
#define NUMREGBYTES		(DBG_MAX_REG_NUM * GDB_SIZEOF_REG)

#define BREAK_INSTR_SIZE	2
static inline void arch_kgdb_breakpoint(void)
{
	__asm__ __volatile__("trapa #2");
}

#endif /* _ASM_H8300_KGDB_H */

VaKeR 2022