38 /* Discard vector and error code. */
43 * Build the handle_exception wrappers which push the vector/error code on the
44 * stack and an array of pointers to those wrappers.
51 .macro HANDLERS has_error from to
56 /* Fetch current address and append it to idt_handlers. */
71 .global idt_handler_code
73 HANDLERS has_error=0 from=0 to=7
74 HANDLERS has_error=1 from=8 to=8
75 HANDLERS has_error=0 from=9 to=9
76 HANDLERS has_error=1 from=10 to=14
77 HANDLERS has_error=0 from=15 to=16
78 HANDLERS has_error=1 from=17 to=17
79 HANDLERS has_error=0 from=18 to=255
81 .section .note.GNU-stack, "", %progbits