Add ACPI shutdown sequence
authorPablo de Oliveira <pablo@sifflez.org>
Mon, 17 Mar 2014 18:01:59 +0000 (19:01 +0100)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 18 Mar 2014 15:33:10 +0000 (08:33 -0700)
commit2af5ef01f3ecd97a21ae93129d0892f277b793af
tree93c820e198271d3f40cc50e372907aa1feb1ce70
parent395e245bb0917b8796a3bf6ae6be388a6fc8d7df
Add ACPI shutdown sequence

On QEMU emulator version 1.7.0, the previous shutdown sequence (writing
`shutdown` to 0x8900), is not working properly.

This patch adds support for the ACPI shutdown code which works on qemu
1.7.0 and preserves the old sequence for compatibility.
src/devices/shutdown.c