From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.82]) by mx.groups.io with SMTP id smtpd.web10.23780.1671461535876579469 for ; Mon, 19 Dec 2022 06:52:16 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=NtbMrjeZ; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.223.82, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XB84+b7OhCIl1R4qxlljQiFu0Pmg4dg/X9KMwtTU6ngzpHLf9oN+pyJb8J6Wv+42Zgat05JHOhN09la7eArMrL3WTXAeOaukDwR8QI/HZNZrW1h6jysLN6ofsI4gmQPxZ05QVBfZOo92uHMYYJwjJZ7rpDEWj+NzOseYHcNyCH/IGJV2YvcqZ6Nq76OjmyOGpyEERWTCWiVupZ/SbH4qepFdPhXeMx3Qgxu1D9AWo8kZMnnL3DECZKRL4vbk59LfQD7rsUiu4ro+wMuaYVr701qPlgmaWSxcphcrrB7dqfxY5CO2y+NFUnu721iWsc2pcITW+xZXi9vT64RZ94IwJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ipbQKUWXdpluKSbVq70LRG3AAs+K8veaikH/yIh15/0=; b=W7jz0vVk+4Ag7b6S1JQ2xJS54JTNOJtUHoCGU9SWEQx+TpUoYmTFySexJnh1Woefg5qrYgGhPgnRiSPTIfrN5BTuIdCBqAS5SQyhtzFlb1iTG8B5o49B4p3EhvlZuws532ikiUwGhUF8+MRCECM6LZS8KizBmqBac2FyNFH9qd2Q6m2bjTOrvf1b7/IcdjKpPeli7DETZAYniZtuZ6nfrk09j9SRN6p+Y/AF9We7zPnWzmZkwoAvh4C2iw317eUy8JL1nAVxxpHycE1Vv5nQPahgMiyUxXUkHw/ae9kTZcwrYd2uILh4O4mUpTEOP54LmrYPRlbvTtk6Gs1dIMs6Ug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ipbQKUWXdpluKSbVq70LRG3AAs+K8veaikH/yIh15/0=; b=NtbMrjeZEqWbjWMUiy6dtKSwQE1TzvsX08wnc34+k5vaAzNRM9WZklKJJSVRISBZvRweLPS/Adl1AbAJRR5BfqQHYyQO3PX3W3VLrIQ6/+5PfxGvrpKtingOf6zu/WGsQawNU3VL2gCkMtdK14EWY9ZH+gU8PNeANUcx1At36ho= Received: from MN2PR05CA0005.namprd05.prod.outlook.com (2603:10b6:208:c0::18) by BL0PR12MB4849.namprd12.prod.outlook.com (2603:10b6:208:1c2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Mon, 19 Dec 2022 14:52:14 +0000 Received: from BL02EPF00010208.namprd05.prod.outlook.com (2603:10b6:208:c0:cafe::47) by MN2PR05CA0005.outlook.office365.com (2603:10b6:208:c0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.5 via Frontend Transport; Mon, 19 Dec 2022 14:52:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL02EPF00010208.mail.protection.outlook.com (10.167.241.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5944.8 via Frontend Transport; Mon, 19 Dec 2022 14:52:14 +0000 Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Mon, 19 Dec 2022 08:52:11 -0600 From: "Chang, Abner" To: CC: Nickle Wang , Igor Kulchytskyy Subject: [PATCH V2 2/2] EmulatorPkg/RedfishHostInterface: Add NULL function Date: Mon, 19 Dec 2022 22:51:50 +0800 Message-ID: <20221219145150.1611-1-abner.chang@amd.com> X-Mailer: git-send-email 2.37.1.windows.1 MIME-Version: 1.0 Return-Path: Abner.Chang@amd.com X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF00010208:EE_|BL0PR12MB4849:EE_ X-MS-Office365-Filtering-Correlation-Id: 2cc917a5-9a71-4ce8-54a1-08dae1d09dca X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OUNgGUZDMjvw+tixcHH3pjWV5DRQQZt66knTExgMbiE3605TnGIkancCE9RKZZymZ9gN+2AoMBUST8BUgzUt7FD8kBkUtgih9VvnAVvL8WilBsflH+n8f4SpBYfy981Pwm/ayvqc7oFnyj2+WKaGvKHrDFWtVyAvxxfpfgoDU0L6NjDZ+Ujn/NgGdWT7xMOxQnMfPXfo0s56cCsEif7I2HgEbwmvVbe09581aJTdirxaJg/gMFkFgWs6Sml0FylFJUoMNhNE3ENFPva7D21nY5S9KnrFV+As1YtOXb1pLDeJqIbKS/GTPefpxD7tR0lQc9dGGl0hs683teX0b2ZaaAVHlGB+eeQnU22vzjnjUwArVYm0aZZMEjMVQoBwI77U4OXn9be2KaH7osoT+kDLcfMrE3OAl31tAEc1o0C8SzilxGFMdI8cqezjEaAEMnEiQXOhtkvEcc7TpAr/w0rFSjxwWkqkIm/3yaPN2jffRnXxBDk6ek7eLp0O+J+3kw70JRo9po5jhC729MDPbDxvHojDvP+Ii0DbRHu4wKU1wQ5t9d760ZI+7aCmXkQP366vBVcYjfnEblnsTCosnImrbOifsVVuN7ViVAei0Qw8VuG4uYmKkmzsDvCWjzh52GbzQZJIk9hRGM+c+A5T5RSqDbxmIzXS49OtqwS6yFnLITGcluBINFlVyD10IdQA/9nM7MxrX6rnShj/ytPsujrsPnkNLrSXCiFix/q205FcFng= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230022)(4636009)(136003)(346002)(376002)(39860400002)(396003)(451199015)(46966006)(36840700001)(40470700004)(2876002)(36860700001)(2906002)(40460700003)(356005)(426003)(336012)(47076005)(40480700001)(36756003)(82740400003)(186003)(26005)(82310400005)(41300700001)(81166007)(86362001)(5660300002)(8936002)(70206006)(1076003)(2616005)(4326008)(16526019)(316002)(83380400001)(8676002)(70586007)(478600001)(6916009)(54906003)(6666004)(7696005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Dec 2022 14:52:14.1045 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2cc917a5-9a71-4ce8-54a1-08dae1d09dca X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF00010208.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB4849 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Abner Chang Add NULL function RedfishPlatformHostInterfaceNotification that returns EFI_UNSUPPORTED. Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Igor Kulchytskyy Reviewed-by: Nickle Wang --- .../RedfishPlatformHostInterfaceLib.c | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPla= tformHostInterfaceLib.c b/EmulatorPkg/Library/RedfishPlatformHostInterfaceL= ib/RedfishPlatformHostInterfaceLib.c index 3f053307a62..c51f76a6185 100644 --- a/EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHo= stInterfaceLib.c +++ b/EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHo= stInterfaceLib.c @@ -3,6 +3,7 @@ =20 Copyright (c) 2019, Intel Corporation. All rights reserved.
(C) Copyright 2020 Hewlett Packard Enterprise Development LP
+ Copyright (C) 2022 Advanced Micro Devices, Inc. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -544,3 +545,26 @@ RedfishPlatformHostInterfaceConstructor ( =20 return EFI_SUCCESS; } + +/** + Get the EFI protocol GUID installed by platform library which + indicates the necessary information is ready for building + SMBIOS 42h record. + + @param[out] InformationReadinessGuid Pointer to retrive the protocol + GUID. + + @retval EFI_SUCCESS Notification is required for building up + SMBIOS type 42h record. + @retval EFI_UNSUPPORTED Notification is not required for building u= p + SMBIOS type 42h record. + @retval EFI_ALREADY_STARTED Platform host information is already ready. + @retval Others Other errors. +**/ +EFI_STATUS +RedfishPlatformHostInterfaceNotification ( + OUT EFI_GUID **InformationReadinessGuid + ) +{ + return EFI_UNSUPPORTED; +} --=20 2.37.1.windows.1