From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id B2D91D820A2 for ; Thu, 10 Apr 2025 06:58:32 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=QfrNDcJi87NkcLt3LFOpddrb6Nxp8dr6CIzDaJUkTBU=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240830; t=1744268312; v=1; x=1744527511; b=ISZhC+SISfYgQ8wwJ2aF5LF4sT6dNrpcg7vjQI7PExX35R2Rbj6okbq6puHc+OcNg94CM/u/ xFD3PdS+YEArQY5FqGR1hmdVRTEbY8SkCCcK9WLm+im1a8M6QO0JkoPo1qKFZQgHU8jQr0Ydkyi RGGKBB45rTHLVYFcSt2i1J/xjyXAPmS3TZCLh77o1FeEEru+WDzm/8kMx+YEzGqtgh7V3MqCLNf FBDFlX5NO7bZ9c/gpp6Orpsp+sSrQFq6Eqd6LsiKjhRiv428bq7vitL7Rql01RiXom+zlDgr5FG WQ9HfYYeQvz7Haq7WRIetd6m2kRCx1+5DUtIANAkBqmFg== X-Received: by 127.0.0.2 with SMTP id tuLJYY7687511xlqw9vI6aKY; Wed, 09 Apr 2025 23:58:31 -0700 X-Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by mx.groups.io with SMTP id smtpd.web10.28311.1744268310434928516 for ; Wed, 09 Apr 2025 23:58:30 -0700 X-Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 1FD424A3EE for ; Thu, 10 Apr 2025 06:58:29 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD9C6C4CEEB for ; Thu, 10 Apr 2025 06:58:29 +0000 (UTC) X-Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-5499614d3d2so532030e87.3 for ; Wed, 09 Apr 2025 23:58:29 -0700 (PDT) X-Gm-Message-State: cU11ZOKP0IH8CmeCcmtXqS2px7686176AA= X-Google-Smtp-Source: AGHT+IE726Usv6Pm1qEilbyJBlYRKKaxGv8FG8iZihXPC/zb2/qRHJdM7iBnbcAKdGVKEPRSfCRP8zagSx1/pXxJzvM= X-Received: by 2002:a05:6512:159c:b0:54a:f743:3134 with SMTP id 2adb3069b0e04-54d3c62a0e4mr294834e87.46.1744268308200; Wed, 09 Apr 2025 23:58:28 -0700 (PDT) MIME-Version: 1.0 References: <6352.1743111843323531312@groups.io> <13400.1744226252159153109@groups.io> In-Reply-To: <13400.1744226252159153109@groups.io> From: "Ard Biesheuvel via groups.io" Date: Thu, 10 Apr 2025 08:58:17 +0200 X-Gmail-Original-Message-ID: X-Gm-Features: ATxdqUHZzGlwk1AOHgQm4tWykdLjZrLARPk616BQiu2GVH93jRlbgpB-TJ9LnA0 Message-ID: Subject: Re: [edk2-devel] ACPI table generator unit test To: devel@edk2.groups.io, yodagump@google.com, Sami Mujawar , Pierre Cc: Paul Fagerburg Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 09 Apr 2025 23:58:30 -0700 Resent-From: ardb@kernel.org Reply-To: devel@edk2.groups.io,ardb@kernel.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=ISZhC+SI; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io cc Sami and Pierre On Wed, 9 Apr 2025 at 21:17, Sophia Wang via groups.io wrote: > > Gentle ping on this thread. > > As Paul mentioned, there are only two non-static functions for ACPI table generator - AcpiHmatLibConstructor() and > AcpiHmatLibDestructor() > > In order to do the unit test, we need to expose at least one STATIC to be non-STATIC. > CONST > ACPI_TABLE_GENERATOR HmatGenerator. > > So we can use > https://github.com/tianocore/edk2/pull/10833/commits/4eeeb1434820718ace1670d9429a867fe5e8c9b7 > to register HMAT generator (or other generators). > > Currently https://github.com/tianocore/edk2/pull/10833/commits/4eeeb1434820718ace1670d9429a867fe5e8c9b7 solution is not functional given no function call on RegisterAcpiTableGenerator(). > > I guess we all need to wait for upstream's decision on STATIC and NON_STATIC exposure for ACPI table generator unit test. > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#121254): https://edk2.groups.io/g/devel/message/121254 Mute This Topic: https://groups.io/mt/111930977/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-