OSDev.org

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

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: ok simple questions..
PostPosted: Thu Jul 19, 2001 1:41 pm 
Whats IDT, GDT, TSS, BOOTP?


Top
  
 
 Post subject: Re: ok simple questions..
PostPosted: Thu Jul 19, 2001 9:59 pm 
Offline
Member
Member
User avatar

Joined: Fri Oct 22, 2004 11:00 pm
Posts: 1076
they are pmode stuff. you really need to understand basics of pmode if your going to code an OS on x86 hardware.

(bootp is a network thing tho)

_________________
-- Stu --


Top
 Profile  
 
 Post subject: Re: ok simple questions..
PostPosted: Mon Jul 23, 2001 7:21 pm 
DF is right, he's got some info on the FAQ part of this site, also try the 80386 Programmers Reference Manual
(http://webster.cs.ucr.edu/Page_asm/Doc386/TOC.HTM)

Here's the quick rundown:

IDT: Interrupt Descriptor Table. ?A table with 8 byte entries that define how the processor handles interrupts. ?To write/get to the interrupt handler for interrupt n:

offset = IDT_BASE + 8 * n

GDT: Global Descriptor Table. In protected mode, this is also a table of 8 byte entries that define the segments your system uses. ?These entries are called segment descriptors. ?You can use these to implement protection, virtual memory (although most people use paging for this one), priviledge levels, etc. ?Segments are now 8 byte aligned starting with zero (dummy segment), so 0x08, 0x10, 0x18, etc

TSS: Task state segment. ?A processor-managed (and OS managed) data structure that defines the context (state) of the current task (including registers, protection level, segments, etc). ?When you jump to a TSS, the processor initiates a TASK switch, and saves the status of the current running task in its TSS, so you can resume that (or any task) at (almost) any time without losing the state of the task.

BOOTP: ?Cars, Bikes, Trains, Chickens??? Where did this one come from? ?Anyway, BOOTP is a protocol somewhat (vaguely) similar to DHCP in that it lets you grap network configuration info from a central server at boottime (or whatever time you need to reconfig your interface). ?NICS with BOOT(P)ROMS can actually use BOOTP to load and execute a file from the server at boot time, thereby allowing the implementation of totally diskless workstations.

I'm not the most accurate source for this information, don't take what I say as gospel. ?Check out the 80386 Manual listed above as well as other sources for info.

HTH,
Breckin


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 99 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