Rev 1549 | Rev 1704 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1549 | Rev 1702 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
- | 29 | /** @addtogroup genericadt ADT |
|
- | 30 | * @ingroup kernel |
|
- | 31 | * @{ |
|
- | 32 | */ |
|
29 | /** |
33 | /** |
30 | * @file bitmap.c |
34 | * @file bitmap.c |
31 | * @brief Implementation of bitmap ADT. |
35 | * @brief Implementation of bitmap ADT. |
32 | * |
36 | * |
33 | * This file implements bitmap ADT and provides functions for |
37 | * This file implements bitmap ADT and provides functions for |
Line 179... | Line 183... | ||
179 | if (bits % 8) { |
183 | if (bits % 8) { |
180 | bitmap_clear_range(dst, i * 8, bits % 8); |
184 | bitmap_clear_range(dst, i * 8, bits % 8); |
181 | dst->map[i] |= src->map[i] & ((1 << (bits % 8)) - 1); |
185 | dst->map[i] |= src->map[i] & ((1 << (bits % 8)) - 1); |
182 | } |
186 | } |
183 | } |
187 | } |
- | 188 | ||
- | 189 | /** @} |
|
- | 190 | */ |
|
- | 191 |