]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4util/include/ARCH-arm/bitops_arch.h
update
[l4.git] / l4 / pkg / l4util / include / ARCH-arm / bitops_arch.h
1 /**
2  * \file
3  * \brief ARM specific implementation of bitops functions
4  */
5 /*
6  * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
7  *     economic rights: Technische Universität Dresden (Germany)
8  * This file is part of TUD:OS and distributed under the terms of the
9  * GNU Lesser General Public License 2.1.
10  * Please see the COPYING-LGPL-2.1 file for details.
11  */
12 #ifndef __L4UTIL__ARCH_ARM__BITOPS_ARCH_H__
13 #define __L4UTIL__ARCH_ARM__BITOPS_ARCH_H__
14
15 /* No optimized variants available. */
16
17 L4_INLINE void
18 l4util_set_bit32(int b, volatile l4_uint32_t * dest)
19 {
20   // for ARM sizeof(l4_umword_t) == sizeof(l4_uint32_t)
21   l4util_set_bit(b, (volatile l4_umword_t *)dest);
22 }
23
24 #endif /* ! __L4UTIL__ARCH_ARM__BITOPS_ARCH_H__ */