I am confused, What're the differences between the "Page Table" concept and GDT?
Are the two the same? Alternatives? (if yes, they are alternatives so I could omit GDT forever and use Page Table only)?
Or GDT is just the implementation of the Page Table concept?
Is page table and GDT the same thing?
Is page table and GDT the same thing?
Not all who wander are lost.
Re: Is page table and GDT the same thing?
Is using a search engine so hard?
GDT:
https://en.wikipedia.org/wiki/Global_Descriptor_Table
Page Table:
https://en.wikipedia.org/wiki/Page_table
GDT:
https://en.wikipedia.org/wiki/Global_Descriptor_Table
Page Table:
https://en.wikipedia.org/wiki/Page_table
Re: Is page table and GDT the same thing?
The two are completely and entirely unrelated. The GDT defines the segments in the system. Most OSes just make all the segments span the entire address space, but there are exceptions to this. Like the TSS, which actually needs a nonzero base and limit. Anyway, you usually need the segments to set up other attributes, like the CPL or the default instruction size.
The page tables on the other hand define the pages, that is, the mapping from virtual to physical addresses. Altogether different concept.
The page tables on the other hand define the pages, that is, the mapping from virtual to physical addresses. Altogether different concept.
Carpe diem!
Re: Is page table and GDT the same thing?
Thank you.kzinti wrote:Is using a search engine so hard?
I just wanted to understand relationship between, but I found this.
thanks again.
Not all who wander are lost.
Re: Is page table and GDT the same thing?
That's a pretty good overall view of the memory system.
Re: Is page table and GDT the same thing?
Thank you so much.nullplan wrote:The two are completely and entirely unrelated. The GDT defines the segments in the system. Most OSes just make all the segments span the entire address space, but there are exceptions to this. Like the TSS, which actually needs a nonzero base and limit. Anyway, you usually need the segments to set up other attributes, like the CPL or the default instruction size.
The page tables on the other hand define the pages, that is, the mapping from virtual to physical addresses. Altogether different concept.
Not all who wander are lost.