X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FPci%2FAtapiPassThruDxe%2FAtapiPassThru.h;h=1ac174c7a0b9e9abad11b2483e9242d9a4850e2e;hp=ac1db971d724e601b73ce785affc4f1c6320fdd3;hb=68246fa809e4a8ab61ce7bbfdd1a0b31d03e83fb;hpb=f527bce3d07ff80c7fff9684b2c7cdc02805c32e diff --git a/MdeModulePkg/Bus/Pci/AtapiPassThruDxe/AtapiPassThru.h b/MdeModulePkg/Bus/Pci/AtapiPassThruDxe/AtapiPassThru.h index ac1db971d7..1ac174c7a0 100644 --- a/MdeModulePkg/Bus/Pci/AtapiPassThruDxe/AtapiPassThru.h +++ b/MdeModulePkg/Bus/Pci/AtapiPassThruDxe/AtapiPassThru.h @@ -1,12 +1,12 @@ /** @file - Copyright (c) 2006, Intel Corporation - All rights reserved. This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php + Copyright (c) 2006, Intel Corporation + All rights reserved. This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. Module Name: AtapiPassThru.h @@ -102,6 +102,7 @@ typedef struct { EFI_SCSI_PASS_THRU_PROTOCOL ScsiPassThru; EFI_SCSI_PASS_THRU_MODE ScsiPassThruMode; EFI_PCI_IO_PROTOCOL *PciIo; + UINT64 OriginalPciAttributes; // // Local Data goes here // @@ -454,6 +455,7 @@ AtapiScsiPassThruDriverEntryPoint ( @param This @param Controller @param PciIo + @param OriginalPciAttributes @todo Add function description @todo This add argument description @@ -463,9 +465,10 @@ AtapiScsiPassThruDriverEntryPoint ( **/ EFI_STATUS RegisterAtapiScsiPassThru ( - IN EFI_DRIVER_BINDING_PROTOCOL *This, + IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, - IN EFI_PCI_IO_PROTOCOL *PciIo + IN EFI_PCI_IO_PROTOCOL *PciIo, + IN UINT64 OriginalPciAttributes ) ; @@ -971,13 +974,13 @@ Routine Description: Arguments: PciIo - Pointer to the EFI_PCI_IO_PROTOCOL instance - IdeRegsBaseAddr - Pointer to IDE_REGISTERS_BASE_ADDR to + IdeRegsBaseAddr - Pointer to IDE_REGISTERS_BASE_ADDR to receive IDE IO port registers' base addresses - + Returns: EFI_STATUS - + --*/ ; @@ -993,15 +996,15 @@ Routine Description: Initialize each Channel's Base Address of CommandBlock and ControlBlock. Arguments: - + AtapiScsiPrivate - The pointer of ATAPI_SCSI_PASS_THRU_DEV IdeRegsBaseAddr - The pointer of IDE_REGISTERS_BASE_ADDR - + Returns: - + None ---*/ +--*/ ; #endif