iPXE
disklog Struct Reference

A disk log. More...

#include <disklog.h>

Data Fields

struct console_driverconsole
 Console device.
struct disklog_operationsop
 Disk log operations.
uint8_tbuffer
 Logical block data buffer.
size_t blksize
 Logical block size.
uint64_t lba
 Current logical block index.
uint64_t max_lba
 Maximum logical block index.
unsigned int offset
 Current offset within logical block.
unsigned int unwritten
 Current number of unwritten characters.

Detailed Description

A disk log.

Definition at line 25 of file disklog.h.

Field Documentation

◆ console

struct console_driver* disklog::console

Console device.

Definition at line 27 of file disklog.h.

Referenced by disklog_init(), disklog_open(), and disklog_putchar().

◆ op

struct disklog_operations* disklog::op

Disk log operations.

Definition at line 29 of file disklog.h.

Referenced by disklog_init(), disklog_open(), and disklog_putchar().

◆ buffer

uint8_t* disklog::buffer

Logical block data buffer.

Definition at line 31 of file disklog.h.

Referenced by disklog_init(), disklog_open(), disklog_putchar(), efi_disklog_shutdown(), and efi_disklog_write().

◆ blksize

size_t disklog::blksize

Logical block size.

Definition at line 33 of file disklog.h.

Referenced by disklog_init(), disklog_open(), disklog_putchar(), efi_disklog_open(), and efi_disklog_write().

◆ lba

uint64_t disklog::lba

Current logical block index.

Definition at line 35 of file disklog.h.

Referenced by disklog_init(), disklog_open(), disklog_putchar(), and efi_disklog_write().

◆ max_lba

uint64_t disklog::max_lba

Maximum logical block index.

Definition at line 37 of file disklog.h.

Referenced by disklog_init(), disklog_open(), disklog_putchar(), and efi_disklog_open().

◆ offset

unsigned int disklog::offset

Current offset within logical block.

Definition at line 39 of file disklog.h.

Referenced by disklog_open(), and disklog_putchar().

◆ unwritten

unsigned int disklog::unwritten

Current number of unwritten characters.

Definition at line 41 of file disklog.h.

Referenced by disklog_open(), and disklog_putchar().


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