From patchwork Thu May 31 10:46:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 137354 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp6429024lji; Thu, 31 May 2018 03:46:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIYZ67xCVkFs1w9c7xzI17alPCrS++NtyCN4WaBtNSykRIFEnicY248grbrqm/p3V5SK6uc X-Received: by 2002:a63:a557:: with SMTP id r23-v6mr5115286pgu.336.1527763605654; Thu, 31 May 2018 03:46:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527763605; cv=none; d=google.com; s=arc-20160816; b=WfSVubtrEWJLo7RLAy3LJ8Ie+GphS9hCB6Booo3kySCLkgvMmHaCKnuQa1oUwIINew IHo1L0YPhvMZBciE1mkdM/qxdl7ltc0FypC3v3Ro6yLH2Ya3QOHk1fEnPRms+Ieb7q46 kx6Rm4LM7Ch+zIDc7fSEPLXQ/gLUGtafsk3usJoAMy88CSKHw7+tIeuC53xQoYejY3Zz BxjyvCN58gatjQR4gM4fnQQaGyimqvT403J0H1C+VUvdWrVPe1ko/4Zs4CTIHaAhu3Nb s9Och2XSiSU11oH8kyZCZY9UL86R9fd1TZ7EqQxaUlHJORrTY7PLC+b8Y2pxUm/iM/hx 0xIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=svHiYUvCUgS1STWW1cW2fB8f5U55mJi+u0Mz7SpKCRQ=; b=zU5N0Xa6cwnCQLXo9Gt9dVd0X+JJnj8WWDr3Z29CrCmV4/Y3PzaY7i3XX86H17vlRx 516+GnqQJdkbpKfQk+64NF74L2tZvxC5GylSK0n5TF+ilghuSeXG18YXBrTq1SZtL8AX XjLbc0qOCExuFvl5yU99bFrj0ItE+1engxcuhHRSq9XeAHNhuFTArtJdXgBzL4yaM2GF CdqxLL5Gmy8Dldx1MZm09qdwXTfekeznFkDnUed61eY1XxtZ+42D4xxN38FRRD8eF9+g ovJ9RmGWPZifipql0D8UKW5cRlm/w+5O8qjKkgaNbBbyT7EPthQ/wv+bSPTSCnA8Nwnu 9fQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=UG/u4Cmy; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id 83-v6si1856228pfu.274.2018.05.31.03.46.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 03:46:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=UG/u4Cmy; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 48D092098598F; Thu, 31 May 2018 03:46:45 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::242; helo=mail-wr0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1852C208F79FF for ; Thu, 31 May 2018 03:46:41 -0700 (PDT) Received: by mail-wr0-x242.google.com with SMTP id d2-v6so17071773wrm.10 for ; Thu, 31 May 2018 03:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+KSqZFkTSMW/A5mOk8ykue7LgQCK7Jqny1gm585IB9I=; b=UG/u4Cmy0a24o3ESQOGyVZxoyX+ZDB1oZZFLua7qfBagG9urKrS06B2l0Q+4+0Josn TcBL1Ek2pHg2A0BRT7mmFf/WvnQJAkDgiJGtMtU6beipssSpZTSpnhSeNJZLCcSoYE4Y 7qlTGPBNA8AGae47e9c5/7+QYr3xepg1y+CJQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+KSqZFkTSMW/A5mOk8ykue7LgQCK7Jqny1gm585IB9I=; b=NAQcrcXjwXf27HDJX25zcIkERXDVR9euFBVS0QS0yQUq71neGzZzn4cI/M04Ybm2Sa FqHvNg4WHKfWkE52uED0chtNx1gGk7kOEKsceTag9t6mfDJx8JHOzec2SOR9lSBxdG3D V5BBUmpuepOUabMKh351tdW2vC2/xbpkgt/dT3K5jUzS02OY9jHEl3hFPUY6j4pNVDMU D9/KCpuC9TiwTZFPDYZYNg4A+1QyCtVNpjWVa9nx01WOd6zETDx+3BB+AMwxSWa3k96F 34mh6kLORcrk2vpq4TLKWipHTsUZGDA49QQKx3LwGt7N2C0YHpwfNY1rrxvUKja9Sx50 oVxA== X-Gm-Message-State: ALKqPwcFu8mSYR0dQU8+jGB8tm6rgl9mEDj1L5JvR9cUf9fQQmXlAH2m RD/uUmSLS8T2I5mVZfNmX5aUI71pWNA= X-Received: by 2002:adf:88b2:: with SMTP id f47-v6mr4700095wrf.55.1527763600348; Thu, 31 May 2018 03:46:40 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:3995:5470:200:1aff:fe1b:b328]) by smtp.gmail.com with ESMTPSA id 19-v6sm48393614wrz.7.2018.05.31.03.46.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 03:46:39 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Thu, 31 May 2018 12:46:33 +0200 Message-Id: <20180531104634.23215-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180531104634.23215-1-ard.biesheuvel@linaro.org> References: <20180531104634.23215-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-platforms 1/2] Platform/DeveloperBox: wire up status code reporting for DXE phase X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Wire up minimal support for status code reporting in the DXE phase, to the extent required for supporting the FPDT ACPI table, which we will enable in a subsequent patch. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 10 ++++++++++ Platform/Socionext/DeveloperBox/DeveloperBox.fdf | 1 + 2 files changed, 11 insertions(+) -- 2.17.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc index 3decc22e25b1..1d501e89290d 100644 --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc @@ -101,6 +101,7 @@ [LibraryClasses.common] HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf + OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf @@ -163,12 +164,14 @@ [LibraryClasses.common.DXE_CORE] DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf + ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf [LibraryClasses.common.DXE_DRIVER] DtPlatformDtbLoaderLib|Silicon/Socionext/SynQuacer/Library/SynQuacerDtbLoaderLib/SynQuacerDtbLoaderLib.inf FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf + ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf # # Firmware update @@ -186,6 +189,9 @@ [LibraryClasses.common.DXE_DRIVER] PciHostBridgeLib|Silicon/Socionext/SynQuacer/Library/SynQuacerPciHostBridgeLib/SynQuacerPciHostBridgeLib.inf NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf +[LibraryClasses.common.UEFI_DRIVER] + ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf + [LibraryClasses.common.UEFI_APPLICATION] PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf @@ -209,6 +215,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] !if $(TARGET) != RELEASE DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf !endif + ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf ################################################################################ # @@ -330,6 +337,8 @@ [PcdsFixedAtBuild.common] # DEBUG_ERROR 0x80000000 // Error gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F + gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7 + # # Optional feature to help prevent EFI memory map fragments # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob @@ -497,6 +506,7 @@ [Components.common] ArmPkg/Drivers/TimerDxe/TimerDxe.inf ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf + MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf { diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.fdf b/Platform/Socionext/DeveloperBox/DeveloperBox.fdf index c36104da3b46..b8a4a1955674 100644 --- a/Platform/Socionext/DeveloperBox/DeveloperBox.fdf +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.fdf @@ -108,6 +108,7 @@ [FV.FvMain] INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf INF ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf + INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf From patchwork Thu May 31 10:46:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 137355 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp6429050lji; Thu, 31 May 2018 03:46:48 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLRoHp4oIP0D9bf0tkmYOHp9ybwVzOtFv70mjHDBqiZJYnxCNsyaSscFqmH8fB3Wm3nVmYX X-Received: by 2002:a63:7a4a:: with SMTP id j10-v6mr5166940pgn.421.1527763607905; Thu, 31 May 2018 03:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527763607; cv=none; d=google.com; s=arc-20160816; b=xPJVsSwIoJux7IpucDbihhfwVsIjomO//QeJ6GjEyNiL/bBM/O17siN8DuglwYQO64 kshE1mWnSF0iABUTj2gY8aCwNkvHRQTEugd6rxo49q3cMZxBQ9/jMbkt0+4q/Ygl0FO3 KAO/eucJcfPNX5lWjS9eZXvy7Esj2AxjtpHRi3/y+cAo33WGG8PmcFJc+Fz5dadk0vdc R7Tfzj6iKnHl7T7I7K7nY5t3nNC8YtPV4lTfrNiXyeXz+3WlVuPGY/IQ+LpuR9THVWG2 1F8JunkxP0C3+eQ9UyzMr7uSrLOCV+Dt+8HvOPRiZ+le1YDSzE5VKTTGP0C3azHjryr6 srgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=oYpwYuZH5z7UoHSMv+nw/zMIdrRfGN+sTsOiUuFoE7M=; b=YX4vWgwrc+kB/lFduiLfE8P/QoH5xXjCSbOamlVuq4mhiKxAo2jljdeiF4yDai6BgO j/s4z+LkjVDiNwxIqQBfwYmenK7kIbPzeJqKdXnEFbnwv8Gm68sJkpssViXb96srky9S bEvmnpSgrkAs9T+jQ+3jLMXmOpXTMIgvReFr9RpkA8dxHXWaTc9scpKa1XACtGMxjL6G 1LFWNSgFv0iZIQI90D+/H+drJhidHGorpf0u66HV9ObNZspj0B0qexQah8WfC61NamNM QZyue0K3KNze+ATj+tJ2GYLRWoqwZrbd0HExRd+x2EvxLQk+Su5kOEMq9LozjIV7QnLl 8qwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=JNK8Nc5E; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id k12-v6si13103112pll.319.2018.05.31.03.46.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 03:46:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=JNK8Nc5E; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 773A62098C206; Thu, 31 May 2018 03:46:45 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::243; helo=mail-wm0-x243.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6BF612096DCE6 for ; Thu, 31 May 2018 03:46:43 -0700 (PDT) Received: by mail-wm0-x243.google.com with SMTP id a67-v6so52962578wmf.3 for ; Thu, 31 May 2018 03:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TYHyKOLrirq1mVAotgybp0zmOZNO1TCegdodK6gWrQM=; b=JNK8Nc5E8V8wVUoKRCE8wKBWipy6iM7kOfvWIjY0wpzRr4pwlxHnPWI6amCplZ2JeL EyXxTyLz1kePcffjIh4BIlf2zW7F5hMRo9y7AG/3djsNwKwVC7nv0je3r/MRwILZ0oeD hiMOukcOc7QJLDG2ao7PSWUbBDndvojIZkZzM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TYHyKOLrirq1mVAotgybp0zmOZNO1TCegdodK6gWrQM=; b=SiZsFILsElNhp2e84TsdY9XnLn4hBs6iXY1Uopd7Mvz3Mo1XtbX9SZzJ7RogYmR4tq XLJ6yP4RQn6diaMeMrv14ynVS8G+41riL9gtDVT/HIBz/V3eOEnnI6sDGzIKY8TQmz5B CWSY/skkmsL4ETmz+uxwNHc1NFi98O9pymmirPRufEl1BZhPRsWYQVG8V8Td4fQNm8vv Y54hQX2vt5VQMuEqnJ6TS+dKyOA/ROYJLPDpXZLi8uKFl7p5Q97Q9C0FKnAHx2qW5WQu 4AtQFavekG06tk2cJrQGKe5cpOjmQD9l6d5RYMbJHJs6zRu1HJVRH08VFzuXdYcHlriR TAXQ== X-Gm-Message-State: ALKqPwfqUtByYhFMBHIvKOdz6Q0BsI/FFXVj3BW45876nVIVEzVEw9y/ 1xGh6+vOVV6U2zJCskUgH6X3Pa377+s= X-Received: by 2002:a1c:7401:: with SMTP id p1-v6mr3889317wmc.14.1527763601796; Thu, 31 May 2018 03:46:41 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:3995:5470:200:1aff:fe1b:b328]) by smtp.gmail.com with ESMTPSA id 19-v6sm48393614wrz.7.2018.05.31.03.46.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 03:46:41 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Thu, 31 May 2018 12:46:34 +0200 Message-Id: <20180531104634.23215-3-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180531104634.23215-1-ard.biesheuvel@linaro.org> References: <20180531104634.23215-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-platforms 2/2] Platform/DeveloperBox: enable FPDT table X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Enable runtime generation of the ACPI FPDT table, which contains some performance data regarding how much time was spent in the various boot phases. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 2 ++ Platform/Socionext/DeveloperBox/DeveloperBox.fdf | 1 + Silicon/Socionext/SynQuacer/Acpi.dsc.inc | 6 ++++++ 3 files changed, 9 insertions(+) -- 2.17.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc index 1d501e89290d..ed2404006799 100644 --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc @@ -190,6 +190,7 @@ [LibraryClasses.common.DXE_DRIVER] NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf [LibraryClasses.common.UEFI_DRIVER] + PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf [LibraryClasses.common.UEFI_APPLICATION] @@ -215,6 +216,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] !if $(TARGET) != RELEASE DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf !endif + PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf ################################################################################ diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.fdf b/Platform/Socionext/DeveloperBox/DeveloperBox.fdf index b8a4a1955674..42bcbf2f9452 100644 --- a/Platform/Socionext/DeveloperBox/DeveloperBox.fdf +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.fdf @@ -261,6 +261,7 @@ [FV.FvMain] # INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf + INF MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf INF RuleOverride = ACPITABLE Silicon/Socionext/SynQuacer/AcpiTables/AcpiTables.inf # diff --git a/Silicon/Socionext/SynQuacer/Acpi.dsc.inc b/Silicon/Socionext/SynQuacer/Acpi.dsc.inc index 73a5ea40e313..2fcde7dba905 100644 --- a/Silicon/Socionext/SynQuacer/Acpi.dsc.inc +++ b/Silicon/Socionext/SynQuacer/Acpi.dsc.inc @@ -45,4 +45,10 @@ [Components.common] gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20 } MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf + MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf { + + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwarePerformanceDataTableS3Support|FALSE + + LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf + } Silicon/Socionext/SynQuacer/AcpiTables/AcpiTables.inf