adevs
Public Member Functions | Protected Member Functions | List of all members
adevs::QemuSerialPort Class Reference

#include <adevs_qemu.h>

Inheritance diagram for adevs::QemuSerialPort:
adevs::QemuDeviceModel

Public Member Functions

void append_qemu_arguments (std::vector< std::string > &args)
 
- Public Member Functions inherited from adevs::QemuDeviceModel
int num_bytes_to_read ()
 
void read_bytes (void *buf)
 
void write_bytes (void *data, int num_bytes)
 
void read_loop ()
 
void write_loop ()
 
void init_func ()
 

Protected Member Functions

void write (void *data, int num_bytes)
 
io_bufferread ()
 
void initialize_io_structures ()
 
- Protected Member Functions inherited from adevs::QemuDeviceModel
void start ()
 

Additional Inherited Members

- Public Attributes inherited from adevs::QemuDeviceModel
volatile bool _is_done_with_init
 

Detailed Description

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.

Member Function Documentation

void adevs::QemuSerialPort::append_qemu_arguments ( std::vector< std::string > &  args)
virtual

Arguments to be appended to the qemu argument vector when qemu is forked to simulate the computer.

Implements adevs::QemuDeviceModel.


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