Print this page
PANKOVs restructure


   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
  24  */
  25 
  26 #include <sys/sunddi.h>
  27 #include <sys/sunndi.h>
  28 #include <sys/acpi/acpi.h>
  29 #include <sys/acpica.h>
  30 #include <sys/amd_iommu.h>
  31 #include <sys/bootconf.h>
  32 #include <sys/sysmacros.h>
  33 #include <sys/ddidmareq.h>
  34 
  35 #include "amd_iommu_impl.h"
  36 #include "amd_iommu_acpi.h"
  37 #include "amd_iommu_page_tables.h"
  38 
  39 ddi_dma_attr_t amd_iommu_pgtable_dma_attr = {
  40         DMA_ATTR_V0,
  41         0U,                             /* dma_attr_addr_lo */
  42         0xffffffffffffffffULL,          /* dma_attr_addr_hi */
  43         0xffffffffU,                    /* dma_attr_count_max */
  44         (uint64_t)4096,                 /* dma_attr_align */
  45         1,                              /* dma_attr_burstsizes */
  46         64,                             /* dma_attr_minxfer */
  47         0xffffffffU,                    /* dma_attr_maxxfer */
  48         0xffffffffU,                    /* dma_attr_seg */




   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
  24  */
  25 
  26 #include <sys/sunddi.h>
  27 #include <sys/sunndi.h>
  28 #include <acpica/include/acpi.h>
  29 #include <sys/acpica.h>
  30 #include <sys/amd_iommu.h>
  31 #include <sys/bootconf.h>
  32 #include <sys/sysmacros.h>
  33 #include <sys/ddidmareq.h>
  34 
  35 #include "amd_iommu_impl.h"
  36 #include "amd_iommu_acpi.h"
  37 #include "amd_iommu_page_tables.h"
  38 
  39 ddi_dma_attr_t amd_iommu_pgtable_dma_attr = {
  40         DMA_ATTR_V0,
  41         0U,                             /* dma_attr_addr_lo */
  42         0xffffffffffffffffULL,          /* dma_attr_addr_hi */
  43         0xffffffffU,                    /* dma_attr_count_max */
  44         (uint64_t)4096,                 /* dma_attr_align */
  45         1,                              /* dma_attr_burstsizes */
  46         64,                             /* dma_attr_minxfer */
  47         0xffffffffU,                    /* dma_attr_maxxfer */
  48         0xffffffffU,                    /* dma_attr_seg */