kern
annotate 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 |
rev | line source |
---|---|
nuclear@88 | 1 #ifndef PART_H_ |
nuclear@88 | 2 #define PART_H_ |
nuclear@88 | 3 |
nuclear@88 | 4 #include <inttypes.h> |
nuclear@88 | 5 |
nuclear@88 | 6 struct partition { |
nuclear@88 | 7 uint32_t start_sect; |
nuclear@88 | 8 size_t size_sect; |
nuclear@88 | 9 |
nuclear@88 | 10 unsigned int attr; |
nuclear@88 | 11 |
nuclear@88 | 12 struct partition *next; |
nuclear@88 | 13 }; |
nuclear@88 | 14 |
nuclear@88 | 15 struct partition *get_part_list(int devno); |
nuclear@88 | 16 void free_part_list(struct partition *plist); |
nuclear@88 | 17 |
nuclear@88 | 18 int get_part_type(struct partition *p); |
nuclear@88 | 19 |
nuclear@88 | 20 #endif /* PART_H_ */ |