|
iPXE
|
Disk log console. More...
Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
| int | disklog_open (struct disklog *disklog) |
| Open disk log console. | |
| void | disklog_putchar (struct disklog *disklog, int character) |
| Write character to disk log console. | |
Disk log console.
Definition in file disklog.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |
| int disklog_open | ( | struct disklog * | disklog | ) |
Open disk log console.
| disklog | Disk log |
| rc | Return status code |
The data buffer must already contain the initial logical block.
Definition at line 46 of file disklog.c.
References assert, disklog::blksize, disklog::buffer, disklog::console, DBGC, console_driver::disabled, DISKLOG_MAGIC, EINVAL, hdr, disklog::lba, disklog::max_lba, memcmp(), memset(), NULL, disklog::offset, disklog::op, disklog::unwritten, and disklog_operations::write.
Referenced by efi_disklog_open(), and int13con_find().
| void disklog_putchar | ( | struct disklog * | disklog, |
| int | character ) |
Write character to disk log console.
| disklog | Disk log |
| character | Character |
Definition at line 85 of file disklog.c.
References assert, disklog::blksize, disklog::buffer, disklog::console, DBGC, console_driver::disabled, DISKLOG_MAX_UNWRITTEN, disklog::lba, disklog::max_lba, memset(), disklog::offset, disklog::op, rc, strerror(), disklog::unwritten, and disklog_operations::write.
Referenced by efi_disklog_putchar(), and int13con_putchar().