hw_x86_64: Drop obsolete isr.s assembly file
This commit is contained in:
parent
a361fbd2bc
commit
e3332c6c53
|
@ -12,7 +12,6 @@ INC_DIR += $(REP_DIR)/src/core/include/spec/x86_64
|
||||||
SRC_S += spec/x86_64/mode_transition.s
|
SRC_S += spec/x86_64/mode_transition.s
|
||||||
SRC_S += spec/x86_64/kernel/crt0.s
|
SRC_S += spec/x86_64/kernel/crt0.s
|
||||||
SRC_S += spec/x86_64/crt0.s
|
SRC_S += spec/x86_64/crt0.s
|
||||||
SRC_S += spec/x86_64/isr.s
|
|
||||||
|
|
||||||
# add C++ sources
|
# add C++ sources
|
||||||
SRC_CC += spec/x86_64/kernel/thread_base.cc
|
SRC_CC += spec/x86_64/kernel/thread_base.cc
|
||||||
|
|
|
@ -1,52 +0,0 @@
|
||||||
.data
|
|
||||||
.global _isr_array
|
|
||||||
_isr_array:
|
|
||||||
|
|
||||||
.text
|
|
||||||
|
|
||||||
.macro _isr_entry
|
|
||||||
.align 4, 0x90
|
|
||||||
1: .data
|
|
||||||
.quad 1b
|
|
||||||
.previous
|
|
||||||
.endm
|
|
||||||
|
|
||||||
.macro _exception_with_code vector
|
|
||||||
_isr_entry
|
|
||||||
push $\vector
|
|
||||||
jmp _mt_kernel_entry_pic
|
|
||||||
.endm
|
|
||||||
|
|
||||||
.macro _exception vector
|
|
||||||
_isr_entry
|
|
||||||
push $0
|
|
||||||
push $\vector
|
|
||||||
jmp _mt_kernel_entry_pic
|
|
||||||
.endm
|
|
||||||
|
|
||||||
_exception 0
|
|
||||||
_exception 1
|
|
||||||
_exception 2
|
|
||||||
_exception 3
|
|
||||||
_exception 4
|
|
||||||
_exception 5
|
|
||||||
_exception 6
|
|
||||||
_exception 7
|
|
||||||
_exception_with_code 8
|
|
||||||
_exception 9
|
|
||||||
_exception_with_code 10
|
|
||||||
_exception_with_code 11
|
|
||||||
_exception_with_code 12
|
|
||||||
_exception_with_code 13
|
|
||||||
_exception_with_code 14
|
|
||||||
_exception 15
|
|
||||||
_exception 16
|
|
||||||
_exception_with_code 17
|
|
||||||
_exception 18
|
|
||||||
_exception 19
|
|
||||||
|
|
||||||
.set vec, 20
|
|
||||||
.rept 236
|
|
||||||
_exception vec
|
|
||||||
.set vec, vec + 1
|
|
||||||
.endr
|
|
Loading…
Reference in New Issue