[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/14] hw/acpi/ich9_tco: Restrict ich9_generate_smi() declaration
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 05/14] hw/acpi/ich9_tco: Restrict ich9_generate_smi() declaration |
Date: |
Mon, 19 Feb 2024 17:38:45 +0100 |
Only files including "hw/acpi/ich9_tco.h" require
the ich9_generate_smi() declaration.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/hw/acpi/ich9_tco.h | 1 +
include/hw/southbridge/ich9.h | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/hw/acpi/ich9_tco.h b/include/hw/acpi/ich9_tco.h
index 1c99781a79..68ee64942f 100644
--- a/include/hw/acpi/ich9_tco.h
+++ b/include/hw/acpi/ich9_tco.h
@@ -76,6 +76,7 @@ typedef struct TCOIORegs {
} TCOIORegs;
void ich9_acpi_pm_tco_init(TCOIORegs *tr, MemoryRegion *parent);
+void ich9_generate_smi(void);
extern const VMStateDescription vmstate_ich9_sm_tco;
diff --git a/include/hw/southbridge/ich9.h b/include/hw/southbridge/ich9.h
index 1ac4238f7e..bee522a4cf 100644
--- a/include/hw/southbridge/ich9.h
+++ b/include/hw/southbridge/ich9.h
@@ -11,8 +11,6 @@
#include "qemu/notify.h"
#include "qom/object.h"
-void ich9_generate_smi(void);
-
#define ICH9_CC_SIZE (16 * 1024) /* 16KB. Chipset configuration registers */
#define TYPE_ICH9_LPC_DEVICE "ICH9-LPC"
--
2.41.0
- [PATCH 00/14] hw/southbridge: Extract ICH9 QOM container model, Philippe Mathieu-Daudé, 2024/02/19
- [PATCH 01/14] MAINTAINERS: Add 'ICH9 South Bridge' section, Philippe Mathieu-Daudé, 2024/02/19
- [PATCH 02/14] hw/i386/q35: Add local 'lpc_obj' variable, Philippe Mathieu-Daudé, 2024/02/19
- [PATCH 03/14] hw/acpi/ich9: Restrict definitions from 'hw/southbridge/ich9.h', Philippe Mathieu-Daudé, 2024/02/19
- [PATCH 04/14] hw/acpi/ich9_tco: Include 'ich9' in names, Philippe Mathieu-Daudé, 2024/02/19
- [PATCH 05/14] hw/acpi/ich9_tco: Restrict ich9_generate_smi() declaration,
Philippe Mathieu-Daudé <=
- [PATCH 06/14] hw/pci-bridge: Extract QOM ICH definitions to 'ich_dmi_pci.h', Philippe Mathieu-Daudé, 2024/02/19
- Re: [PATCH 06/14] hw/pci-bridge: Extract QOM ICH definitions to 'ich_dmi_pci.h', BALATON Zoltan, 2024/02/19
- Re: [PATCH 06/14] hw/pci-bridge: Extract QOM ICH definitions to 'ich_dmi_pci.h', BALATON Zoltan, 2024/02/19
- Re: [PATCH 06/14] hw/pci-bridge: Extract QOM ICH definitions to 'ich_dmi_pci.h', Philippe Mathieu-Daudé, 2024/02/20
- Re: [PATCH 06/14] hw/pci-bridge: Extract QOM ICH definitions to 'ich_dmi_pci.h', BALATON Zoltan, 2024/02/20
- Re: [PATCH 06/14] hw/pci-bridge: Extract QOM ICH definitions to 'ich_dmi_pci.h', Thomas Huth, 2024/02/20
- Re: [PATCH 06/14] hw/pci-bridge: Extract QOM ICH definitions to 'ich_dmi_pci.h', Philippe Mathieu-Daudé, 2024/02/26
- Re: [PATCH 06/14] hw/pci-bridge: Extract QOM ICH definitions to 'ich_dmi_pci.h', BALATON Zoltan, 2024/02/26