操作系统学习笔记(21)--中断描述符表设置

来源:互联网 发布:走进科学知乎 编辑:程序博客网 时间:2024/05/16 08:20

 

与此相关的IDTR

 

基本定义

IDT_Pointer:
 dw 0              -- 表长
 dd 00             -- 基地址

 


 lidt [IDT_Pointer]

 

 基地址和表长

 

IDT_Pointer是6个字节长,高4个字节是32 Bit Linear Base Address,低2个字节是16 Bit Table Limit。

 

 On power up or reset of the processor, the base address is set to the default value of 0 and
the limit is set to FFFFH

 

 SIDT设置IDTR寄存器

 LIDT装载IDTR寄存器

原创粉丝点击