[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] QEMU and reboots via 0xcf9

From: John Floren
Subject: Re: [Qemu-discuss] QEMU and reboots via 0xcf9
Date: Fri, 28 Dec 2012 10:36:52 -0800

On Fri, Dec 28, 2012 at 12:57 AM, Dipanjan Das
<address@hidden> wrote:
> On 28 December 2012 00:03, Jakob Bohm <address@hidden> wrote:
>> On 12/27/2012 7:08 PM, John Floren wrote:
>>> I'm working on an OS kernel that currently reboots by writing 0x02,
>>> then 0x06 to port 0xcf9. This seems to work fine for real hardware,
>>> but I have not been able to make it work in QEMU. Before I go digging
>>> through the QEMU source to try and verify one way or another, I
>>> thought I'd ask here: Can I use 0xcf9 to reboot on QEMU?
> Try the technique documented here.
> http://wiki.osdev.org/Reboot

Well, we still don't know if QEMU supports 0xcf9, although my own
shallow explorations of the code indicate that it does not. Maybe I
should ask the dev list?

As I said earlier, we had avoided using the 8042 because it's not a
sure bet that the hardware we'll be using will even include an 8042,
while it's much more likely that modern hardware will support 0xcf9
reboots. It does work on QEMU, but I don't know what it'll do on a
machine without an 8042.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]