/** @file\r
This module is one template module for Incompatible PCI Device Support protocol.\r
It includes one incompatible pci devices list template.\r
- \r
+\r
Incompatible PCI Device Support protocol allows the PCI bus driver to support\r
resource allocation for some PCI devices that do not comply with the PCI Specification.\r
\r
-Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2018, Intel Corporation. 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
the configuration requirement.\r
\r
@retval EFI_SUCCESS Successfully got ACPI resource for specified PCI device.\r
- @retval EFI_INVALID_PARAMETER Configuration is NULL. \r
+ @retval EFI_INVALID_PARAMETER Configuration is NULL.\r
@retval EFI_OUT_OF_RESOURCES No memory available.\r
@retval EFI_UNSUPPORTED The specified PCI device wasn't supported.\r
\r
the configuration requirement.\r
\r
@retval EFI_SUCCESS Successfully got ACPI resource for specified PCI device.\r
- @retval EFI_INVALID_PARAMETER Configuration is NULL. \r
+ @retval EFI_INVALID_PARAMETER Configuration is NULL.\r
@retval EFI_OUT_OF_RESOURCES No memory available.\r
@retval EFI_UNSUPPORTED The specified PCI device wasn't supported.\r
\r
Dsc = (EFI_PCI_RESOUCE_DESCRIPTOR *) (ListPtr + 1);\r
\r
AcpiPtr->Desc = ACPI_ADDRESS_SPACE_DESCRIPTOR;\r
- AcpiPtr->Len = (UINT16) sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR);\r
+ AcpiPtr->Len = (UINT16) sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR) - 3;\r
AcpiPtr->ResType = (UINT8) Dsc->ResType;\r
AcpiPtr->GenFlag = (UINT8) Dsc->GenFlag;\r
AcpiPtr->SpecificFlag = (UINT8) Dsc->SpecificFlag;\r