From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (NAM04-BN3-obe.outbound.protection.outlook.com [40.107.68.136]) by mx.groups.io with SMTP id smtpd.web12.112.1610113310170335688 for ; Fri, 08 Jan 2021 05:41:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=PIMUcuXt; spf=pass (domain: os.amperecomputing.com, ip: 40.107.68.136, mailfrom: nhi@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QZu3f7uo/Izk9hbheDCy59x+emOkeAfyoxH0JnOlpgp0ziuFnpccnmVwvuUUtLnN7HloG65baQxmeG7J9+23bveWEd8YvzGpbkhWdFkNnE6JN/qqE8Xz2aLvQ8gFyUJ9r6BluoX2svaPQT/Cc4KxL5P5Nq6iGDynMWEUrBR2BsS5Mwk7WKsu728Kx5n4zFa6GYac8dNRw6YTNyq1ev7nxpHdd0ccLxkxS97Z5ZR2ltQlbLTy5XfhJ3gYdDb8dOoksba3xNWsufIsvkhiXlR4x8YOlaRW/roczqEZDg/likp3srC/fkds2NSpLW77bsFHNO4sz1ouwBd3jwNAsXgdtw== 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-SenderADCheck; bh=7DE1MAxLdMcnfLD6h5Mf1UeV2ywH2gG2ZGm/J/QmuvE=; b=fa8NhlwlN5TzzwIMB4GnFDwx97YAL6syanK5WFSw8K1RNRZ4QDV2ckV9NUP6A//8509o5eJ6ivhiJmHjgpB75ftqP4qcdepuomNcbG+5DpUdEzXJwqdICcHLXwYUpTx3jM/vfKQTQvQI4xon+XXsNdMOJ3elhWFYymMecf/+6tEPYlZ70T367NYqlOfDCXjLfC2viLgMOtbEWbeY7JHIGbRRBHtlTP3OR8qVq/BWH5jcKexAAK3TwAYSdh4CtVrMj8egIkivk3N1eEWks4UggxXLtWUWNV9Lp6Cg1TfU0GCK4ZZ+Dqwj30G5My+Pl46PuMbkBUXCavXzimLqta8fuA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7DE1MAxLdMcnfLD6h5Mf1UeV2ywH2gG2ZGm/J/QmuvE=; b=PIMUcuXthPvzcwG0XYjAlzB13ZpoGBwIdMhmCo2Ffg2i5VJp1N42X4DjsZdkIZNqwfkn/sThYiJmfb3rVDAeS8DsNM/rVRW7Lrw0NCkDEf12/NzUNqAQQENGbq+v0F3FimowdTTveuy7dOn8Yuxr6QvYGEHuspFAF22ols2DQBw= Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=os.amperecomputing.com; Received: from DM6PR01MB5849.prod.exchangelabs.com (2603:10b6:5:205::20) by DM6PR01MB4265.prod.exchangelabs.com (2603:10b6:5:22::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.20; Fri, 8 Jan 2021 13:41:47 +0000 Received: from DM6PR01MB5849.prod.exchangelabs.com ([fe80::d8f3:caee:a39b:f999]) by DM6PR01MB5849.prod.exchangelabs.com ([fe80::d8f3:caee:a39b:f999%7]) with mapi id 15.20.3742.010; Fri, 8 Jan 2021 13:41:47 +0000 From: "Nhi Pham" To: devel@edk2.groups.io Cc: Nhi Pham , Leif Lindholm , Ard Biesheuvel Subject: [PATCH 1/1] EmbeddedPkg/RealTimeClockRuntimeDxe: depend on gEfiVariableArchProtocolGuid Date: Fri, 8 Jan 2021 20:41:15 +0700 Message-Id: <20210108134115.8011-1-nhi@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 X-Originating-IP: [118.69.219.201] X-ClientProxiedBy: HK2PR02CA0220.apcprd02.prod.outlook.com (2603:1096:201:20::32) To DM6PR01MB5849.prod.exchangelabs.com (2603:10b6:5:205::20) Return-Path: nhi@os.amperecomputing.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (118.69.219.201) by HK2PR02CA0220.apcprd02.prod.outlook.com (2603:1096:201:20::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Fri, 8 Jan 2021 13:41:45 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9ec93d69-4628-4c42-9504-08d8b3db252c X-MS-TrafficTypeDiagnostic: DM6PR01MB4265: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KfvxgZzKwb4FjbdelQ3ng+u+FjFucU7Ds6YGdEtvWgXtdB6IA7CVo+nkIi0RnKYf9lI/fNZpKdPSLd5zjYeF7+Q6CHAkNDVJ/CxEKBbTNWmllGWmCb48yx1qHkhi70fEQYchycxVQ/jfBsxvSnD0bA5IMTVZkhhw8dicTvj++KBp/Dw8EBnw+xo55SvbQB0qKA7l6vQc1lkN/pASnEPc1Gv8HzDySixKp1vs+7AHXCMfjkvTNencqcfej5gbGxEiQY03AUOp4x3f1G+BK+6Cuf1Tjsq7/MUrQmU07whWW/oCGOKemWB/2BAlg17U14HGgshhFB71owIB+X5DtLGqWrRyI6bn2jeWv/h/q0C5sMUrn1wc6lMdWCAsgtpVH+Amw/MDwsw1Oj2LuUB0zWIuYmGKIRcpO77dvt+RNDCYTTcwTUnv4Nmdexmr1Xh+9usm8Vy2IqQibQmkIotGCj23yEk9SdR72Vz2nJGs1aoV689kO3x/wFMJK4kPowxLm6SSRrScb7thgBRNA3P377VMrXYhtKGFaD1PGGQKzhjrmo3MetIqIxqNpTzUBPvPPTCG1ewC+uYHM7fLeBDrBw7kEIFM2uy9xsyRX/eKkUkAyk8lgdBJJvZYtlEKDjXaVx9af4zN4RCjSiEBpvrBEgqSaA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR01MB5849.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(376002)(136003)(366004)(39850400004)(396003)(26005)(186003)(66476007)(16526019)(66556008)(2616005)(478600001)(52116002)(86362001)(6506007)(6916009)(6486002)(8936002)(4326008)(316002)(54906003)(6512007)(83380400001)(8676002)(2906002)(6666004)(66946007)(69590400011)(5660300002)(956004)(1076003)(145543001)(145603002)(213903007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?B95qibXy7e8+1LJCvtpawGdQGBK9bk3cxOgHg/qkhOfzBUfye+huqNsNnymd?= =?us-ascii?Q?GRGowJnGomyEROrjTGlltyrkSNRPDA6jsuf/Bi6r/zDMoGD3cjUDfUQV72Jr?= =?us-ascii?Q?en4hLwgPuCYO0JF54uXX2Sqhc4kv/X9f+7Tdjj4Z2M/TM/DZx4ZVR2VKNdyd?= =?us-ascii?Q?FHwuLyoRJRcHA7WaDBARuz6s+uaTPo9uDhA9P+jLmAiCbziZTo8J6oRak3hJ?= =?us-ascii?Q?eO99rYXlyLv2KuNrjo8sasTVNjNjqq4rZXNSkpzTA7mO03pW0payhgVuvgfZ?= =?us-ascii?Q?7lIRro9lzSuc9NnksUbXPMQi1RIeeXye6rByfFPgGnZu2QC+ds0AHzgDKVtt?= =?us-ascii?Q?lWZSxYm8x2TaAfsff0QLUc6zEddS64rdPRYVt/lQsWJrTEaoCRPB+nH86Rw3?= =?us-ascii?Q?XBz/CNhy5h4RyF7f2RjfqEqk10/O6nmkQQeA+pVl254VFdnlgg6Vd/PcCsIC?= =?us-ascii?Q?N10C23EavLLUo4FjXe8AORvpEmAakNMGYraX/ec9lFTa+KFtKPzVTBnbyQwa?= =?us-ascii?Q?GXJXBMi80MdtdH32mBccyv/p4LomY6IkFgwqY4DB9+Eu1otFc4zoH7sQENHm?= =?us-ascii?Q?QPFX7qQ3upF0UcrEGzo6fMKXKsm4KzyxsS3h358yIKKMI4X34qNwyhPyDN3t?= =?us-ascii?Q?rLWoBjA9fmun9OVkVt6HUDuglX//dG5gsQTmwUNP5LVsq9BkWV05stWWFLrp?= =?us-ascii?Q?HEl6TXswNMTX/X8F7CJEGgyhJd0R6gB/A9QWURnzqHrbZ27tBSSqhtkJYKWm?= =?us-ascii?Q?GAqSV2m2TMMNbrCv3NAeuww5O6IrG6DSnkfY3JuZWoEDccqN8BLWDosgtjnu?= =?us-ascii?Q?1F4JDzrqexZGaVeEkok8/MeG2bzqrzvEX53y5+wQwpI5F4d6Wlqk6lUabzDG?= =?us-ascii?Q?Tpa1L5vOEenwuMgaIhkru7wZMTEFFcd9ud1JJlHa3gWLRWltRfdMaCgZb46h?= =?us-ascii?Q?dSGw2ez53sdIcnX8nG2EM8aiN+fYAG//P/EE/4FzwDB1SF6EG/XlFwJO+Ocf?= =?us-ascii?Q?lAvH?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-AuthSource: DM6PR01MB5849.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2021 13:41:47.3844 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-Network-Message-Id: 9ec93d69-4628-4c42-9504-08d8b3db252c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qWGiq6azNEebhvC6GiItcjm9Mnotw8jWVHZWEV280DNI4SRQP63jv3wom1+6k6LkongTBSi5Kh7mK0awzRhit+0QTH5fLTJrO5ozMKQ9T5c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR01MB4265 Content-Type: text/plain The EfiGetVariable() is used in the entry of this module. So, the variable services are required to be ready before they are used. This patch adds the arch protocol gEfiVariableArchProtocolGuid to dependency expression to guarantee that this module will be started once the variable protocol is available. Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Nhi Pham --- EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf index fec53c79d335..0a4cd6dae703 100644 --- a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf +++ b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf @@ -38,5 +38,5 @@ [Protocols] gEfiRealTimeClockArchProtocolGuid [Depex] - TRUE + gEfiVariableArchProtocolGuid -- 2.17.1