[Solaris内存管理]页表格式



PDE and PTE (32bit, 4-Kbyte pages)



PDE (32 bit, 4-MByte pages)



CR4.PAE = 1.
Page Size: 4KB/2MB
Linear Address is still 32bit
Paging table entries are increased to 64bits. Entry numbers decreased from 1024 to 512.
Page-Directory-Pointer Table is added.




How to access 64GByte:
Only 4GBytes is allowed to be accessed at one time
Additional 4GB sections of physical memory can be addressed in either of two way:
Change the pointer in register CR3 to point to another page-directory-pointer table, which in turn points to another set of page directories and page tables.
Change entries in the page-directory-pointer table to point to other page directories, which in turn point to other sets of page tables.



CR4.PAE should be set to 0. PSE-36 CPUID feature flag should be set
Page size: 4MB only








First implementation: 48 bits linear address  40 bits physical address
Potentially: 64 bits linear address  52 bits physical address
PML4 (page map level 4) is added on top of the page directory pointer table
PML4 (9bits) + PDP (9bits) + PDE (9bits) + PTE (9bits) + page offset (12bits)  48 bits linear address
CR4.PAE must be set to 1 before activating IA-32e
Otherwise, general-protection exception #GP.
Page Size: 4KB/2MB




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值