Subversion Repositories HelenOS

Rev

Rev 1787 | Rev 2071 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1787 Rev 1888
Line 30... Line 30...
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef __BITMAP_H__
35
#ifndef KERN_BITMAP_H_
36
#define __BITMAP_H__
36
#define KERN_BITMAP_H_
37
 
37
 
38
#include <arch/types.h>
38
#include <arch/types.h>
39
#include <typedefs.h>
39
#include <typedefs.h>
40
 
40
 
41
#define BITS2BYTES(bits)    (bits ? ((((bits)-1)>>3)+1) : 0)
41
#define BITS2BYTES(bits)    (bits ? ((((bits)-1)>>3)+1) : 0)
Line 52... Line 52...
52
 
52
 
53
#endif
53
#endif
54
 
54
 
55
 /** @}
55
/** @}
56
 */
56
 */
57
 
-