question about ba w

I m not entirely sure what "ba w4 virtualaddress " translates to. But here
is the point:

If a driver has 2 virtual mappings to a physical address ( is this
absolutely NOT possible?) and using virtual address A (as against the other
one which is B) I do a

ba w4 A

Will the cpu break on write accesses made on B?

banks

The processor does the comparison using linear (post-segmentation
pre-virtual-translation) addresses. If you have multiple mappings of a
single piece of physical memory you would need to set processor
breakpoints on all possible virtual addresses to catch all writes.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of bank kus
Sent: Thursday, February 02, 2006 5:24 PM
To: Kernel Debugging Interest List
Subject: [windbg] question about ba w

I m not entirely sure what "ba w4 virtualaddress " translates to. But
here is the point:

If a driver has 2 virtual mappings to a physical address ( is this
absolutely NOT possible?) and using virtual address A (as against the
other one which is B) I do a

ba w4 A

Will the cpu break on write accesses made on B?

banks


You are currently subscribed to windbg as: xxxxx@winse.microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks. And is !ptov guaranteed to provide all virtual mappings for a given
physical address ? Or is there a better way to do so.

banks

“Drew Bliss” wrote in message
news:xxxxx@windbg…
The processor does the comparison using linear (post-segmentation
pre-virtual-translation) addresses. If you have multiple mappings of a
single piece of physical memory you would need to set processor
breakpoints on all possible virtual addresses to catch all writes.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of bank kus
Sent: Thursday, February 02, 2006 5:24 PM
To: Kernel Debugging Interest List
Subject: [windbg] question about ba w

I m not entirely sure what "ba w4 virtualaddress " translates to. But
here is the point:

If a driver has 2 virtual mappings to a physical address ( is this
absolutely NOT possible?) and using virtual address A (as against the
other one which is B) I do a

ba w4 A

Will the cpu break on write accesses made on B?

banks


You are currently subscribed to windbg as: xxxxx@winse.microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

!ptov will only give you the mappings it can find while walking out from
the page directory you give it. If there are different mappings in
different set of page tables you would have to use !ptov on all of them
to get all possible mappings.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of bank kus
Sent: Thursday, February 02, 2006 5:44 PM
To: Kernel Debugging Interest List
Subject: Re:[windbg] question about ba w

Thanks. And is !ptov guaranteed to provide all virtual mappings for a
given physical address ? Or is there a better way to do so.

banks

“Drew Bliss” wrote in message
news:xxxxx@windbg…
The processor does the comparison using linear (post-segmentation
pre-virtual-translation) addresses. If you have multiple mappings of a
single piece of physical memory you would need to set processor
breakpoints on all possible virtual addresses to catch all writes.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of bank kus
Sent: Thursday, February 02, 2006 5:24 PM
To: Kernel Debugging Interest List
Subject: [windbg] question about ba w

I m not entirely sure what "ba w4 virtualaddress " translates to. But
here is the point:

If a driver has 2 virtual mappings to a physical address ( is this
absolutely NOT possible?) and using virtual address A (as against the
other one which is B) I do a

ba w4 A

Will the cpu break on write accesses made on B?

banks


You are currently subscribed to windbg as: xxxxx@winse.microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to windbg as: xxxxx@winse.microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com