From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by mx.groups.io with SMTP id smtpd.web08.1755.1662483384557460430 for ; Tue, 06 Sep 2022 09:56:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SqYmLTuz; spf=pass (domain: gmail.com, ip: 209.85.160.176, mailfrom: benjamin.doron00@gmail.com) Received: by mail-qt1-f176.google.com with SMTP id l5so8510188qtv.4 for ; Tue, 06 Sep 2022 09:56:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=9DPa7wObf/ev74Ed5GV721nH2SMTVRKG3on2CW12YSM=; b=SqYmLTuzf77MSZKsbcvzIk4O9vwNiq8GjgmjyZJ50SbzEL+SJodZwplt6o0NpxPZpf GUDHygTjUmS/5TrwujRI2iEeGAYG9IAbRnV+LQGSlBytfV4FpAvtfsOX3IBFufv65F8C ov2XJo/UMU6mR0It3BelmtMMYurzAe8jgNMojOax7fm2L27Vdp5POmGswsYtgsz0rnw/ 9KM3PjrXkMck2wB7CHXs7rlxE5284YJhJqdgXESmMXluDCOYC9i4PjDdJ2LUnTCUTkW3 Bixc0NhfsJu7cD85atMLpgESJFSpkUpr1pfHJPlexfExU5eDw9yVaEwQXWW0HHFKnzCh g4/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=9DPa7wObf/ev74Ed5GV721nH2SMTVRKG3on2CW12YSM=; b=LIWcgxsJ1whai0w2KIwT9+XyoeVZ5nB9n3T5wBvtsMA+tUZrz+tCvUP9lszbbu1lBi fVKccjSc39DbVHvYDEULzbberDFD+VondnmgYN/HBdPfVj4Zbv1XesamCsSp4opP/60Z bPDzsD5X01YsHOeiJ1WAjZRVumcrc6AOZs9TqpQNY35qTjkPtrwPvyFk11pAyRPrI4PM 1zY9nqFjnwd+BsdToUrjO4xf9t9F4UD971vnrpV12Ydm/L6ZmYMV5hnArDaK5RwI93NI fUsdS9fcgF2rzrUTWxWCjbxHhwjQMo84mncv5ooJuSqLCeQDpxCVltsmlI5pUzygwSZp VKqQ== X-Gm-Message-State: ACgBeo2+9pJX6YA1AInXjLi7cT6bTYYNhpVpmY8dbSOxpGRykCQOMmyq h282rcZT/c5Oxhe6nrKMUo+VyCBwCGbnYg== X-Google-Smtp-Source: AA6agR7RYUpun+2ysHI4RcqQlCgBDAzmHJI6zNp4JTq6j8u3Mx7ED7QVO32bcdWZDKiSVyHLuOieKA== X-Received: by 2002:a05:622a:546:b0:343:5a1a:9a9c with SMTP id m6-20020a05622a054600b003435a1a9a9cmr44961815qtx.417.1662483383412; Tue, 06 Sep 2022 09:56:23 -0700 (PDT) Return-Path: Received: from aturtleortwo-benjamindomain.. ([2607:f2c0:e98c:e:46bc:db07:bbf3:df6d]) by smtp.gmail.com with ESMTPSA id s7-20020a375e07000000b006b5e1aeb777sm10861247qkb.43.2022.09.06.09.56.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 09:56:22 -0700 (PDT) From: "Benjamin Doron" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone Subject: [edk2-devel][edk2-platforms][PATCH v1 4/4] WhiskeylakeOpenBoardPkg/Acpi: BoardAcpiDxe also installs all PcdAcpiTableStorageFile Date: Tue, 6 Sep 2022 12:55:24 -0400 Message-Id: <33c3bef31299b6b06e250bbe59a709dc9af1e7e5.1662482547.git.benjamin.doron00@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Follow AcpiPlatformDxe (from which this module is derived) and install all ACPI tables added by board. Cc: Chasel Chiu Cc: Nate DeSimone Signed-off-by: Benjamin Doron --- .../Acpi/BoardAcpiDxe/BoardAcpiDxe.c | 15 ++++++++++++++- .../Acpi/BoardAcpiDxe/BoardAcpiDxe.inf | 2 ++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/Board= AcpiDxe.c b/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardA= cpiDxe.c index cb5f328a3909..c8c1e0cc2cf2 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe= .c +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe= .c @@ -270,7 +270,20 @@ InstallAcpiBoard ( //=0D // Platform ACPI Tables=0D //=0D - PublishAcpiTablesFromFv (&gEfiCallerIdGuid);=0D + Status =3D PublishAcpiTablesFromFv (&gEfiCallerIdGuid);=0D + if (EFI_ERROR (Status)) {=0D + DEBUG ((DEBUG_ERROR, "Error: PublishAcpiTablesFromFv[%g] - %r", &gEfiC= allerIdGuid, Status));=0D + }=0D + Status =3D PublishAcpiTablesFromFv (PcdGetPtr (PcdAcpiTableStorageFile))= ;=0D + if (EFI_ERROR (Status)) {=0D + DEBUG ((=0D + DEBUG_ERROR,=0D + "Error: PublishAcpiTablesFromFv[%g] - %r",=0D + PcdGetPtr (PcdAcpiTableStorageFile),=0D + Status=0D + ));=0D + DEBUG ((DEBUG_INFO, "Does board contain ACPI tables?\n"));=0D + }=0D =0D //=0D // This protocol publish must be done after PublishAcpiTablesFromFv.=0D diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/Board= AcpiDxe.inf b/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/Boar= dAcpiDxe.inf index af5c8f1c0609..f17fb588ddb8 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe= .inf +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe= .inf @@ -60,6 +60,8 @@ gWhiskeylakeOpenBoardPkgTokenSpaceGuid.PcdDisablePassiveTripPoints=0D gWhiskeylakeOpenBoardPkgTokenSpaceGuid.PcdDisableCriticalTripPoints=0D =0D + gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile=0D +=0D [Depex]=0D gEfiAcpiTableProtocolGuid AND=0D gEfiFirmwareVolume2ProtocolGuid AND=0D --=20 2.37.2