X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/7804c2dae30700296c3205aaf7f546f491999bf4..b26d3165c52589d1f8de37bf0df27ad96f460f47:/lunaix-os/scripts/templates/i386/i386_intrhnds.S.j2?ds=sidebyside diff --git a/lunaix-os/scripts/templates/i386/i386_intrhnds.S.j2 b/lunaix-os/scripts/templates/i386/i386_intrhnds.S.j2 index 3f9b585..26067ac 100644 --- 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 @@ -10,10 +12,10 @@ jmp interrupt_wrapper .endm .section .text -{% for isrdef in data["exception"] %} +{% for isrdef in data["exception"]["ivdefs"] %} {% if isrdef["has_errcode"] %} - isr_template {{ isrdef["index"] }}, no_error_code=0 + isr_template {{ isrdef["iv"] }}, no_error_code=0 {% else %} - isr_template {{ isrdef["index"] }}, no_error_code=1 + isr_template {{ isrdef["iv"] }}, no_error_code=1 {% endif %} {% endfor %}