adevs
|
#include <adevs_qemu.h>
Public Member Functions | |
void | append_qemu_arguments (std::vector< std::string > &args) |
void | write_bytes (void *data, int num_bytes) |
![]() | |
int | num_bytes_to_read () |
void | read_bytes (void *buf) |
void | read_loop () |
void | init_func () |
Protected Member Functions | |
io_buffer * | read () |
void | initialize_io_structures () |
![]() | |
void | start () |
A model of a serial port. This will connect to a QEMU serial port emulator that sends and receives data via a unix domain socket.
|
virtual |
Arguments to be appended to the qemu argument vector when qemu is forked to simulate the computer.
Implements adevs::QemuDeviceModel.
|
virtual |
Cause data to arrive at the external, physical port. This call will block if the corresponding write to the underlying file descriptor blocks.
Implements adevs::QemuDeviceModel.