Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
block.h File Reference
#include <type.h>

Go to the source code of this file.

Data Structures

struct  __attribute__
 

Enumerations

enum  fmode_t { FMODE_R = 1UL << 0 , FMODE_W = 1UL << 1 , FMODE_E = 1UL << 2 }
 
enum  open_response_code { OPEN_SUCCESS = 0 , OPEN_FAILED = 1 }
 

Functions

void registerBlockDevice (const char *name, block_device_operations_t *ops, void *identifier)
 

Enumeration Type Documentation

◆ fmode_t

enum fmode_t
Enumerator
FMODE_R 
FMODE_W 
FMODE_E 

Definition at line 28 of file block.h.

◆ open_response_code

Enumerator
OPEN_SUCCESS 
OPEN_FAILED 

Definition at line 34 of file block.h.

Function Documentation

◆ registerBlockDevice()

void registerBlockDevice ( const char * name,
block_device_operations_t * ops,
void * identifier )

References identifier, name, ops, and registerBlockDevice().

Referenced by registerBlockDevice().