OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 10:46 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: GRUB
PostPosted: Fri Mar 08, 2002 12:00 am 
GRUB loads kernel, enters protected mode
and jums to my kernel entry point, right?
Where is located GDT, IDT?


Top
  
 
 Post subject: RE:GRUB
PostPosted: Sat Mar 09, 2002 12:00 am 
>On 2002-03-08 02:06:47, Alexei wrote:
>GRUB loads kernel, enters protected mode
>and jums to my kernel entry point, right?
>Where is located GDT, IDT?

Uhm... I don't think so... have you read the docs?
It looks to me like it simply loads your kernel
and jumps to it, loading in any support modules
if need be (such as in a VSTa or MACH microkernel).

I know GRUB is intended for 32-bit pmode OSs, but
it'll also boot DOS, right? So, I doubt it'll
enter pmode (seeing as though DOS can't run
in pmode).

Anybody know for sure?

All this stuff's gotta be in the multiboot
standard, and the GRUB docs, though.
http://www.gnu.org/software/grub/

Jeff


Top
  
 
 Post subject: RE:GRUB
PostPosted: Sat Mar 09, 2002 12:00 am 
>On 2002-03-08 02:06:47, Alexei wrote:
>GRUB loads kernel, enters protected mode
>and jums to my kernel entry point, right?

Right.

>Where is located GDT, IDT?

The location and layout of the GRUB GDT is undefined. You should create your own.

GRUB does not define an IDT. You must create your own.

AFAIK, real-mode is supported only for chain-loaded bootsectors.
This is how GRUB boots DOS.


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] and 97 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