[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Watchdog device in Qemu user mode
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] Watchdog device in Qemu user mode |
Date: |
Thu, 18 Jul 2013 17:52:16 +0100 |
On 18 July 2013 17:44, <address@hidden> 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