Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Convert physical address to virtual

931 views
Skip to first unread message

MJ

unread,
Sep 12, 2003, 12:33:42 AM9/12/03
to
Does Windbg have a method to convert a physical address to
a virtual address? This would be similar to PHYS in
Softice. Can you help???

John Brenneise

unread,
Sep 12, 2003, 3:35:03 AM9/12/03
to
Yes there is

try "!pte"


"MJ" <monji....@hp.com> wrote in message
news:08c401c378e7$0be71d20$a301...@phx.gbl...

monji....@hp.com

unread,
Sep 12, 2003, 10:07:08 AM9/12/03
to
Can you highlight a sequence?
>.
>

Ivan Brugiolo [MSFT]

unread,
Sep 12, 2003, 12:17:31 PM9/12/03
to
what if the physical address is mapped in multiple places ?
What if it's not mapped ?

in any case, this is an example of what is availalble on average.

0: kd> !dc 0ac45000
# ac45000 075a0867 00000000 09fd2867 0b171867 g.Z.....g(..g...
# ac45010 05c3f867 09f0f867 0a083867 05b2d867 g...g...g8..g...
# ac45020 00000000 00000000 00000000 00000000 ................
# ac45030 00000000 00000000 00000000 00000000 ................
# ac45040 00000000 00000000 00000000 00000000 ................
# ac45050 00000000 00000000 00000000 00000000 ................
# ac45060 00000000 00000000 00000000 00000000 ................
# ac45070 00000000 00000000 00000000 00000000 ................
0: kd> !pfn 0ac45
PFN 0000AC45 at address 81502678
flink 8217ED98 blink / share count 00000018 pteaddress C0300C00
reference count 0001 Cached color 0
restore pte 00000080 containing page 00AC45 Active M
Modified

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"MJ" <monji....@hp.com> wrote in message
news:08c401c378e7$0be71d20$a301...@phx.gbl...

MJ

unread,
Sep 12, 2003, 3:58:04 PM9/12/03
to
Thanks for response.
I am unable to execute the sequence below. What makes my
issue worse is that I am looking at a PCI memory location
where memory is [UC].
I wonder how softice was able to build PHYS to get all
virtual mappings to a physical?
Thanks
>.
>

MJ

unread,
Sep 12, 2003, 4:56:57 PM9/12/03
to
How?
>.
>

Ivan Brugiolo [MSFT]

unread,
Sep 12, 2003, 5:08:06 PM9/12/03
to
can you do a `!dc [attributes] <physical address>' on your 'physical
address' to begin with ?

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"MJ" <monji....@hp.com> wrote in message

news:1c5e01c37968$2d62b870$a501...@phx.gbl...

MJ

unread,
Sep 12, 2003, 5:47:03 PM9/12/03
to
Yes. I do the following:
!dd [uc] 98000000
to see physical memory and I do see it.
thanks
>.
>
0 new messages