avadhpatel / marss

PTLsim and QEMU based Computer Architecture Research Simulator
http://www.marss86.org
128 stars 63 forks source link

Multiple virtual addresses have same physical address #69

Open b-saideepak opened 3 years ago

b-saideepak commented 3 years ago

Hi all,

I was analyzing some virtual addresses and their corresponding physical addresses. Surprisingly, sometimes, the same virtual address is translated to different physical addresses. Also, sometimes, different virtual addresses are translated to the same physical address. I am quite confused here. Can anyone explain what's happening here? I am displaying my findings here:

same virtual to different physical- 7f7073bf5000 1171f97f0 7f7073bf5000 116c05e08 7f7073bf5000 116db8ce8 7f7073bf5000 117124fa8

Different virtual to same physical(the virtual addresses correspond to different pages here, but they are getting translated to same physical)- 7f7073bef000 1bac000 7f7073bf0000 1bac000 7f7073bf1000 1bac000 7f7073bf2000 1bac000 7f7073bf3000 1bac000 7f7073bf4000 1bac000 7f7073bf5000 1bac000 7f7073bf6000 1bac000

Any comments are welcome. Thanks in advance.

Regards, Saideepak.