virtual memory - short question

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Lan

virtual memory - short question

Post 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)?
Adek336

Re:virtual memory - short question

Post 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
Post Reply