Page 1 of 1

virtual memory - short question

Posted: Sat Jul 24, 2004 4:49 am
by Lan
Does the computer translate Every address from the logical into the physical when using paging (even the addresses to all the descriptor tables and not only "regular" addresses)?

Re:virtual memory - short question

Posted: Sat Jul 24, 2004 7:23 am
by Adek336
Yes.

When paging enabled, segmentation is built over paging. The logical adresses, for ex. computated from a seg:off form or read from a GDT entry, are then checked for the physical adress they would point at.

Though, you may need sometimes to provide physical adresses instead of the logical ones. This is the case when using CR3, page directory,table entries, for DMA xfer. Some other also exist, I'm sure.

Cheers