git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: striped more arch-related code from the kernel code base
[lunaix-os.git]
/
lunaix-os
/
scripts
/
templates
/
i386
/
i386_intrhnds.S.j2
diff --git
a/lunaix-os/scripts/templates/i386/i386_intrhnds.S.j2
b/lunaix-os/scripts/templates/i386/i386_intrhnds.S.j2
index 3f9b58561dae2d0f08654eaf376a2030230a6268..26067ac5149276768474fd35cab2e4f67e70072c 100644
(file)
--- a/
lunaix-os/scripts/templates/i386/i386_intrhnds.S.j2
+++ b/
lunaix-os/scripts/templates/i386/i386_intrhnds.S.j2
@@
-1,3
+1,5
@@
+/* Generated from {{ data["template"] }}. Do NOT modify */
+
#define __ASM__
.macro isr_template vector, no_error_code=1
.global _asm_isr\vector
#define __ASM__
.macro isr_template vector, no_error_code=1
.global _asm_isr\vector
@@
-10,10
+12,10
@@
jmp interrupt_wrapper
.endm
.section .text
jmp interrupt_wrapper
.endm
.section .text
-{% for isrdef in data["exception"] %}
+{% for isrdef in data["exception"]
["ivdefs"]
%}
{% if isrdef["has_errcode"] %}
{% if isrdef["has_errcode"] %}
- isr_template {{ isrdef["i
ndex
"] }}, no_error_code=0
+ isr_template {{ isrdef["i
v
"] }}, no_error_code=0
{% else %}
{% else %}
- isr_template {{ isrdef["i
ndex
"] }}, no_error_code=1
+ isr_template {{ isrdef["i
v
"] }}, no_error_code=1
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}