ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
mkbookimg_disk_t Struct Reference

Host descriptor-backed block device bound into ra8_fs. More...

#include <mkbookimg_internal.h>

Data Fields

uint64_t block_count
 Addressable sectors.
uint32_t block_size
 Bytes in one sector.
int fd
 Open sibling-temporary descriptor.
bool io_failed
 Sticky positioned-I/O failure.

Detailed Description

Host descriptor-backed block device bound into ra8_fs.

Definition at line 67 of file mkbookimg_internal.h.

Field Documentation

◆ block_count

uint64_t mkbookimg_disk_t::block_count

Addressable sectors.

Definition at line 68 of file mkbookimg_internal.h.

Referenced by internal_block_range(), and internal_disk_capacity().

◆ block_size

uint32_t mkbookimg_disk_t::block_size

Bytes in one sector.

Definition at line 69 of file mkbookimg_internal.h.

Referenced by internal_block_range(), and internal_disk_capacity().

◆ fd

int mkbookimg_disk_t::fd

Open sibling-temporary descriptor.

Definition at line 70 of file mkbookimg_internal.h.

Referenced by internal_disk_read(), and internal_disk_write().

◆ io_failed

bool mkbookimg_disk_t::io_failed

Sticky positioned-I/O failure.

Definition at line 71 of file mkbookimg_internal.h.

Referenced by internal_disk_read(), internal_disk_write(), and priv_mkbookimg_build_image().


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