#include <dr-env.h>
#include <list.h>
#include <slabmem.h>
#include <errno.h>
#include "block.h"
#include <kernel.h>
#include <ll/i386/error.h>
Go to the source code of this file.
Data Structures | |
struct | BlockDevice |
Typedefs | |
typedef struct BlockDevice | BlockDevice |
Functions | |
void | block_init (void) |
Block device manager functions | |
const char * | block_enumerate (void **iterator) |
Enumerates the registered block devices. | |
int | block_get (const char *name, int type, void **operations, void **handle) |
Gets operations for a block device. | |
int | block_register (const char *name, int(*request)(int function,...), void *handle) |
Registers a device to the Block Device Manager. | |
int | block_unregister (const char *name) |
Unregisters a device from the Block Device Manager. | |
Variables | |
static List | list |
static slabmem_t | slab |
struct { | |
const char * name | |
void * address | |
} | symbols [] |
void* address |