From nobody Thu Nov 14 18:10:36 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1708946103; cv=none; d=zohomail.com; s=zohoarc; b=WRXW2AGywmHE+sWyMHE1YWeHG0NePQtJyuVl6vP3JJZHRczwLWD8jcA/AtlHVEKGtvhZZ7uwOx8Ove5lBC4VBJY+R5oGGKIiZ63FVLnUZ5J6O3PKBfwmvF2iwYPpMBzD4/ZlDpjwu36yMXBi9UHJCYrIgZ7JL6hIdUrwM8V+Lng= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1708946103; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=teclhIdRp9DBtUYfsv1Nj0vfraIqiRBxDKPN1DGCTw4=; b=no3v29S1yNkqBukDNgk09xbWjWYZ29MQBcHuW8TOHry+m4g85J2WXkEn4/EF5xbrnMffCOJ+iExbkMVMKcJ3B6ppo/1fGbBPmSUsGw00nL8tEufpDcGdlstHyxPMXsvUUFT/+mrCmyTPTai09ohG0WxwslbEsMYEsFsguJeYXDI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1708946103203503.5136335687124; Mon, 26 Feb 2024 03:15:03 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reYwh-00014X-Us; Mon, 26 Feb 2024 06:14:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1reYwg-00010o-37 for qemu-devel@nongnu.org; Mon, 26 Feb 2024 06:14:54 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1reYwe-0008Sr-Ig for qemu-devel@nongnu.org; Mon, 26 Feb 2024 06:14:53 -0500 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-412a882bd4eso1781865e9.1 for ; Mon, 26 Feb 2024 03:14:52 -0800 (PST) Received: from m1x-phil.lan ([176.176.164.69]) by smtp.gmail.com with ESMTPSA id z9-20020a05600c114900b004128fa77216sm11619502wmz.1.2024.02.26.03.14.48 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 26 Feb 2024 03:14:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708946090; x=1709550890; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=teclhIdRp9DBtUYfsv1Nj0vfraIqiRBxDKPN1DGCTw4=; b=cLlyIZzyIwzRA8+E+YhA565O3kTpK4rTG7rsM6QpkCw7PZ4T/BhnxDdcqtEljjNp7z 5nWKqg/28lh9qjXIs7657b9LRIVCL88cuboP6PiV8SAFUrImG3Gl2VpXiYtaCoVrNRhr usi4hFXuKy7JUkTRhPv/C35sk0XTJjZdu1CGfCTpgV1T83EZNa5EoXG0YeIGDbtlgmb6 O4hTn2lwN+3BRKSTNTFzUrnoOB/Ayv7/UcWjcmwM05geqgrOFq80JQi9d8Nhulc58DJQ Se1ZobVstz6JqyO+1FvQyCWUjvoTbC3dXMi5/4lb5K0iMwrRWUzhy/dNTX/4yZBXN2y6 wWmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708946090; x=1709550890; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=teclhIdRp9DBtUYfsv1Nj0vfraIqiRBxDKPN1DGCTw4=; b=uLsG0SBGk4ow15eGWyQrit9HFhtFiEd/RpYJZSiuFZKt6MBRzb81H3OOhiDPzbAy3q WOK4jW1w8mwkB3J6VTR/4nIh2SYCjZ6g3SXbkSoq89U/AXBm+QtxSMRl4duNyZNtntBA GCPeTlkdrT2WWGKYD1w5EUeYUdxONldWKdbqchfRcifhRkAQZcPOj1IYxlFATFU0UjB7 rhzL2SyG9pyyAYb+Jkv9JGpS4P2+I3dzEVMEAR530z7LgH41YjqgWHtYKKQ1HfD9FzH8 iVWjWsRJRkS8/doI5PYyoY/fqpcPXi/gQ6Y9oEUmgj4FdSa5gakzBiv98BbR93j78eXN myAg== X-Gm-Message-State: AOJu0YyUx2ocZaLpTxBl5B28zMYWHAmPMh0i1tTBC9gKf1QL8qEk6WXH 9Cq3UPKSyvCizvn1A5HBBtoXKwG8kYSVW/hjaQCJLBE13DsOm6E3gIMr4XGnD7X8zyzx+yn4T3F + X-Google-Smtp-Source: AGHT+IEb8lmEgruTmqOdHDSINt4LCZH94mpBFNVUdcpjkGjXh2rFYin8Flm/Xj4osK87Z9UcAkYCMg== X-Received: by 2002:a05:600c:190b:b0:412:a266:c296 with SMTP id j11-20020a05600c190b00b00412a266c296mr3234019wmq.33.1708946090548; Mon, 26 Feb 2024 03:14:50 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Bernhard Beschow Cc: Laurent Vivier , Thomas Huth , BALATON Zoltan , Ani Sinha , qemu-block@nongnu.org, Marcel Apfelbaum , Eduardo Habkost , John Snow , Paolo Bonzini , "Michael S. Tsirkin" , Igor Mammedov , Richard Henderson , Mark Cave-Ayland , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 05/15] hw/acpi/ich9_tco: Restrict ich9_generate_smi() declaration Date: Mon, 26 Feb 2024 12:14:04 +0100 Message-ID: <20240226111416.39217-6-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240226111416.39217-1-philmd@linaro.org> References: <20240226111416.39217-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=philmd@linaro.org; helo=mail-wm1-x32f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1708946103691100001 Only files including "hw/acpi/ich9_tco.h" require the ich9_generate_smi() declaration. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- 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; =20 void ich9_acpi_pm_tco_init(TCOIORegs *tr, MemoryRegion *parent); +void ich9_generate_smi(void); =20 extern const VMStateDescription vmstate_ich9_sm_tco; =20 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" =20 -void ich9_generate_smi(void); - #define ICH9_CC_SIZE (16 * 1024) /* 16KB. Chipset configuration registers = */ =20 #define TYPE_ICH9_LPC_DEVICE "ICH9-LPC" --=20 2.41.0