作者powertodream (The Beginning)
看板LinuxDev
標題Re: [問題] virtual memory 在 physical memory的位址
時間Tue Oct 26 13:42:39 2010
※ 引述《powertodream (The Beginning)》之銘言:
:
※ 發信站: 批踢踢實業坊(ptt.cc)
: ◆ From: 122.147.15.66
: 推 shaopin:寫個module, 裡面根據user space輸入呼叫vir_to_phy 09/17 13:53
: 推 final01:user space的地址可沒有vir_to_phy可呼叫 要查表 09/18 17:10
: 推 shaopin:kernel module 09/19 00:41
剛剛試了一下, virt_to_phys 只能查到 kmalloc 得到的 address...
那如果想要查 process 的 page table map
該怎麼進行?
感恩!
--
人類從歷史得到的教訓就是人類不曾從歷史得到教訓
(黑格爾).
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.87.64.222
1F:→ jenallen:keyword:pte, pmd, pgd 10/27 22:25