flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Protected mode transition

Author
Thread Post new topic Reply to topic
DustWolf



Joined: 26 Jan 2006
Posts: 373
Location: Ljubljana, Slovenia
DustWolf
Hello,

Could somebody please point me to some helpful documentation in regards to what happens to a generic kernel when it makes the transition from real mode to protected mode.

I have been digging trough Linux kernel documentation (handy, since the source is all right there) and I find it mentioned in several areas that a kernel in protected mode has some special standpoint, I find the same to be said about the windows kernel, but it's all very very vague. I cannot derive any useful information from it.

For the record, I am not making a kernel myself or trying to patch up another, I am merely looking at how to smuggle some code into the protected memory durring boot time, independendly of the OS.

Thanks for any help.
Post 26 Apr 2007, 22:05
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
you should rather look for something about 386 protection mechanism, descriptor tables, selectors, paging etc...

processor's system programming manual is most exhaustive documentation, but somewhat hard to read.
Post 26 Apr 2007, 23:14
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Mac2004



Joined: 15 Dec 2003
Posts: 313
Mac2004
DustWolf: Chris Giese has written a bunch of protected mode examples. I think those examples can help you quit a bit. You should find them by using search engines.

regards,
Mac2004
Post 27 Apr 2007, 14:58
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.