"STI", in the protected mode,CPU will restart.

Posted by user299668 on Stack Overflow See other posts from Stack Overflow or by user299668
Published on 2010-03-23T07:04:23Z Indexed on 2010/03/23 7:13 UTC
Read the original article Hit count: 307

Filed under:

INTEL X86 Platform. My programme run start at 2M absolute address in protected mode,everything seems ok, but when i enable interrupt with "sti", the CPU will restart. Why? is there any necessary initialization before "enbale interrupt"? i have setup the idtptr, but it seems no work.

© Stack Overflow or respective owner

Related posts about kernel