On Thu, 7 Feb 2008, Jerry Van Baren wrote:
> Your original question/concept still used the name "addr_mask" which caused
> confusion on my part.
Ahhh, that's just a variable name:-)
> It really should be a length, not a mask.
Of course.
> Illustrating
> with a hand-generated patch, what I am n
Guennadi Liakhovetski wrote:
> Hi Jerry
>
> On Thu, 7 Feb 2008, Jerry Van Baren wrote:
>
>> Guennadi Liakhovetski wrote:
>>> Hi all,
>>>
>>> looking through the common/cmd_mem.c::do_mem_mtest() function, I couldn't
>>> understand the following place:
>>>
>>> addr_mask = ((ulong)end -
Hi Jerry
On Thu, 7 Feb 2008, Jerry Van Baren wrote:
> Guennadi Liakhovetski wrote:
> > Hi all,
> >
> > looking through the common/cmd_mem.c::do_mem_mtest() function, I couldn't
> > understand the following place:
> >
> > addr_mask = ((ulong)end - (ulong)start)/sizeof(vu_long);
> > .
Guennadi Liakhovetski wrote:
> Hi all,
>
> looking through the common/cmd_mem.c::do_mem_mtest() function, I couldn't
> understand the following place:
>
> addr_mask = ((ulong)end - (ulong)start)/sizeof(vu_long);
> ...
> for (offset = 1; (offset & addr_mask) != 0; offs
Hi all,
looking through the common/cmd_mem.c::do_mem_mtest() function, I couldn't
understand the following place:
addr_mask = ((ulong)end - (ulong)start)/sizeof(vu_long);
...
for (offset = 1; (offset & addr_mask) != 0; offset <<= 1) {
start