sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
block_device Struct Reference

Public Attributes

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)
char * path

Detailed Description

Definition at line 22 of file bdm.h.

Member Data Documentation

◆ devNr

unsigned int block_device::devNr

Definition at line 31 of file bdm.h.

◆ flush

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

Definition at line 41 of file bdm.h.

◆ name

char* block_device::name

Definition at line 30 of file bdm.h.

◆ parId

unsigned char block_device::parId

Definition at line 33 of file bdm.h.

◆ parNr

unsigned int block_device::parNr

Definition at line 32 of file bdm.h.

◆ path

char* block_device::path

Definition at line 48 of file bdm.h.

◆ priv

void* block_device::priv

Definition at line 25 of file bdm.h.

◆ read

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

Definition at line 39 of file bdm.h.

◆ sectorCount

u64 block_device::sectorCount

Definition at line 37 of file bdm.h.

◆ sectorOffset

u64 block_device::sectorOffset

Definition at line 36 of file bdm.h.

◆ sectorSize

unsigned int block_device::sectorSize

Definition at line 35 of file bdm.h.

◆ stop

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

Definition at line 42 of file bdm.h.

◆ write

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

Definition at line 40 of file bdm.h.


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