"jmp $" commnd is generating a general protection exception

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
aks

"jmp $" commnd is generating a general protection exception

Post by aks »

i am developing a simple os for prototyping purposes. i have until now enabled paging and written the enabled the PIC controller.the IDT entries have also been made. i have also enabled the interrupts. now if i give a jmp $ statement a general protection interrupt is generated. could anyone plz tell me the reason?
hartyl

RE:

Post by hartyl »

there must be an other reason for the GPF sincd the jmp $ does nothing (really nothing), but hang.
try:

cli
jmp $

maybe an hardware is generated, the idt somehow wrong and we got the #GPF. i'm entirely sure that the jmp $ is not the reason - you may post code.

greets, hartyl
ASHLEY4

RE:

Post by ASHLEY4 »

Try duping letters to screen, to see how far your os gets.

ASHLEY4.
Post Reply