Hi,

the latest Linux kernels contain a driver for an ASCII display
(arch/mips/mips-boards/generic/display.c).

Because this display is used by code I'm currently testing,
I implemented an emulation for QEMU (code is added to this mail).

hw/mips_display.c   - implementation
hw/mips_display.h   - interface

I prefer to have the interface in a dedicated header file instead
of adding it to vl.h (which is already overloaded).

An emulated MIPS machine can add the new device like this:

...
#include "mips_display.h"
...
mips_display_init(env, "vc");
...

Regards

Stefan Weil



Attachment: mips_display.tar.bz2
Description: Binary data

_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to