OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18ebd39
)
Add interrupt vector
author
Yoshinori Sato
<ysato@users.sourceforge.jp>
Mon, 12 Jan 2015 08:46:52 +0000
(17:46 +0900)
committer
Yoshinori Sato
<ysato@users.sourceforge.jp>
Mon, 12 Jan 2015 08:46:52 +0000
(17:46 +0900)
arch/h8300/kernel/head_rom.S
patch
|
blob
|
history
diff --git
a/arch/h8300/kernel/head_rom.S
b/arch/h8300/kernel/head_rom.S
index
c969b18
..
9123421
100644
(file)
--- a/
arch/h8300/kernel/head_rom.S
+++ b/
arch/h8300/kernel/head_rom.S
@@
-5,11
+5,13
@@
.h8300h
#define SYSCR 0xfee012
#define IRAMTOP 0xffff20
+#define NR_INT 64
#endif
#if defined(CONFIG_CPU_H8S)
.h8300s
#define INTCR 0xffff31
#define IRAMTOP 0xffc000
+#define NR_INT 128
#endif
__HEAD
@@
-92,4
+94,15
@@
_start:
1:
bra 1b
+#if defined(CONFIG_ROMKERNEL)
+ /* interrupt vector */
+ .section .vectors,"ax"
+ .long _start
+ .long _start
+vector = 2
+ .rept NR_INT - 2
+ .long _interrupt_redirect_table+vector*4
+vector = vector + 1
+ .endr
+#endif
.end