im trying to make my own kernel.... my kernel is loaded through grub...
i tried creating the gdt and idt for myself...
i dont know how to test the gdt and as far as the idt is concerned it failed to capture the division by zero error ...

source code - https://github.com/pawangogna/pkern

any help regarding this is appreciated ...
also can i run my idt without creating a gdt since my gdt is already provided by grub !

P.S. i am following this tutorial http://www.osdever.net/bkerndev/Docs/idt.htm

never mind i fixed it !!

commented: Good job! +5
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.