|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] about blkfront.c
> If lsect stands for the number of sector to be transferred, your
> explanation is reasonable, but the following two lines give me an
> impression that lsect is the index of the last sector to be transferred:
>
> ---------------------------------
> fsect = (buffer_ma & ~PAGE_MASK) >> 9;
> lsect = fsect + nr_sectors - 1;
> -----------------------------------
>
> The sector index does not have to be less than 8, right? Am I wrong in
> understanding the codes?
fsect is the first sector, lsect is the last sector.
0 <= fsect <= lsect <= 7
I stand by my explanation.
Ian
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|