RTEMS  5.1
Data Structures | Macros | Typedefs | Functions

Block device disk management implementation. More...

#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <rtems.h>
#include <rtems/libio.h>
#include <rtems/diskdevs.h>
#include <rtems/blkdev.h>
#include <rtems/bdbuf.h>
#include <rtems/thread.h>

Data Structures

struct  rtems_disk_device_table
 

Macros

#define DISKTAB_INITIAL_SIZE   8
 

Typedefs

typedef struct rtems_disk_device_table rtems_disk_device_table
 

Functions

rtems_status_code rtems_disk_create_phys (dev_t dev, uint32_t block_size, rtems_blkdev_bnum block_count, rtems_block_device_ioctl handler, void *driver_data, const char *name)
 
rtems_status_code rtems_disk_create_log (dev_t dev, dev_t phys, rtems_blkdev_bnum block_begin, rtems_blkdev_bnum block_count, const char *name)
 
rtems_status_code rtems_disk_delete (dev_t dev)
 
rtems_disk_devicertems_disk_obtain (dev_t dev)
 
rtems_status_code rtems_disk_release (rtems_disk_device *dd)
 
rtems_disk_devicertems_disk_next (dev_t dev)
 
rtems_status_code rtems_disk_io_initialize (void)
 
rtems_status_code rtems_disk_io_done (void)
 

Detailed Description

Block device disk management implementation.