From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 0F8D878003C for ; Fri, 15 Mar 2024 11:34:18 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=yY7N7uW8z6r47NjMnSntBjhWpQ5jpgW9Q/i0mWlfBjw=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:Organization:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1710502457; v=1; b=1AMwjn1GNDOyqhAKt8n1JPBxSvjdr1U+vY6MMAxHNXZfdYCBsqYbd3Uyvu6bczDRCEScu8YD CYy0iljnx+jSvbBTAZmjaM768UzwkOTlaikLpJNzRxuddg/WM+dFInY0t1yPq/0hypU8yX6qbvh YwD9Cmr5f75dWGSPBNfUq2UZU4FBFOrOCSD+cio+xQ1qxbF5N+secDyhLJNLzZEF17DTnVyMTI+ PyPZ3SVTn3IgJIKox3SagSwrRUZcVb1fjcHf1/bO7mMKDBYXXZUQUm953ouhHUNwRPaOdyDwrPf zzizxzWZVVGWx5VQv9UFpdDve4znc9hMjbsUavT0Sb1kQ== X-Received: by 127.0.0.2 with SMTP id HR05YY7687511xiUvoBOLYQ4; Fri, 15 Mar 2024 04:34:17 -0700 X-Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) by mx.groups.io with SMTP id smtpd.web11.19739.1710502456654886028 for ; Fri, 15 Mar 2024 04:34:16 -0700 X-Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-5684ea117a3so2727324a12.0 for ; Fri, 15 Mar 2024 04:34:16 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWcrRHonbmpwI6Uu92Wz8+8DXj/qC/Hr/sYTEPLFSNYrpCfSHZ3EzX0xkqptZ9Y6Vp6Q4ph+xG52+NPmUhIoVeyblgFMg== X-Gm-Message-State: uNVMcCGFAme6y2ZwIyKSR9Kcx7686176AA= X-Google-Smtp-Source: AGHT+IGGKMUoMpv/Dq/u8E76n9Q1S/aufxvgzI+eg84Khg0uL9+7XUmc+RWrV1jzbKN/uGFzZnMTSg== X-Received: by 2002:a17:906:298b:b0:a46:1861:ffdb with SMTP id x11-20020a170906298b00b00a461861ffdbmr2766088eje.35.1710502454992; Fri, 15 Mar 2024 04:34:14 -0700 (PDT) X-Received: from [192.168.200.106] (83.11.22.169.ipv4.supernova.orange.pl. [83.11.22.169]) by smtp.gmail.com with ESMTPSA id v23-20020a1709067d9700b00a4663a7120asm1616208ejo.166.2024.03.15.04.34.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Mar 2024 04:34:14 -0700 (PDT) Message-ID: <208b6034-b0d9-4dab-bd02-ba245308baae@linaro.org> Date: Fri, 15 Mar 2024 12:34:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH edk2-platforms v6 1/7] Platform/SbsaQemu: add SbsaQemuHardwareInfoLib To: Ard Biesheuvel , devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Graeme Gregory , Xiong Yining , Chen Baozi References: <20240306-no-dt-for-cpu-v6-0-acd8727a1b59@linaro.org> <20240306-no-dt-for-cpu-v6-1-acd8727a1b59@linaro.org> From: "Marcin Juszkiewicz" Organization: Linaro In-Reply-To: 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, 15 Mar 2024 04:34:17 -0700 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: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=1AMwjn1G; 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 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io W dniu 14.03.2024 o 16:14, Ard Biesheuvel pisze: >>> +++ b/Silicon/Qemu/SbsaQemu/Library/SbsaQemuHardwareInfoLib/SbsaQemuHardwareInfoLib.inf >>> @@ -0,0 +1,32 @@ >>> +#/* @file >>> +# >>> +# Copyright (c) Linaro Ltd. All rights reserved. >>> +# >>> +# SPDX-License-Identifier: BSD-2-Clause-Patent >>> +# >>> +#*/ >>> + >>> +[Defines] >>> + INF_VERSION = 0x0001001c >>> + BASE_NAME = SbsaQemuHardwareInfoLib >>> + FILE_GUID = 6454006f-6502-46e2-9be4-4bba8d4b29fb >>> + MODULE_TYPE = BASE >>> + VERSION_STRING = 1.0 >>> + LIBRARY_CLASS = ArmPlatformLib >>> + >> This is a new library class, so you should name it and define it in >> the associated .DEC file (which does not exist yet) >> >> You can look at Platform/Qemu/QemuOpenBoardPkg/QemuOpenBoardPkg.dec >> for inspiration (but please use 1.27 and not 0x00010005 for the >> version) >> > Just noticed there is already a .DEC in Silicon/Qemu/SbsaQemu/ so > better to put it there. I based on other libraries in Silicon/Qemu/SbsaQemu/Library/ directory. One C source file, one INF and then a line in Platform/Qemu/SbsaQemu/SbsaQemu.dsc file to tell where it is. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116814): https://edk2.groups.io/g/devel/message/116814 Mute This Topic: https://groups.io/mt/104763762/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-