kern
view src/part.h @ 90:7ff2b4971216
started work on the filesystem
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 09 Dec 2011 13:44:15 +0200 |
parents | |
children |
line source
1 #ifndef PART_H_
2 #define PART_H_
4 #include <inttypes.h>
6 struct partition {
7 uint32_t start_sect;
8 size_t size_sect;
10 unsigned int attr;
12 struct partition *next;
13 };
15 struct partition *get_part_list(int devno);
16 void free_part_list(struct partition *plist);
18 int get_part_type(struct partition *p);
20 #endif /* PART_H_ */