[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 18/18] acpi: drop debug port
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 18/18] acpi: drop debug port |
Date: |
Tue, 4 Dec 2012 14:05:15 +0100 |
I'm pretty sure this isn't needed any more. I think this predates the
switch to seabios, and the seabios DSDT table has a DBUG() aml macro
which writes stuff to the seabios debug port (0x402).
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/acpi_piix4.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c
index 263338a..b03454e 100644
--- a/hw/acpi_piix4.c
+++ b/hw/acpi_piix4.c
@@ -38,8 +38,6 @@
# define PIIX4_DPRINTF(format, ...) do { } while (0)
#endif
-#define ACPI_DBG_IO_ADDR 0xb044
-
#define GPE_BASE 0xafe0
#define GPE_LEN 4
@@ -129,11 +127,6 @@ static void apm_ctrl_changed(uint32_t val, void *arg)
}
}
-static void acpi_dbg_writel(void *opaque, uint32_t addr, uint32_t val)
-{
- PIIX4_DPRINTF("ACPI: DBG: 0x%08x\n", val);
-}
-
static void pm_io_space_update(PIIX4PMState *s)
{
uint32_t pm_io_base;
@@ -400,8 +393,6 @@ static int piix4_pm_initfn(PCIDevice *dev)
/* APM */
apm_init(&s->apm, apm_ctrl_changed, s);
- register_ioport_write(ACPI_DBG_IO_ADDR, 4, 4, acpi_dbg_writel, s);
-
if (s->kvm_enabled) {
/* Mark SMM as already inited to prevent SMM from running. KVM does
not
* support SMM mode. */
--
1.7.1
- [Qemu-devel] [PULL 00/18] acpi: switch to memory api, Gerd Hoffmann, 2012/12/04
- [Qemu-devel] [PATCH 05/18] apci: switch cnt to memory api, Gerd Hoffmann, 2012/12/04
- [Qemu-devel] [PATCH 18/18] acpi: drop debug port,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 07/18] acpi: cleanup piix4 memory region, Gerd Hoffmann, 2012/12/04
- [Qemu-devel] [PATCH 08/18] acpi: cleanup vt82c686 memory region, Gerd Hoffmann, 2012/12/04
- [Qemu-devel] [PATCH 10/18] apci: switch ich9 smi to memory api, Gerd Hoffmann, 2012/12/04
- [Qemu-devel] [PATCH 01/18] apci: switch piix4 to memory api, Gerd Hoffmann, 2012/12/04
- [Qemu-devel] [PATCH 03/18] apci: switch vt82c686 to memory api, Gerd Hoffmann, 2012/12/04
- [Qemu-devel] [PATCH 16/18] apci: switch piix4 pci hotplug to memory api, Gerd Hoffmann, 2012/12/04
- [Qemu-devel] [PATCH 13/18] acpi: fix piix4 smbus mapping, Gerd Hoffmann, 2012/12/04
- [Qemu-devel] [PATCH 14/18] apci: switch piix4 gpe to memory api, Gerd Hoffmann, 2012/12/04
- [Qemu-devel] [PATCH 04/18] apci: switch timer to memory api, Gerd Hoffmann, 2012/12/04
- [Qemu-devel] [PATCH 06/18] apci: switch evt to memory api, Gerd Hoffmann, 2012/12/04