How much memory can you access with segmentation (32-bit) and
how much w/ paging?
From only this perseptive (ignoring other pro's and con's), would segmentation be a good choice for a small OS I'm writing (mostly for practice, to "learn the ropes")?
Can you have memory protection with paging?
How can I detect the amount of RAM on a system, and adjust the GDT (if I need too)?
Segmentation memory
With segmentation in protected mode you canaccess max 4GB.
With paging you can access max 64GB
The page can give you very robust protection mechanismPage and segment protection can be combined.
Read the "Intel Architecture Software Developer's Manual Volume 3:System Programming".Chapters 3 and 4 will answer your questions completely.
With paging you can access max 64GB
The page can give you very robust protection mechanismPage and segment protection can be combined.
Read the "Intel Architecture Software Developer's Manual Volume 3:System Programming".Chapters 3 and 4 will answer your questions completely.
Last edited by muisei on Fri Mar 30, 2007 2:04 pm, edited 1 time in total.
-
- Member
- Posts: 97
- Joined: Thu Mar 15, 2007 2:27 pm
4GB
I read 4GB per segment, is that wrong?