台部落
註冊
登錄
寫文章
請輸入正確的登錄賬號或密碼
註冊
忘記密碼
首頁
IA-32原理
正文
MMU地址轉譯的位數選擇
原創
_STONER_
2018-08-26 23:42
從虛擬地址轉譯物理地址,頁面爲什麼選4K大小?PDT和PT索引爲什麼佔10位?
定義一個頁面大小爲:
P
=
2
y
;
y
爲
頁
面
所
佔
位
數
;
x
爲
PDT
和
PT
所
佔
位
數
P
=
2
y
;
y爲頁面所佔位數
;
x
爲PDT和PT所佔位數
給出下面兩個公式
{
2
x
+
y
=
32
;
P
=
4
×
2
x
;
{
2
x
+
y
=
32
;
P
=
4
×
2
x
;
結果:
⎧
⎩
⎨
x
=
10
;
y
=
12
;
P
=
4096
;
{
x
=
10
;
y
=
12
;
P
=
4096
;
發表評論
登录
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
Intel® 64 and IA-32 Architectures Software Developer's Manual:Vol 3 Section 11
_STONER_
2018-08-26 23:42:53
Intel® 64 and IA-32 Architectures Software Developer's Manual:Vol 3 Section 7
_STONER_
2018-08-26 23:42:51
Q & A
_STONER_
2018-08-26 23:42:51
Intel® 64 and IA-32 Architectures Software Developer's Manual:Vol 3 Section 10
_STONER_
2018-08-26 23:42:43
Intel® 64 and IA-32 Architectures Software Developer's Manual:Vol 3 Section 6
_STONER_
2018-08-26 23:42:41
Big Mode
_STONER_
2018-08-26 23:42:39
_
_STONER_
24小時熱門文章
DAPPER 事務 TRANSACTION
最新文章
Intel® 64 and IA-32 Architectures Software Developer's Manual:Vol 3 Section 11
MMU地址轉譯的位數選擇
Intel® 64 and IA-32 Architectures Software Developer's Manual:Vol 3 Section 7
Q & A
LogonUser[advapi32.dll] 驗證當前賬戶是否有密碼
最新評論文章
https://yachay.unat.edu.pe/blog/index.php?comment_area=format_blog&comment_component=blog&comment_co
linux以太網驅動總結