Add acpi poweroff
commit26428d4bc68dfde77a223459409e0313841086ba
authorXiaoguang Sun <sun.xiaoguang@yoyosys.com>
Thu, 23 May 2013 11:06:13 +0000 (23 19:06 +0800)
committerBen Gras <ben@minix3.org>
Wed, 29 May 2013 16:12:33 +0000 (29 16:12 +0000)
tree9fa97da0282f9d3001a83b2fb7a6247ba3795318
parent4fb3945025dc47d22eebf2b6e326a2abe24f4762
Add acpi poweroff

Use acpi poweroff if it's possible.

Change-Id: I103cc288523bf63fa536750b1d408ac88bbe35fb
Signed-off-by: Ben Gras <ben@minix3.org>
Signed-off-by: Tomas Hruby <tom@minix3.org>
kernel/arch/i386/acpi.c
kernel/arch/i386/acpi.h
kernel/arch/i386/arch_reset.c