- 1
- 0
- 约5.37千字
- 约 55页
- 2017-04-18 发布于上海
- 举报
中断、定时和系统调用;中断和异常;中断信号处理;中断;中断请求和中断控制器响应;异常;中断门描述符;不同类型的中断门描述符;中断门描述符表;中断门描述符表结构;Linux对中断的使用;初始化中断门描述符表;/* This is the default interrupt handler :-) */
int_msg:
.asciz Unknown interrupt\n
ALIGN
ignore_int:
cld
pushl%eax
pushl %ecx
pushl %edx
pushl %es
pushl %ds
movl $(__KERNEL_DS),%eax
movl %eax,%ds
movl %eax,%es
pushl $int_msg
call SYMBOL_NAME(printk)
popl %eax
popl %ds
popl %es
popl %edx
popl %ecx
popl %eax
iret;/*
* setup_idt
*
* sets up a idt with 256 entries pointing to
* ignore_int, interrupt gates. It doesnt actually load
* idt - that can be done only after p
原创力文档

文档评论(0)