OSDN Git Service

SH4/R2D: fix poweroff
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 30 Jan 2010 19:41:33 +0000 (20:41 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 8 Feb 2010 11:21:03 +0000 (12:21 +0100)
commit37cc0b44b48fcb9f8d75105202d45e70ad1774ca
tree17f8bf3a8a3b262caba7c88e32d7bd35f3c78b25
parent5105c5564cc062f848c6602e911b1a0b75befef7
SH4/R2D: fix poweroff

The write the the PA_POWOFF register is currently ignored. Fix that by
calling qemu_system_shutdown_request() when a poweroff is requested.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/r2d.c