Page 2 of 2
Re:GDT
Posted: Mon Jun 30, 2003 8:56 am
by slacker
does it really matter if the accessed bit is set to 1 when i set up my GDT?
Re:GDT
Posted: Mon Jun 30, 2003 9:13 am
by Pype.Clicker
no. that's a write-only bit for the cpu. It will never read or use its value. It just fills it with a 1 when it accesses the segment so that the software can keep track of segment useage and optionnally implement segments-based virtual memory (swapping out a whole code segment from memory when it's no longer used).
no need to say that paging-based virtual memory has been preferred by OS designers.
Re:GDT
Posted: Mon Jun 30, 2003 9:52 am
by slacker
what does the available for system software bit do?
Re:GDT
Posted: Mon Jun 30, 2003 12:36 pm
by Tim
Nothing. It's available for use by system software (hence the name). You can use it for whatever you want.