From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail03.groups.io (mail03.groups.io [45.79.227.220]) by spool.mail.gandi.net (Postfix) with ESMTPS id 8BD7874003E for ; Fri, 12 Apr 2024 12:43:15 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=tFFnRHaR36r7tFauxtjXj7+mS2acgPS6nA6fugseAHQ=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:References:From:Cc:Organization:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1712925794; v=1; b=hbImJaqcAhnJzqTl/m7wb03FhxRkcdpBxzmg3Y0JYSl1F05hl7p4Udy7VBzfjr5mKACWZ2tM 4xZJksvP0j/d/s6xxptuj0Xj0EXDM0o5tJBtGN7FSrb3lVldEfWDQWAWoTpsIuI3/k32yBiTQYT f7EMqn8bHjghLMXyBmKD3IKZWpOu/Vo7VW3gVQnTib/klIP8RyDkVADK+LcHkJXHayELQ3er6gh b1bpb/QJUXk/siz92JajuHjx75fYoICsUs8vnbWtgJsdJikm79Q3r5+VRavpKxMN1+ufo3S1PRX 504DWy3mYX6zLpwwXAuCcvkQJmof2lW2Lu/b7BWvUc6+g== X-Received: by 127.0.0.2 with SMTP id ZUcSYY7687511xn3vvGdoN6n; Fri, 12 Apr 2024 05:43:14 -0700 X-Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) by mx.groups.io with SMTP id smtpd.web10.45872.1712925793333738512 for ; Fri, 12 Apr 2024 05:43:13 -0700 X-Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a4715991c32so107578766b.1 for ; Fri, 12 Apr 2024 05:43:13 -0700 (PDT) X-Gm-Message-State: lpatDsIVlI5IgCEeIjZfy13Hx7686176AA= X-Google-Smtp-Source: AGHT+IF7Ph+gSxS6+32pNp+OrxpzjfyDRSKpFCFlPibUVldgZMGSIulmHnUJxgUFHDqOUW/eslDX7Q== X-Received: by 2002:a17:906:40f:b0:a51:b00b:45a5 with SMTP id d15-20020a170906040f00b00a51b00b45a5mr1249143eja.74.1712925791473; Fri, 12 Apr 2024 05:43:11 -0700 (PDT) X-Received: from [192.168.200.106] (83.11.0.31.ipv4.supernova.orange.pl. [83.11.0.31]) by smtp.gmail.com with ESMTPSA id qa11-20020a170907868b00b00a5235250972sm737089ejc.117.2024.04.12.05.43.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Apr 2024 05:43:11 -0700 (PDT) Message-ID: Date: Fri, 12 Apr 2024 14:43:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] ACPI table generators and ConfigurationManagerProtocol To: devel@edk2.groups.io References: <178C31CFE9B284CD.5378@groups.io> From: "Marcin Juszkiewicz" Cc: Sami Mujawar , Evan Lloyd Organization: Linaro In-Reply-To: <178C31CFE9B284CD.5378@groups.io> 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: Fri, 12 Apr 2024 05:43:13 -0700 Resent-From: marcin.juszkiewicz@linaro.org Reply-To: devel@edk2.groups.io,marcin.juszkiewicz@linaro.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Language: pl-PL, en-GB, en-HK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=hbImJaqc; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linaro.org (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.227.220 as permitted sender) smtp.mailfrom=bounce@groups.io W dniu 8.10.2023 o 19:25, Marcin Juszkiewicz via groups.io pisze: I hate replying to myself after half a year of not seeing any answer. So=20 added some people from repo to Cc: > Can someone point me to documentation on how to use ACPI table=20 > generators and ConfigurationManagerProtocol? https://github.com/tianocore/edk2/blob/master/DynamicTablesPkg/Readme.md=20 tells the story and points to presentation from 2018 with some pictures=20 in it. Looks like the only documentation is the code itself. Is checkout of=20 some old tree and looking change by change how it was done on some=20 platform the easiest way to find out how to use it? > And tell which of platforms is a good example of using those? Juno, FVP, Morello, N1SDP, one NXP platform and ArmVirt use them.=20 Probably the last one would be best to look at but who knows... > From first look it seems like using ACPI table generators may allow=20 > to simplify code by not creating tables by hand (or in ASL). I would > like to do some changes around SBSA Reference Platform without=20 > rewriting ASL into C again. In meantime I rewrote some ASL into C. Again. Now need a way to generate=20 DSDT for PCIe buses. Can write something in C again. But do I really=20 need to? > I am aware that moving platform to use configuration manager may=20 > require even more work. The more I look at */ConfigurationManager.[ch] the more I do not like=20 the amount of static structures there. All those=20 EDKII_PLATFORM_REPOSITORY_INFO covering 1000 lines looks like "how the=20 hell I will find what to change in other piece of code". Any doc pointers? Recommendations (other than "change your job")? -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117666): https://edk2.groups.io/g/devel/message/117666 Mute This Topic: https://groups.io/mt/105481311/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-