KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Definitions for a simple block device interface. More...
#include <sys/cdefs.h>
#include <stdint.h>
#include <sys/types.h>
Go to the source code of this file.
Data Structures | |
struct | kos_blockdev_t |
A simple block device. More... | |
Definitions for a simple block device interface.
This file contains the definition of a very simple block device that is to be used with filesystems in the kernel. This device interface is designed to abstract away direct hardware access and make it easier to interface the various filesystems that we may add support for to multiple potential devices.
The most common of these devices that people are probably interested in directly would be the Dreamcast SD card reader, and that was indeed the primary impetus to this device structure. However, it could also be used to support a file-based disk image or any number of other devices.