Question on HalAllocateCommonBuffer.

Hai all,

HalAllocateCommonBuffer() returns both

virtual and physical address.

my question is both these addresses are

contiguous or not ?

thanks in advance

shiva


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

“Pavan Kumar” wrote in message news:xxxxx@ntdev…
>
> HalAllocateCommonBuffer() returns both
> virtual and physical address.
>
> contiguous or not ?
>
Actually, it returns a virtual a Device Bus LOGICAL address.

The returned buffer is mapped by a contiguous set of kernel virtual
addresses (how else could you use it, given only a base kerenl virtual
address?).

The buffer is also “mapped” by a contiguous set of mapping registers, so the
buffer is logically contiguous from the view of the device bus.

Peter
OSR


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com