PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
block_device Struct Reference

Data Fields

void * priv
 
char * name
 
unsigned int devNr
 
unsigned int parNr
 
unsigned char parId
 
unsigned int sectorSize
 
u64 sectorOffset
 
u64 sectorCount
 
int(* read )(struct block_device *bd, u64 sector, void *buffer, u16 count)
 
int(* write )(struct block_device *bd, u64 sector, const void *buffer, u16 count)
 
void(* flush )(struct block_device *bd)
 
int(* stop )(struct block_device *bd)
 

Detailed Description

Definition at line 21 of file bdm.h.

Field Documentation

◆ priv

void* block_device::priv

Definition at line 24 of file bdm.h.

◆ name

char* block_device::name

Definition at line 29 of file bdm.h.

◆ devNr

unsigned int block_device::devNr

Definition at line 30 of file bdm.h.

◆ parNr

unsigned int block_device::parNr

Definition at line 31 of file bdm.h.

◆ parId

unsigned char block_device::parId

Definition at line 32 of file bdm.h.

◆ sectorSize

unsigned int block_device::sectorSize

Definition at line 34 of file bdm.h.

◆ sectorOffset

u64 block_device::sectorOffset

Definition at line 35 of file bdm.h.

◆ sectorCount

u64 block_device::sectorCount

Definition at line 36 of file bdm.h.

◆ read

int(* block_device::read) (struct block_device *bd, u64 sector, void *buffer, u16 count)

Definition at line 38 of file bdm.h.

◆ write

int(* block_device::write) (struct block_device *bd, u64 sector, const void *buffer, u16 count)

Definition at line 39 of file bdm.h.

◆ flush

void(* block_device::flush) (struct block_device *bd)

Definition at line 40 of file bdm.h.

◆ stop

int(* block_device::stop) (struct block_device *bd)

Definition at line 41 of file bdm.h.


The documentation for this struct was generated from the following file: