About the GDT in the kernel...
Moderator:Moderators
-
- Posts:7
- Joined:Sun Apr 24, 2011 3:32 pm
Why do we need to setup the GDT in the kernel if you already did it in the bootloader?
Re: About the GDT in the kernel...
Hello,
Technically it is not needed, however it is done for the following reasons:
-reduce dependency between kernel and a specific bootloader;
-allows the kernel developer to easily modify the GDT during runtime. This is important as it allows the kernel to setup the GDT depending on system needs or configuration.
Technically it is not needed, however it is done for the following reasons:
-reduce dependency between kernel and a specific bootloader;
-allows the kernel developer to easily modify the GDT during runtime. This is important as it allows the kernel to setup the GDT depending on system needs or configuration.
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com