]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/SataControllerDxe/SataController.h
MdeModulePkg: Enable SATA Controller PCI mem space
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / SataControllerDxe / SataController.h
index f7db3b832a14c0c8314518cfdf4198c7a4e8ef25..db2e2195993162d23e2d07186360dce6d552f940 100644 (file)
@@ -2,6 +2,7 @@
   Header file for Sata Controller driver.\r
 \r
   Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2018, ARM Ltd. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -104,6 +105,17 @@ typedef struct _EFI_SATA_CONTROLLER_PRIVATE_DATA {
   //\r
   EFI_IDENTIFY_DATA                 *IdentifyData;\r
   BOOLEAN                           *IdentifyValid;\r
+\r
+  //\r
+  // Track the state so that the PCI attributes that were modified\r
+  // can be restored to the original value later.\r
+  //\r
+  BOOLEAN                           PciAttributesChanged;\r
+\r
+  //\r
+  // Copy of the original PCI Attributes\r
+  //\r
+  UINT64                            OriginalPciAttributes;\r
 } EFI_SATA_CONTROLLER_PRIVATE_DATA;\r
 \r
 #define SATA_CONTROLLER_PRIVATE_DATA_FROM_THIS(a) CR(a, EFI_SATA_CONTROLLER_PRIVATE_DATA, IdeInit, SATA_CONTROLLER_SIGNATURE)\r