2
* linux/include/asm-h8300/traps.h
4
* Copyright (C) 2003 Yoshinori Sato <ysato@users.sourceforge.jp>
6
* This file is subject to the terms and conditions of the GNU General Public
7
* License. See the file COPYING in the main directory of this archive
11
#ifndef _H8300_TRAPS_H
12
#define _H8300_TRAPS_H
14
extern void system_call(void);
15
extern void interrupt_entry(void);
16
extern void trace_break(void);
18
#define JMP_OP 0x5a000000
19
#define JSR_OP 0x5e000000
20
#define VECTOR(address) ((JMP_OP)|((unsigned long)address))
21
#define REDIRECT(address) ((JSR_OP)|((unsigned long)address))
30
#if defined(__H8300H__)
33
#if defined(__H8300S__)
37
#endif /* _H8300_TRAPS_H */