Subversion Repositories HelenOS

Rev

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

Rev 4546 Rev 4557
Line 34... Line 34...
34
 
34
 
35
#ifndef __ATA_BD_H__
35
#ifndef __ATA_BD_H__
36
#define __ATA_BD_H__
36
#define __ATA_BD_H__
37
 
37
 
38
#include <sys/types.h>
38
#include <sys/types.h>
-
 
39
#include <fibril_sync.h>
39
 
40
 
40
enum {
41
enum {
41
    CTL_READ_START  = 0,
42
    CTL_READ_START  = 0,
42
    CTL_WRITE_START = 1,
43
    CTL_WRITE_START = 1,
43
};
44
};
Line 137... Line 138...
137
    bool present;
138
    bool present;
138
    unsigned heads;
139
    unsigned heads;
139
    unsigned cylinders;
140
    unsigned cylinders;
140
    unsigned sectors;
141
    unsigned sectors;
141
    uint64_t blocks;
142
    uint64_t blocks;
-
 
143
 
-
 
144
    fibril_mutex_t lock;
-
 
145
    dev_handle_t dev_handle;
142
} disk_t;
146
} disk_t;
143
 
147
 
144
#endif
148
#endif
145
 
149
 
146
/** @}
150
/** @}