On 18 July 2013 17:44, <kbast...@mail.uni-paderborn.de> wrote: > Hey everybody, > > I am fairly new to qemu development. So here is my question: > I would like to write a virtual watchdog device, which > is part of the emulated cpu. This is part of an Infineon > Tricore Implementation I am writing. For simplicities sake > I use qemu user mode, to test my translation. > How could I implement such a watchdog device into qemu? > Can you give me some clues? Is it even possible to use a > device in user mode?
To a first approximation, no, you can't use devices in user-mode. (Is the device really accessible to a normal Linux process running on this hardware? Usually the kernel would make it only kernel-accessible with the MMU.) -- PMM