Contiki-Inga 3.x
|
MBR Support implementationMore...
Go to the source code of this file.
Functions | |
void | mbr_init (struct mbr *mbr) |
Initializes a mbr structure. More... | |
int | mbr_read (struct diskio_device_info *from, struct mbr *to) |
Reads the MBR from the specified device. More... | |
int | mbr_write (struct mbr *from, struct diskio_device_info *to) |
Write the MBR to the specified device. More... | |
int | mbr_addPartition (struct mbr *mbr, uint8_t part_num, uint8_t part_type, uint32_t start, uint32_t len) |
Adds a Partition to the mbr-structure. More... | |
int | mbr_delPartition (struct mbr *mbr, uint8_t part_num) |
Deletes a Partition from the mbr-structure. More... | |
int | mbr_hasPartition (struct mbr *mbr, uint8_t part_num) |
Checks if the given Partition exists. More... | |
MBR Support implementation
Definition in file mbr.c.