geodevga: Rename defines to better match a well defined naming schema

The following nameing schema is used:
    PART_REGISTER_BIT_DESCRIPTION

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
geodevga: Add functions to work with fp register

The Flat Panel Display Controller belongs to the Video
Processor unit but its register are starting at offset
0x400. Provide functions to work with fp register.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
geodevga: Add some basic flat panel defines

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
geodevga: Add VP_MSR_CONFIG defines

This patch adds all needed defines to setup the wanted
output mode.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
geodevga: Add configuration option for output modes

Geode GX2 and LX are supporting Flat Panels. Add new
configuration options to support different output modes.
You can choose between:
* CRT
* Flat Panel
* CRT and Flat Panel

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
geodevga: Setup output based on .config

The geode hardware can be configured to use different
outputs. This patch adds support this feature based on
the current .config

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
geodevga: Add defines for VP_MSR_PADSEL

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
geodevga: Setup flat panel if needed

This patch does basic setup of the flat panel and turns the
panel on.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
seabios: make mttr UC area setup dynamic

Set up the UC area of mtrr dynamically based on mtrr_base. This allows
the bios to work for other chipsets that might want to set the mtrr.
Since BUILD_MAX_HIGHMEM is no longer used we can remove the config parameter.

This change reverses the order of pci_setup() and smm_init() with
mtrr_setup().

Signed-off-by: Jason Baron <jbaron@redhat.com>
seabios: acpi: add mcfg table.

add mcfg table.
mcfg isn't populated at the moment. dev-q35 will use it later.

[jbaron@redhat.com: moved header from post.h -> acpi.h]
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Jason Baron <jbaron@redhat.com>
seabios: acpi, fadt: make while fadt initialization chipset specific

make while fadt initialization chipset specific.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Jason Baron <jbaron@redhat.com>
seabios: pci: enable SERR of normal device.

enable SERR of normal device for AER.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Jason Baron <jbaron@redhat.com>
seabios: add q35 initialization functions.

add q35 initialization functions.

[jbaron@redhat.com: restructured to current seabios base, updated pci base to 0xb0000000]
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Jason Baron <jbaron@redhat.com>
seabios: q35: add dsdt

add dsdt for q35 chipset of qemu.

[jbaron: remove suspd bits since they are now auto-generated, move pci window to 0xb0000000,
    add framework for auto generated pci windows]
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Jason Baron <jbaron@redhat.com>
seabios: q35: Register PCI IRQs as active high in APIC mode

Seems important for Windows.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jason Baron <jbaron@redhat.com>
seabios: q35: add basic hotplug support

Add support for acpi hotplug to q35. Copied from the piix acpi table.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jason Baron <jbaron@redhat.com>