pc, i440fx: Make smm enable/disable function i440fx independent.
commitf885f1eaa8711c06033ceb1599e3750fb37c306f
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 14 May 2010 07:29:04 +0000 (14 16:29 +0900)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 15 May 2010 15:33:08 +0000 (15 15:33 +0000)
treef03808086454c9bd232ec4e2d948a93fe43d6b55
parentb8d6f53986c56dfcffe1961cb01877e81d0f8bb5
pc, i440fx: Make smm enable/disable function i440fx independent.

make cpu_smm_update() generic to be independent on i440fx by
registering a callback.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/pc.c
hw/pc.h
hw/piix_pci.c