2007-07-05 16:01:23 +00:00
|
|
|
#ifndef __PARTITION_H
|
|
|
|
#define __PARTITION_H
|
|
|
|
|
2013-05-30 10:39:55 +00:00
|
|
|
#include <driver.h>
|
2007-07-05 16:01:23 +00:00
|
|
|
|
2007-07-05 16:01:35 +00:00
|
|
|
struct partition {
|
|
|
|
int num;
|
|
|
|
|
2007-10-19 06:45:57 +00:00
|
|
|
int flags;
|
2007-07-05 16:01:55 +00:00
|
|
|
|
2012-06-22 12:33:46 +00:00
|
|
|
loff_t offset;
|
2007-07-05 16:01:35 +00:00
|
|
|
|
2007-07-05 16:01:53 +00:00
|
|
|
struct device_d *physdev;
|
2007-07-05 16:01:35 +00:00
|
|
|
struct device_d device;
|
|
|
|
|
|
|
|
char name[16];
|
2009-04-22 21:39:27 +00:00
|
|
|
struct cdev cdev;
|
2007-07-05 16:01:35 +00:00
|
|
|
};
|
|
|
|
|
2007-07-05 16:01:23 +00:00
|
|
|
#endif /* __PARTITION_H */
|