q35: fix ESMRAMC default
commit7744752402d11cebe4c1d4079dcd40d3145eb37b
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Apr 2015 14:43:24 +0000 (15 16:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Jun 2015 15:36:39 +0000 (5 17:36 +0200)
tree0b46eb6d448b807bdce1a44028377f220403cc20
parent64130fa4a1514ae7a580b8d46290a11784770600
q35: fix ESMRAMC default

The cache bits in ESMRAMC are hardcoded to 1 (=disabled) according to
the q35 mch specs.  Add and use a define with this default.

While being at it also update the SMRAM default to use the name (no code
change, just makes things a bit more readable).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/pci-host/q35.c
include/hw/pci-host/q35.h