/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/datacpy.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-11-20 17:26:29 UTC
  • Revision ID: csa@suren.me-20151120172629-ifd0wt33sg5bccpo
64-bit access to BAR memory

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
    size_t pos = 0;
82
82
    pcilib_datacpy_routine_t routine;
83
83
 
84
 
    assert((size)&&(size < 64));
 
84
    assert((size)&&(size <= 8));
85
85
 
86
86
    while (size >>= 1) ++pos;
87
87
    routine = pcilib_datacpy_routines[pos];