RTEMS 6.1-rc1
|
Block Device Partition Management. More...
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <rtems.h>
#include <rtems/bdbuf.h>
#include <rtems/bdpart.h>
#include <rtems/endian.h>
Macros | |
#define | RTEMS_BDPART_MBR_PARTITION_TYPE(type) |
Functions | |
void | rtems_bdpart_to_partition_type (uint8_t mbr_type, uuid_t type) |
Returns the partition type for the MBR partition type value mbr_type in type. | |
bool | rtems_bdpart_to_mbr_partition_type (const uuid_t type, uint8_t *mbr_type) |
Converts the partition type in type to the MBR partition type. More... | |
rtems_status_code | rtems_bdpart_get_disk_data (const char *disk_name, int *fd_ptr, rtems_disk_device **dd_ptr, rtems_blkdev_bnum *disk_end) |
rtems_status_code | rtems_bdpart_read (const char *disk_name, rtems_bdpart_format *format, rtems_bdpart_partition *pt, size_t *count) |
Reads the partition information from the physical disk device with name disk_name. More... | |
Block Device Partition Management.
#define RTEMS_BDPART_MBR_PARTITION_TYPE | ( | type | ) |