]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c
OvmfPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / OvmfPkg / VirtioPciDeviceDxe / VirtioPciDevice.c
index 8aae58e8b482e8c735c9020c7c14387bf226cf93..c5c8d5ebef1d82345cc2f2cfcff9c2b3693d917e 100644 (file)
@@ -5,14 +5,9 @@
   Copyright (C) 2012, Red Hat, Inc.\r
   Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>\r
   Copyright (C) 2013, ARM Ltd.\r
+  Copyright (C) 2017, AMD Inc, All rights reserved.<BR>\r
 \r
-  This program and the accompanying materials are licensed and made available\r
-  under the terms and conditions of the BSD License which accompanies this\r
-  distribution. The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
-  WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -40,7 +35,11 @@ STATIC VIRTIO_DEVICE_PROTOCOL mDeviceProtocolTemplate = {
   VirtioPciGetDeviceStatus,             // GetDeviceStatus\r
   VirtioPciSetDeviceStatus,             // SetDeviceStatus\r
   VirtioPciDeviceWrite,                 // WriteDevice\r
-  VirtioPciDeviceRead                   // ReadDevice\r
+  VirtioPciDeviceRead,                  // ReadDevice\r
+  VirtioPciAllocateSharedPages,         // AllocateSharedPages\r
+  VirtioPciFreeSharedPages,             // FreeSharedPages\r
+  VirtioPciMapSharedBuffer,             // MapSharedBuffer\r
+  VirtioPciUnmapSharedBuffer,           // UnmapSharedBuffer\r
 };\r
 \r
 /**\r