OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 10:05 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Long time, no lurk.  ? about GDT and IDT descript.
PostPosted: Wed Mar 27, 2002 2:36 pm 
Ok.  Long time, no visit.  I've been preoccupied and this OS thing is very time consuming.  So, I'm still stuck on enabling interrupts and I feel like I am stabbing in the dark.  I am coding in C (wherever possible) and using GRUB to boot and I have a very specific question:

If I set up an IDT (I think I fully grok that) and do all the proper INT remapping, IDTR initialization and IF setting, do I have to set up a GDT?  My IDT descriptors have to have a selector into the GDT/LDT that provides operating context, but can I get away with not having this?

Not that I mind setting up the GDT and whatnot, but enabling ints seems like SUCH a complicated procedure and there are apparently no places to stop and do a sanity check, therefore I don't want to try and bore through the GDT and IDT setup together blindly and make it even more complex than it already is.


Top
  
 
 Post subject: Re: Long time, no lurk.  ? about GDT and IDT descr
PostPosted: Wed Mar 27, 2002 6:53 pm 
I guess you have to set up GDT anyways, since you're working in protected mode :) . Or did you mean callgates or something like that?


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 113 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group