The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/arm/xscale/ixp425/ixp425_space.c

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: ixp425_space.c,v 1.6 2006/04/10 03:36:03 simonb Exp $ */
    2 
    3 /*
    4  * Copyright (c) 2003
    5  *      Ichiro FUKUHARA <ichiro@ichiro.org>.
    6  * All rights reserved.
    7  *
    8  * Redistribution and use in source and binary forms, with or without
    9  * modification, are permitted provided that the following conditions
   10  * are met:
   11  * 1. Redistributions of source code must retain the above copyright
   12  *    notice, this list of conditions and the following disclaimer.
   13  * 2. Redistributions in binary form must reproduce the above copyright
   14  *    notice, this list of conditions and the following disclaimer in the
   15  *    documentation and/or other materials provided with the distribution.
   16  * 3. All advertising materials mentioning features or use of this software
   17  *    must display the following acknowledgement:
   18  *      This product includes software developed by Ichiro FUKUHARA.
   19  * 4. The name of the company nor the name of the author may be used to
   20  *    endorse or promote products derived from this software without specific
   21  *    prior written permission.
   22  *
   23  * THIS SOFTWARE IS PROVIDED BY ICHIRO FUKUHARA ``AS IS'' AND ANY EXPRESS OR
   24  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   25  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
   26  * IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS HEAD BE LIABLE FOR
   27  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   28  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   29  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   30  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   31  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   32  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   33  * SUCH DAMAGE.
   34  */
   35 
   36 #include <sys/cdefs.h>
   37 __FBSDID("$FreeBSD: releng/10.4/sys/arm/xscale/ixp425/ixp425_space.c 278727 2015-02-13 22:32:02Z ian $");
   38 
   39 /*
   40  * bus_space I/O functions for ixp425
   41  */
   42 
   43 #include <sys/param.h>
   44 #include <sys/systm.h>
   45 #include <sys/bus.h>
   46 
   47 #include <machine/pcb.h>
   48 
   49 #include <vm/vm.h>
   50 #include <vm/vm_kern.h>
   51 #include <vm/pmap.h>
   52 #include <vm/vm_page.h>
   53 #include <vm/vm_extern.h>
   54 
   55 #include <machine/bus.h>
   56 
   57 #include <arm/xscale/ixp425/ixp425reg.h>
   58 #include <arm/xscale/ixp425/ixp425var.h>
   59 
   60 /* Proto types for all the bus_space structure functions */
   61 bs_protos(generic);
   62 
   63 struct bus_space ixp425_bs_tag = {
   64         /* cookie */
   65         .bs_privdata    = (void *) 0,
   66 
   67         /* mapping/unmapping */
   68         .bs_map         = generic_bs_map,
   69         .bs_unmap       = generic_bs_unmap,
   70         .bs_subregion   = generic_bs_subregion,
   71 
   72         /* allocation/deallocation */
   73         .bs_alloc       = generic_bs_alloc,
   74         .bs_free        = generic_bs_free,
   75 
   76         /* barrier */
   77         .bs_barrier     = generic_bs_barrier,
   78 
   79         /* read (single) */
   80         .bs_r_1         = generic_bs_r_1,
   81         .bs_r_2         = generic_bs_r_2,
   82         .bs_r_4         = generic_bs_r_4,
   83         .bs_r_8         = NULL,
   84 
   85         /* read multiple */
   86         .bs_rm_1        = generic_bs_rm_1,
   87         .bs_rm_2        = generic_bs_rm_2,
   88         .bs_rm_4        = generic_bs_rm_4,
   89         .bs_rm_8        = NULL,
   90 
   91         /* read region */
   92         .bs_rr_1        = generic_bs_rr_1,
   93         .bs_rr_2        = generic_bs_rr_2,
   94         .bs_rr_4        = generic_bs_rr_4,
   95         .bs_rr_8        = NULL,
   96 
   97         /* write (single) */
   98         .bs_w_1         = generic_bs_w_1,
   99         .bs_w_2         = generic_bs_w_2,
  100         .bs_w_4         = generic_bs_w_4,
  101         .bs_w_8         = NULL,
  102 
  103         /* write multiple */
  104         .bs_wm_1        = generic_bs_wm_1,
  105         .bs_wm_2        = generic_bs_wm_2,
  106         .bs_wm_4        = generic_bs_wm_4,
  107         .bs_wm_8        = NULL,
  108 
  109         /* write region */
  110         .bs_wr_1        = generic_bs_wr_1,
  111         .bs_wr_2        = generic_bs_wr_2,
  112         .bs_wr_4        = generic_bs_wr_4,
  113         .bs_wr_8        = NULL,
  114 
  115         /* set multiple */
  116         /* XXX not implemented */
  117 
  118         /* set region */
  119         .bs_sr_1        = NULL,
  120         .bs_sr_2        = generic_bs_sr_2,
  121         .bs_sr_4        = generic_bs_sr_4,
  122         .bs_sr_8        = NULL,
  123 
  124         /* copy */
  125         .bs_c_1         = NULL,
  126         .bs_c_2         = generic_bs_c_2,
  127         .bs_c_4         = NULL,
  128         .bs_c_8         = NULL,
  129 };

Cache object: 67f2ed659caf74a92dd65dd87107847c


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.