From patchwork Mon Feb 19 16:38:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 774095 Delivered-To: patch@linaro.org Received: by 2002:a5d:4943:0:b0:33b:4db1:f5b3 with SMTP id r3csp1252784wrs; Mon, 19 Feb 2024 08:40:24 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWJ0l0M8RQR0UwOa9yaxb3yJ32u1887pRangVw4iflDEAQYykCjZPlA6W+As2tVPQbsJyBBbQ7lVmqNsyGwoGFY X-Google-Smtp-Source: AGHT+IG9FbEvi8fubf10lGdZw6vv1GAzD2bBAmCzTdIZImDBWodAvU5pL2czoAllQwcRz8zBtE81 X-Received: by 2002:a0c:f114:0:b0:68f:5c66:a935 with SMTP id i20-20020a0cf114000000b0068f5c66a935mr5747993qvl.49.1708360824173; Mon, 19 Feb 2024 08:40:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708360824; cv=none; d=google.com; s=arc-20160816; b=MSuYjmWTUJvlDCBK7Jl4w8DNoIJcrQwhy9JWH4yZ59syOZ4ILt/hd57Xd5hRrbXj+5 E3WJS7XvNE2AtTPKQIy13GNM4bauW6k0VROCsL0Q1mUG2JbBRyZqqJ/b0/T4dGe6SA/B Cd3Kq7PELf4d+9ZOT0s0z2HBM65trS+P/41Aa32zoe3Ift0tu143tyR01zIzkfWPHK6x II+Vt6GL9rD/kyEXCSG468A3UkmoFHEj1oy+k0ByFoY2g+yEbGoaauuxGY2wx5oFgAth fiQPG6+dIoCPI2oRAMkq6GowGWcQYQ85O34XrOwTN/BZ4TBmD2swUULj6kiQnFbNH0JR 0liA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=teclhIdRp9DBtUYfsv1Nj0vfraIqiRBxDKPN1DGCTw4=; fh=GFH0+Nfz+rN0IvTHf71Tn8mJWCh907g2jnPgVcMG7yo=; b=GwLp5+y7J+Ygxzw8BMF/Ow0I80QHVvGLwvOOTJo7N15Iubw+H/sUl6Ry9Ks3LY6qw9 woQyT6HIkpxIiccL/xj1WwzsR+EeinQNXjk3RqQq6HBkE7BD3gjAXVjfyTUyGozcrcmT +kzRYlSH6cYc5pRQekGRjeRoun8ulim3yV78392Mk3pwL6qSjyRx2fs0Zd9JTbylNInQ Ns52nKc228x3znGPyuDvZkCjPBPmthHYsi7aTDNUFoNFyS5Kldn2QmhAv2gNbeScZHgY OhfIOGRx172MxU4fRGPEX3IFib1CHrrTHSwpS97nMKOYHrDNHr3rKbHQzvw8Oz0wle+p ZvBg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z0946+W8; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id q14-20020a056214194e00b0068cb0e2e9aesi6307616qvk.580.2024.02.19.08.40.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Feb 2024 08:40:24 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z0946+W8; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rc6g6-0001YJ-PI; Mon, 19 Feb 2024 11:39:38 -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 1rc6g6-0001Vm-0N for qemu-devel@nongnu.org; Mon, 19 Feb 2024 11:39:38 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rc6g4-0002y5-Dg for qemu-devel@nongnu.org; Mon, 19 Feb 2024 11:39:37 -0500 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-33aeb088324so2384253f8f.2 for ; Mon, 19 Feb 2024 08:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708360774; x=1708965574; 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=Z0946+W8T0GVl3pUl/1DR4QtwMAFKiJxmmUHrvs9pZOaBsj8N9T4lteRrjvrU94xm/ Y81slROxwNxkET+6eL6lb/1uVzapRxs3ddfACSeg+ai6MA496VddafzhAWmgwJU8/Sfs /4fwaQuvpxaWFEMLytevb3ig+u2JPN0exV1ak0eVs1dUuAxMPs4wN0DKc/U4HW+r2YZX 73hH0j3fja51or7svAXp/7weqNon83+kfMvF06tZRAaBVlHV4OPkafL1Gx+ykIl7Wik1 fJyeIhfJ0dz6Qoe13dvrOXm6LxpBRZ+OcCrGPuEHopx08jVL4txM5RQTBIctc4UbN8sY mm3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708360774; x=1708965574; 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=RPe7fUm9D7kOf2KyTZPDzpkgPMfY+4ew01A8ZNwsJ6hhzZ1jVG4UZtFdYK2C7Uz1Pq 19Is+8we2WieqX5tq1W5xSkqLPpMaIsjrIPFizvdBD9C0HSH++gy0tA/a7g4EYDbcs5K PlMWxqx0FxKaQtyVe0tqFNWml526UKew15woAyRnAOCJmcCM2gEcPAmFafZM/YPZLo58 HAoEK7JXgB3ZWbbEMLEwHn26n0W7On0TpKn2pUmsnTrIGj1DG4Yo5A2QVWgr6m+CvgKJ D0q3TuqxBjywwe4xt/bhU0ulVy0345uMt1g6DeCqgd06IEDmh4heX2feFyxp+sx6WmFW vFQw== X-Gm-Message-State: AOJu0YyLWNwLGJGK+4rxyr8EAdmubt3PtckPhY4YVToMYALdg1CkhVAV tn0On+rrBgMRI+J5kqDYsldxgArkg5nK33DHeD0Spbo+Ef/kOh7fK4NDDbybjfPnyVPQS1CJpXj 3 X-Received: by 2002:a05:6000:1864:b0:33d:6334:e14 with SMTP id d4-20020a056000186400b0033d63340e14mr373508wri.11.1708360774545; Mon, 19 Feb 2024 08:39:34 -0800 (PST) Received: from m1x-phil.lan ([176.176.181.220]) by smtp.gmail.com with ESMTPSA id ay3-20020a5d6f03000000b0033d1b760125sm11129469wrb.92.2024.02.19.08.39.32 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Feb 2024 08:39:34 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Bernhard Beschow Cc: "Michael S. Tsirkin" , Ani Sinha , Richard Henderson , Igor Mammedov , Mark Cave-Ayland , Laurent Vivier , Thomas Huth , Marcel Apfelbaum , Eduardo Habkost , Paolo Bonzini , BALATON Zoltan , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 05/14] hw/acpi/ich9_tco: Restrict ich9_generate_smi() declaration Date: Mon, 19 Feb 2024 17:38:45 +0100 Message-ID: <20240219163855.87326-6-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240219163855.87326-1-philmd@linaro.org> References: <20240219163855.87326-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=philmd@linaro.org; helo=mail-wr1-x431.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=ham 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Only files including "hw/acpi/ich9_tco.h" require the ich9_generate_smi() declaration. Signed-off-by: Philippe Mathieu-Daudé --- 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"