how to find page table level in Windows Vista

how to find page table level in Windows Vista

Not entirely sure what you mean here.

xxxxx@yahoo.com wrote:

how to find page table level in Windows Vista

There are 2 level page table, 3 level page table,4 level page table

I am having Windows Vista and my machine is INTEL DQ965GF board and I want to know which level page table is there i.e. whether it is 2 level page table or 3 level page table or4 level page table

It depends on the processor; it could be either.

mm
xxxxx@yahoo.com wrote:

There are 2 level page table, 3 level page table,4 level page table

I am having Windows Vista and my machine is INTEL DQ965GF board and I want to know which level page table is there i.e. whether it is 2 level page table or 3 level page table or4 level page table

Why?

On Jan 18, 2008 5:33 AM, wrote:
> There are 2 level page table, 3 level page table,4 level page table
>
> I am having Windows Vista and my machine is INTEL DQ965GF board and I want to know which level page table is there i.e. whether it is 2 level page table or 3 level page table or4 level page table
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>


Mark Roddy

> I am having Windows Vista and my machine is INTEL DQ965GF board and I

want to know which level page table is there i.e. whether it is 2 level page
table or
3 level page table or4 level page table

This is well-hidden from you, Windows provides no facilities for you to know
this.

Try reading the CPU’s MSRs, maybe this will help.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

> There are 2 level page table, 3 level page table,4 level page table I am having Windows

Vista and my machine is INTEL DQ965GF board and I want to know which level page
table is there i.e. whether it is 2 level page table or 3 level page table or4 level page table

I would strongly advise you to read Intel Manual. At this point you will understand that your question has been incorrectly presented in itself…

If PAE is disabled, a given address may be translated either via 2-level translation scheme
(if it is corresponds to a large page) or via 3-level one (if it corresponds to a normal one).

If PAE is enabled, a given address may be translated either via 3-level translation scheme
(if it is corresponds to a large page) or via 4-level one (if it corresponds to a normal one).

Please note that 3-level translation scheme when PAE is enabled is totally different from the one
when it is disabled.

The support for PAE can be discovered from CR4, and translation scheme can be discovered by reading a given entry in the page directory -it has a bit indicating whether a given PDE describes a large page or page table. Both above mentioned things are not supported
under Windows, so you have to do your own investigations here.

To summarize, read Intel Manuals and disassemble MmGetPhysicalAddress() on both PAE and non-PAE kernels so that you will understand how it all works…

Anton Bassov