Paging and segmentation
Posted: Wed Sep 28, 2005 3:43 am
Hi!
As I continue to struggle with OS dev, I have been reading about paging and segmentation. In the tutorial I'm using, the author creates a GDT with 3 entries, a null descriptor, one for data and one for code. The last two both start at 0 and are 4Gb in size (all of the memory). I am planning to use a memory manager using paging, is it necessary to use a more advanced segmentation system if I'm using paging anyway? I don't understand half of all this segmentation-paging stuff, but according to the intel manual there's no way to get around segmentation, so I wondered if you could get away with such a basic table.
As I continue to struggle with OS dev, I have been reading about paging and segmentation. In the tutorial I'm using, the author creates a GDT with 3 entries, a null descriptor, one for data and one for code. The last two both start at 0 and are 4Gb in size (all of the memory). I am planning to use a memory manager using paging, is it necessary to use a more advanced segmentation system if I'm using paging anyway? I don't understand half of all this segmentation-paging stuff, but according to the intel manual there's no way to get around segmentation, so I wondered if you could get away with such a basic table.