Subversion Repositories HelenOS

Rev

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

Rev 2071 Rev 2089
Line 34... Line 34...
34
 
34
 
35
#ifndef KERN_BITMAP_H_
35
#ifndef KERN_BITMAP_H_
36
#define KERN_BITMAP_H_
36
#define KERN_BITMAP_H_
37
 
37
 
38
#include <arch/types.h>
38
#include <arch/types.h>
39
#include <typedefs.h>
-
 
40
 
39
 
41
#define BITS2BYTES(bits)    (bits ? ((((bits)-1)>>3)+1) : 0)
40
#define BITS2BYTES(bits)    (bits ? ((((bits)-1)>>3)+1) : 0)
42
 
41
 
43
typedef struct {
42
typedef struct {
44
    uint8_t *map;
43
    uint8_t *map;