From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.107.94.80]) by mx.groups.io with SMTP id smtpd.web11.4707.1668513858885563557 for ; Tue, 15 Nov 2022 04:04:19 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=LuyJP0Gh; 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.94.80, mailfrom: abdullateef.attar@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g19uoA6eT9WAQL4I0lFnRz9ZJ0pClt1S9fnxqkD+cAn84q8m5v6Cks9N/jah5tbOmp0ntzUfB+GS4vZNlBGq1ZDH/C56kmawhLVBY2HPYW0lvg0A1+EsCz03B8RAJyLh8dDrHwEH6amdYZB7/J138FChySMf9CcUF7LDNeOzQKh8ApbBlJRHScW7g8TWQEetDvQ+vnW8UOJY//QHOJ6NBGx1rqYcRLVJskMeAXvqiv26KRGqOoZErMWEqMe3TspoOcpye6J9ocYq0nX6AsfRA9q19yooa6nUXkq7KqGEmRpUmF9StQG29kJgl5wJJjs2q2QbFT48cFU9Uap4h6AlZw== 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=mdv2gBSHLwYNDz353g6PiNeTbeC7S0jgD6mRq/QfVoE=; b=Z18q7EB5MOGgmIPQXM8/xuhr12FsOvI/Kej/NZvkikOC9Spa0J3sKhprAh0ZcY5gsMrhF2y2s/0ue4A9lx/FdmdfisgPzvbcL4pm554RzZlP6upy+5d6fZlwa4Q1Iw5lEruCcCAMXWiFbEHT4q5j7lk7KwoMgUixkn+LsBgALxnyydbp7TqBq2Wngm9suiDDf4gMz+QZ6CkQsebi5cXkvGlV3AIYNPKXqpbcs2M/DD4OKPF0MCeBrtjxKoqKEeTSA2ZxPIm0YHnwtpbKZsfFoWxibLnh1y11HvGbWQtyxiKJ3kzGioxHDjRcHCX/NHSxJq0BS/QhrMfqsurn8Kf5eQ== 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=mdv2gBSHLwYNDz353g6PiNeTbeC7S0jgD6mRq/QfVoE=; b=LuyJP0GhH4ozhf3IUGtjy/zH5DpE035Vj1Dx4IkLJkAU9Rk8CoAG9GkaKDdQBG59HwOo5lHvcHTdwlWlsDIN8U0b6o4XbqjfelyTGXLOep9+o6DjcrHjMWsYj+NaNhGCaZiNziDXWPYNdOeUF3XjEzKsFaxOTFaR81Sd2wKqIxc= Received: from BN9PR03CA0841.namprd03.prod.outlook.com (2603:10b6:408:13d::6) by SA1PR12MB5672.namprd12.prod.outlook.com (2603:10b6:806:23c::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.17; Tue, 15 Nov 2022 12:04:17 +0000 Received: from BN8NAM11FT034.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13d:cafe::dc) by BN9PR03CA0841.outlook.office365.com (2603:10b6:408:13d::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.17 via Frontend Transport; Tue, 15 Nov 2022 12:04:17 +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=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by BN8NAM11FT034.mail.protection.outlook.com (10.13.176.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5813.12 via Frontend Transport; Tue, 15 Nov 2022 12:04:16 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 15 Nov 2022 06:04:16 -0600 Received: from BLR-PF2HH7H7.amd.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Tue, 15 Nov 2022 06:04:14 -0600 From: Abdul Lateef Attar To: CC: Eric Dong , Liming Gao , Isaac Oram Subject: [PATCH 0/2] BoardModulePkg: BoardBdsHookLib GCC fix Date: Tue, 15 Nov 2022 17:34:11 +0530 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Return-Path: AbdulLateef.Attar@amd.com X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT034:EE_|SA1PR12MB5672:EE_ X-MS-Office365-Filtering-Correlation-Id: 8cfa9dd0-d186-4433-edf8-08dac7018532 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cjRGL3Obxi0btazdAqSLN3hj8u/M2Y9YVpXVxbeD6DPyiemGD7WA0yDKy0+9V8oXAKkm7pK5rRh6I5zC0kqHKIk3N3pnUxUtVOGMLlHRiwsdY2p+m/MOQpz/ZhYwtwZVj5FbccrzHuJ5MW3BatGRlMWqQ7GWbpZCaImIdqoLpzgKr/Qg3HRQoUKt1FePl2191EYBQfGTn3XQqkR+Y/2v5xQaiGsXe2A5gRsKfJg0yGdQ2E2eGmMPo1TFu5QXHAJTVz1VCuOtw+LxjKW7PyDLoU/LEv4P2g50IQLUocteA3Bu5L21ytEzM5dQCuI0jQpZ4hikkyFu4GTZkYTJzL0+fnn4L5Sa444h4aLdqKXW4A0C9eyPpen7OAlEnlHRCWVDHXq7dN89YXYYsBXZPwzJEYPDtAI2TgV4VqeIyr4SEBChX6Oia5ZQmXKeNyKugFsj+8NX5LQCcY5vWnk17oIqcv/eVHZPi9MqvNSzmCI1fiQGuvrq4O3qU00Uw3oNxsTycbeLwjqfs0nab3dmx1MSXX0pkR+2w91nbKfy5okkPN/YeugzVhpZ5BaFOo8Yajuvl+hTZlbApjoF77MXnJGT9w7X2QurvaSbM5bfivI5Lm2Q7jz3Qgs7+Pxs4GAJH3wYmjnv0I9UuNopuqlu7Ws29/4FXiDxUKRQlyiZI+O4Ye6Z5xiV5UK30Se1AUA/YH3diaQrUkdMnF6LMIv5+z67XMyu6WQhIlabc6P25yybGp0kOyHt6Z1Rpmny/Pt9r0sxkXjKO/e1Nyqkqye57Ja1ygnWT5JTtk0sFVuDTVFpiKeu1P07eZdHViKlUBq6p83arZ6yyefr3bypl9TCoZWxqg== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230022)(4636009)(39860400002)(136003)(376002)(346002)(396003)(451199015)(36840700001)(46966006)(40470700004)(6666004)(478600001)(36860700001)(40480700001)(966005)(54906003)(6916009)(426003)(70586007)(47076005)(336012)(41300700001)(4744005)(36756003)(2616005)(8936002)(2906002)(7696005)(70206006)(186003)(26005)(316002)(8676002)(4326008)(83380400001)(40460700003)(82740400003)(86362001)(356005)(5660300002)(81166007)(82310400005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2022 12:04:16.9479 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8cfa9dd0-d186-4433-edf8-08dac7018532 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=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT034.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB5672 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain Patch 1: Fix the GCC boot time page fault exception, by copying PcdGetPtr to local variables. Patch 2: Adds PCD to hold the UEFI shell GUID value and description, to provide flexibility to load any UEFI application as UEFI shell. PR : https://github.com/tianocore/edk2-platforms/pull/50 Cc: Eric Dong Cc: Liming Gao CC: Isaac Oram Abdul Lateef Attar (2): BoardModulePkg: Copy device path before processing BoardModulePkg: Adds PCD to load UEFI Shell image .../Intel/MinPlatformPkg/MinPlatformPkg.dec | 5 +++++ .../BoardBdsHookLib/BoardBdsHookLib.inf | 3 +++ .../Library/BoardBdsHookLib/BoardBdsHookLib.c | 19 ++++++++++++++----- .../Library/BoardBdsHookLib/BoardBootOption.c | 8 +++++--- 4 files changed, 27 insertions(+), 8 deletions(-) --=20 2.25.1