Subversion Repositories HelenOS

Rev

Rev 2071 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2089
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#ifndef KERN_BITOPS_H_
35
#ifndef KERN_BITOPS_H_
36
#define KERN_BITOPS_H_
36
#define KERN_BITOPS_H_
37
 
37
 
38
#include <typedefs.h>
-
 
39
 
-
 
40
 
38
 
41
/** Return position of first non-zero bit from left (i.e. [log_2(arg)]).
39
/** Return position of first non-zero bit from left (i.e. [log_2(arg)]).
42
 *
40
 *
43
 * If number is zero, it returns 0
41
 * If number is zero, it returns 0
44
 */
42
 */