flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
BOTOKILLER
Hi everyone!
Yeah, I figured out how paging interacts with segments - LDT ![]() Where can I find LDT tutorial??? |
|||
![]() |
|
DJ Mauretto
Always Intel Manuals
![]() _________________ Nil Volentibus Arduum ![]() |
|||
![]() |
|
BOTOKILLER
Which one???
|
|||
![]() |
|
f2
BOTOKILLER wrote: Which one??? Intel Architecture Software Developer’s Manual Volume 3: System Programming Guide Hope you will search by yourself next time... |
|||
![]() |
|
BOTOKILLER
edfed wrote:
I read them, In fact they are opened in a few tabs of chrome which I never close... |
|||
![]() |
|
BOTOKILLER
I cant find where LDT entry format is mentioned...
|
|||
![]() |
|
f2
it's probably wiritten somewhere in Intel manuals (but I don't know where, I'm not interested about implementing such obsolete things like LDTs).
I have searched the Internet and I found an interesting page about segmentation on x86: http://book.opensourceproject.org.cn/kernel/kernel3rd/opensource/0596005652/understandlk-chp-2-sect-2.html |
|||
![]() |
|
BOTOKILLER
f2 wrote: it's probably wiritten somewhere in Intel manuals (but I don't know where, I'm not interested about implementing such obsolete things like LDTs). but LDT must somehow point to Page tables... |
|||
![]() |
|
qandrew
BOTOKILLER wrote:
The LDT isn't related to Paging! Why? It just isn't. As Wikipedia mentions, "On x86 processors not having paging features, like the Intel 80286, the LDT is essential to implementing separate address spaces for multiple processes.". You should choose what you want to use: it is either Paging or LDT. Not both at the same time. |
|||
![]() |
|
BOTOKILLER
![]() ![]() ![]() ![]() |
|||
![]() |
|
revolution
LDT/GDT defines segments and thus affects CS, DS, etc.
Paging defines access to memory pages and is independent of segments. Most modern OSes effectively disable segmentation by defining all segments to be 4GB (or run in 64 bit mode where there are no segments of consequence (except that pesky GS thing)). |
|||
![]() |
|
BOTOKILLER
So, I just have to put all segments to point to whole address space???
That simple ![]() ![]() ![]() Thanks guys!!! Last edited by BOTOKILLER on 28 Jul 2011, 13:01; edited 1 time in total |
|||
![]() |
|
f2
Hmm... Well.
I fully agree that you ask lot of questions about something you can't understand. But mostly, you can easily answer these questions: - by reading carefully the Intel manuals, - or by following all existing tutorials about OS development. - and, of course, if you have a question, search on theOSDev Wiki, the FASM board, or on Google. Post here ONLY if you can't find an answer that question. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.