> But in doing this I did not need to use the page directory at all
See the information here:
!pte is doing extra work for you. See the "Converting Addresses By Hand"
section (and your local Intel reference manual) for more information.
tried looking into contents by dumping it with !dd 7569 but did not reach
to any definite conclusion.
FYI for PFNs you need to do:
!dd 7569*@$pagesize
Since the PFN is an index, not an address.
What information this PFN provides?
It's the PFN of the page table. So, for example:
0: kd> !pte f9934000
VA f9934000
PDE at 00000000C0603E60 PTE at 00000000C07CC9A0
contains 0000000001644963 contains 0000000007071121
pfn 1644 -G-DA--KWEV pfn 7071 -G--A--KREV
0: kd> * Dump the PTE contents
0: kd> dc 00000000C07CC9A0 l4
c07cc9a0 07071121 00000000 07072963 00000000 !.......c)......
0: kd> * Now dump the PFN of the PDE plus the page offset of the PTE
0: kd> !dc (1644*@$pagesize)+9a0 L4
16449a0 07071121 00000000 07072963 00000000 !.......c)......
-scott
--
Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
wrote in message news:xxxxx@ntdev...
> !pte knows about this PTE format and can dump it in user-readable form.
>
> I tried playing with it for further understanding of things,
>
> !pte 0x7980020
> VA 07980020
> PDE at C0300078 PTE at C001E600
> contains 07569867 contains 041AA847
> pfn 7569 ---DA--UWEV pfn 41aa ---D---UWEV
>
> for said address PDI is 0x1E and PTI is 0x180,
>
> I used PDI to move to the exact page table, i,e, C001E000 and converted
> 0x180 index to bytes and reached the address C001E600.
>
> But in doing this I did not need to use the page directory at all i.e. I
> did not need to route through C0300000. I verified that PDE value at index
> 0x1E is 07569867 as given by !pte but what after this. what information
> this will provide, I tried looking into contents by dumping it with !dd
> 7569 but did not reach to any definite conclusion. What information this
> PFN provides?
>
> Thanks
> Aditya
>