9
0
Fork 0
barebox/include/partition.h

23 lines
394 B
C
Raw Normal View History

2007-07-05 16:01:23 +00:00
#ifndef __PARTITION_H
#define __PARTITION_H
struct device_d;
struct partition {
int num;
unsigned long offset;
2007-07-05 16:01:53 +00:00
struct device_d *physdev;
struct device_d device;
char name[16];
};
2007-07-05 16:01:53 +00:00
struct device_d *dev_add_partition(struct device_d *dev, unsigned long offset,
size_t size, char *name);
/* FIXME: counterpart missing */
2007-07-05 16:01:23 +00:00
#endif /* __PARTITION_H */