Contiki-Inga 3.x
|
MBR Support definitionsMore...
#include "diskio.h"
Go to the source code of this file.
Data Structures | |
struct | mbr_primary_partition |
Represents a primary partition in the mbr. More... | |
struct | mbr |
Represents the MBR of a disk, without the code portion and the constant bytes. More... | |
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 definitions
Definition in file mbr.h.