qemu: IOPortListener

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1622 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-09-12 16:05:18 +00:00
parent 095adbc7e5
commit f795bf63c4
5 changed files with 61 additions and 49 deletions

View File

@ -28,12 +28,15 @@ public:
QEMUController();
~QEMUController();
/**
* I/O port communication handler. This method is called from QEMU. TODO.
* I/O port communication handler. This method is called from QEMU.
* @param data the data transmitted
* @param port the port it was transmitted on
* @param out true if the I/O traffic has been outbound, false otherwise
* FIXME Should this be part of the generic interface? Inherited from some generic x86 arch class?
* FIXME Access width should be part of the interface.
* FIXME Read/Write should be separate listeners.
*/
void onIOPort(unsigned char data, unsigned port, bool out) {}
void onIOPort(unsigned char data, unsigned port, bool out);
/**
* Static internal handler for TimerListeners. TODO.
*/