From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.69]) by mx.groups.io with SMTP id smtpd.web08.3522.1618954560300465310 for ; Tue, 20 Apr 2021 14:36:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nvidia.com header.s=selector2 header.b=OKdJJrrl; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: nvidia.com, ip: 40.107.220.69, mailfrom: jrahn@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FOG+dq4SpjhVXFCb/5z2KMUsRHZ4G4Ao0tHLndOqmoISK/NInCk7tChZvCmhIMyYD2dq/MtFEQC8Os31Y3yx5UcLFs/b2v9nbzfL5xbB760PXEZL3u1oBpZ4LFYjMBSnjWPXhb7AEmDSn0BJsbUvY389hsEe2xVOCJNmGWDsKoD8lyb4JepqrhhIYrrMuHUpmRXswXLSZyBH2iyYXvcNUvxGBEL47x4Unj5dN2pMrZvf8RQEeTqQjYXhvAnGNAMCGKsFLJzFSoKm8G5+w1rQpiSui8YrgjKSUB32+IsoN7D/6oZJlRIMotfrQDlSSAwAaCih3wfcFkCOndt4gkQqJA== 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=381i9HyxJVmiDozQcMBfPWGifAiakaXibX0m1m5+PPE=; b=jKbKWGLGgx0gRmKch+xjYLZKZc98ZDb9pKTYJ/7HKTqaL3hgmBQsgc1YkMLkmeRkPDpxD23C1hAJV4DudnxH4JMyqhCat4lbMfbkjLBgeEwiRe8c2nH6MzVpeihY6aHBJtx3Gge7WJfJ5xyRyWeFuhvR2MOUwnqh+v5Vh7aRAlborZby0u9pCuaqX/xgFNNin7XwtIZ5wwTFUHPuKQhWHK5VeKHVjdU1d57mnhXO/yXdwhCgrh841jucwdc4XIX9izq0EzpdLKkbjpTAA67z+DroaLk/oV5CzSfAdC6+2EOMM0irABGYrJjGfTaLFfA+o5YQe80sX7t4MmEg3SU82g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.36) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=381i9HyxJVmiDozQcMBfPWGifAiakaXibX0m1m5+PPE=; b=OKdJJrrl7TGH99mjrmdj+31ulpaJjW2xXV5lBH8jp0vKrRSJKSpy9X9KxQSHP/Z+sqWkFVZGZYHzLN7BQhkFlr/zcPje7ZAKKfxBNJcLW48wJWN5gW0saeVmF/RXuoxmqMmCpNpwtKQhRucxh4a71BxEq9f1bMILjDvaVSgLCANhdCHe6XeTtCXrSq2Sf1ef215HtYeUmxGT1VRtpOPor6YNj/aBbm2IkjapA3/8qCb78pnGqUCv7S6daHGkC/wOqM2imSAL3wH444Huy8fqPshH8jS3lo9aVi4aC2RV9uojahlZEipod+Toxj6dUjjdWLU30Qrbl7+/oCdUCksmwg== Received: from DM6PR03CA0097.namprd03.prod.outlook.com (2603:10b6:5:333::30) by MN2PR12MB4845.namprd12.prod.outlook.com (2603:10b6:208:183::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.18; Tue, 20 Apr 2021 21:35:58 +0000 Received: from DM6NAM11FT037.eop-nam11.prod.protection.outlook.com (2603:10b6:5:333:cafe::3) by DM6PR03CA0097.outlook.office365.com (2603:10b6:5:333::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.16 via Frontend Transport; Tue, 20 Apr 2021 21:35:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.36) smtp.mailfrom=nvidia.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.36 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.36; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.36) by DM6NAM11FT037.mail.protection.outlook.com (10.13.172.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4065.21 via Frontend Transport; Tue, 20 Apr 2021 21:35:57 +0000 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 20 Apr 2021 21:35:57 +0000 Received: from JRAHN-LT.nvidia.com (172.20.145.6) by mail.nvidia.com (172.20.187.18) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 20 Apr 2021 21:35:57 +0000 From: jrahn@nvidia.com To: Subject: [PATCH v1 0/1] FmpDevicePkg: FmpDeviceLib interface change for Driver Unload support Date: Tue, 20 Apr 2021 14:35:56 -0700 Message-ID: <20210420213557.9498-1-jrahn@nvidia.com> X-Mailer: git-send-email 2.17.1 X-NVConfidentiality: public Return-Path: JRahn@nvidia.com MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d2a5213d-8ff8-40eb-3455-08d904444921 X-MS-TrafficTypeDiagnostic: MN2PR12MB4845: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: L4wG42+7OW0csNbl5NK8ApGLybqhJcfBlaTCHf0L7ZNnwf9ymQpHnbO1lRYrvb8lNaNgylRgEA3XA3EKdfxS5qyiVvZGVBLFgk8kqHB5xDLHyPZ0YT4MF+nf0TzW470vO6ksyeizU5JsXM2h8ukbzGEo7vSc9Jsr3WsQukEA4X6JX+2JAIji0PJrxMYJuaaFiZWDeN3J+Ix92Hh3492DcADxvWI+jzreie7vdbjcySacnkyrytGFxWVRDer8TsWIzSY87y+Twczhy85DfGJTQVSx0zMXDWn4y8PcdjwkxzNCLztMoBveuMxXtgQAdMoDSbr0Hd6Ic2sttLVPyRt+B2Ufjp55j/kiBhJ4A7sH1Z8tbfYhjTTvjpRjOzsO1nL8w63g9+TeZDFqVwwKOjWpcKm/HDpaxAd+iW5yIMFFuEymZRZQ5ozmlwSB64wa5GyHQinrp403sVjc7vObLn2ixOrZAoebtLBMbPx1CGN1KHdGKx8Hwcaao0wN/wqfaE7DUS5d6jKspLxW/6PBB3hzkqy6ujJWZ03cnSc5lXcP1Qd2UV5xfVJs41idr7iqqpIoGb2yG5Ut4Rctrgyk4pCE/GZYFdtUdqblUzX0/wnm5oZEt0jO7R1KaHRBxxIOxtnmz6+EfecvKELRYDSLiiieiFDE1P5/hgN5/Y+tsw4BW3oFaFdzo4FOAGGkbR4rCNISiPQVjEWEE4NwY6IJ7O7AmjqD7eNW4FCVMIgWrmiY2l4= X-Forefront-Antispam-Report: CIP:216.228.112.36;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:schybrid05.nvidia.com;CAT:NONE;SFS:(4636009)(136003)(346002)(39860400002)(396003)(376002)(46966006)(36840700001)(82740400003)(966005)(478600001)(83380400001)(86362001)(82310400003)(8676002)(356005)(6916009)(26005)(70206006)(8936002)(36756003)(426003)(4744005)(2616005)(70586007)(1076003)(336012)(7696005)(7636003)(186003)(36860700001)(47076005)(36906005)(2906002)(5660300002)(316002);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2021 21:35:57.9726 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d2a5213d-8ff8-40eb-3455-08d904444921 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.112.36];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT037.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4845 Content-Type: text/plain Implement interface to allow addition of Driver Unload support for a FmpDeviceLib which supports the UEFI Driver Binding model. Add FmpDeviceLibUnloadImage function declaration and NULL sample. Add FmpDxeUnloadImage function. Replace UNLOAD_IMAGE function in FmpDxe sample with FmpDxeUnloadImage. https://github.com/jrahn-nvidia/edk2/pull/new/BZ3342_FmpDeviceLib_DriverUnload https://bugzilla.tianocore.org/show_bug.cgi?id=3342 FmpDeviceLib interface for Driver Unload is missing John Rahn (1): FmpDevicePkg: FmpDeviceLib interface change for Driver Unload support FmpDevicePkg/FmpDxe/FmpDxe.inf | 2 +- FmpDevicePkg/Include/Library/FmpDeviceLib.h | 21 ++++++++++++++++ FmpDevicePkg/FmpDxe/FmpDxe.c | 21 ++++++++++++++++ .../Library/FmpDeviceLibNull/FmpDeviceLib.c | 24 +++++++++++++++++++ 4 files changed, 67 insertions(+), 1 deletion(-) -- 2.17.1