My Project
Loading...
Searching...
No Matches
_BLOCK_DEVICE Struct Reference

#include <block.h>

Data Fields

MTSTATUS(* read_sector )(struct _BLOCK_DEVICE *dev, uint32_t lba, void *buf, size_t bytes)
MTSTATUS(* write_sector )(struct _BLOCK_DEVICE *dev, uint32_t lba, const void *buf, size_t bytes)
void * dev_data

Detailed Description

Definition at line 11 of file block.h.

Field Documentation

◆ dev_data

void* dev_data

Definition at line 20 of file block.h.

◆ read_sector

MTSTATUS(* read_sector) (struct _BLOCK_DEVICE *dev, uint32_t lba, void *buf, size_t bytes)

Definition at line 12 of file block.h.

◆ write_sector

MTSTATUS(* write_sector) (struct _BLOCK_DEVICE *dev, uint32_t lba, const void *buf, size_t bytes)

Definition at line 16 of file block.h.


The documentation for this struct was generated from the following file:
  • C:/Users/matanel/Desktop/Projects/KernelDevelopment/kernel/drivers/blk/block.h