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/mips/rmi/msgring.c

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*-
    2  * SPDX-License-Identifier: BSD-3-Clause
    3  *
    4  * Copyright (c) 2003-2009 RMI Corporation
    5  * All rights reserved.
    6  *
    7  * Redistribution and use in source and binary forms, with or without
    8  * modification, are permitted provided that the following conditions
    9  * are met:
   10  * 1. Redistributions of source code must retain the above copyright
   11  *    notice, this list of conditions and the following disclaimer.
   12  * 2. Redistributions in binary form must reproduce the above copyright
   13  *    notice, this list of conditions and the following disclaimer in the
   14  *    documentation and/or other materials provided with the distribution.
   15  * 3. Neither the name of RMI Corporation, nor the names of its contributors,
   16  *    may be used to endorse or promote products derived from this software
   17  *    without specific prior written permission.
   18  *
   19  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
   20  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   21  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   22  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
   23  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   24  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   25  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   26  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   27  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   28  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   29  * SUCH DAMAGE.
   30  *
   31  * $FreeBSD: releng/11.2/sys/mips/rmi/msgring.c 330897 2018-03-14 03:19:51Z eadler $
   32  * RMI_BSD */
   33 /**********************************************************
   34  * -----------------DO NOT EDIT THIS FILE------------------
   35  * This file has been autogenerated by the build process
   36  * from "msgring.cfg"
   37  **********************************************************/
   38 
   39 #include <mips/rmi/msgring.h>
   40 
   41 struct bucket_size bucket_sizes = {
   42         {
   43                 32, 32, 32, 32, 32, 32, 32, 32,
   44                 32, 32, 32, 32, 32, 32, 32, 32,
   45                 32, 32, 32, 32, 32, 32, 32, 32,
   46                 32, 32, 32, 32, 32, 32, 32, 32,
   47                 32, 32, 32, 32, 32, 32, 32, 32,
   48                 32, 32, 32, 32, 32, 32, 32, 32,
   49                 32, 32, 32, 32, 32, 32, 32, 32,
   50                 32, 32, 32, 32, 32, 32, 32, 32,
   51                 32, 16, 16, 16, 16, 16, 16, 16,
   52                 16, 16, 16, 16, 16, 16, 16, 0,
   53                 32, 16, 16, 16, 16, 16, 16, 16,
   54                 16, 16, 16, 16, 16, 16, 16, 0,
   55                 0, 32, 32, 32, 32, 32, 0, 32,
   56                 0, 0, 0, 0, 0, 0, 0, 0,
   57                 0, 32, 0, 32, 0, 0, 0, 0,
   58                 128, 0, 0, 0, 128, 0, 0, 0,
   59         }
   60 };
   61 
   62 struct stn_cc cc_table_cpu_0 = {{
   63 
   64                 {0, 0, 0, 0, 0, 0, 0, 0},
   65                 {0, 0, 0, 4, 0, 0, 0, 0},
   66                 {0, 0, 0, 0, 0, 0, 0, 0},
   67                 {0, 0, 0, 0, 0, 0, 0, 0},
   68                 {0, 0, 0, 0, 0, 0, 0, 0},
   69                 {0, 0, 0, 0, 0, 0, 0, 0},
   70                 {0, 0, 0, 0, 0, 0, 0, 0},
   71                 {0, 0, 0, 0, 0, 0, 0, 0},
   72                 {4, 2, 2, 2, 2, 2, 2, 2},
   73                 {2, 2, 2, 2, 2, 2, 2, 0},
   74                 {4, 2, 2, 2, 2, 2, 2, 2},
   75                 {2, 2, 2, 2, 2, 2, 2, 0},
   76                 {0, 2, 4, 4, 4, 4, 0, 2},
   77                 {0, 0, 0, 0, 0, 0, 0, 0},
   78                 {0, 2, 0, 2, 0, 0, 0, 0},
   79                 {16, 0, 0, 0, 16, 0, 0, 0},
   80 }};
   81 
   82 struct stn_cc cc_table_cpu_1 = {{
   83 
   84                 {0, 0, 0, 0, 0, 0, 0, 0},
   85                 {0, 0, 0, 0, 0, 0, 0, 0},
   86                 {0, 0, 0, 0, 0, 0, 0, 0},
   87                 {0, 0, 0, 0, 0, 0, 0, 0},
   88                 {0, 0, 0, 0, 0, 0, 0, 0},
   89                 {0, 0, 0, 0, 0, 0, 0, 0},
   90                 {0, 0, 0, 0, 0, 0, 0, 0},
   91                 {0, 0, 0, 0, 0, 0, 0, 0},
   92                 {4, 2, 2, 2, 2, 2, 2, 2},
   93                 {2, 2, 2, 2, 2, 2, 2, 0},
   94                 {4, 2, 2, 2, 2, 2, 2, 2},
   95                 {2, 2, 2, 2, 2, 2, 2, 0},
   96                 {0, 2, 4, 4, 4, 4, 0, 2},
   97                 {0, 0, 0, 0, 0, 0, 0, 0},
   98                 {0, 2, 0, 2, 0, 0, 0, 0},
   99                 {16, 0, 0, 0, 16, 0, 0, 0},
  100 }};
  101 
  102 struct stn_cc cc_table_cpu_2 = {{
  103 
  104                 {0, 0, 0, 0, 0, 0, 0, 0},
  105                 {0, 0, 0, 0, 0, 0, 0, 0},
  106                 {0, 0, 0, 0, 0, 0, 0, 0},
  107                 {0, 0, 0, 0, 0, 0, 0, 0},
  108                 {0, 0, 0, 0, 0, 0, 0, 0},
  109                 {0, 0, 0, 0, 0, 0, 0, 0},
  110                 {0, 0, 0, 0, 0, 0, 0, 0},
  111                 {0, 0, 0, 0, 0, 0, 0, 0},
  112                 {4, 2, 2, 2, 2, 2, 2, 2},
  113                 {2, 2, 2, 2, 2, 2, 2, 0},
  114                 {4, 2, 2, 2, 2, 2, 2, 2},
  115                 {2, 2, 2, 2, 2, 2, 2, 0},
  116                 {0, 4, 4, 4, 4, 4, 0, 4},
  117                 {0, 0, 0, 0, 0, 0, 0, 0},
  118                 {0, 4, 0, 4, 0, 0, 0, 0},
  119                 {16, 0, 0, 0, 16, 0, 0, 0},
  120 }};
  121 
  122 struct stn_cc cc_table_cpu_3 = {{
  123 
  124                 {0, 0, 0, 0, 0, 0, 0, 0},
  125                 {0, 0, 0, 0, 0, 0, 0, 0},
  126                 {0, 0, 0, 0, 0, 0, 0, 0},
  127                 {0, 0, 0, 0, 0, 0, 0, 0},
  128                 {0, 0, 0, 0, 0, 0, 0, 0},
  129                 {0, 0, 0, 0, 0, 0, 0, 0},
  130                 {0, 0, 0, 0, 0, 0, 0, 0},
  131                 {0, 0, 0, 0, 0, 0, 0, 0},
  132                 {4, 2, 2, 2, 2, 2, 2, 2},
  133                 {2, 2, 2, 2, 2, 2, 2, 0},
  134                 {4, 2, 2, 2, 2, 2, 2, 2},
  135                 {2, 2, 2, 2, 2, 2, 2, 0},
  136                 {0, 4, 4, 4, 4, 4, 0, 4},
  137                 {0, 0, 0, 0, 0, 0, 0, 0},
  138                 {0, 4, 0, 4, 0, 0, 0, 0},
  139                 {16, 0, 0, 0, 16, 0, 0, 0},
  140 }};
  141 
  142 struct stn_cc cc_table_cpu_4 = {{
  143 
  144                 {0, 0, 0, 0, 0, 0, 0, 0},
  145                 {0, 0, 0, 0, 0, 0, 0, 0},
  146                 {0, 0, 0, 0, 0, 0, 0, 0},
  147                 {0, 0, 0, 0, 0, 0, 0, 0},
  148                 {0, 0, 0, 0, 0, 0, 0, 0},
  149                 {0, 0, 0, 0, 0, 0, 0, 0},
  150                 {0, 0, 0, 0, 0, 0, 0, 0},
  151                 {0, 0, 0, 0, 0, 0, 0, 0},
  152                 {4, 2, 2, 2, 2, 2, 2, 2},
  153                 {2, 2, 2, 2, 2, 2, 2, 0},
  154                 {4, 2, 2, 2, 2, 2, 2, 2},
  155                 {2, 2, 2, 2, 2, 2, 2, 0},
  156                 {0, 4, 4, 4, 4, 4, 0, 4},
  157                 {0, 0, 0, 0, 0, 0, 0, 0},
  158                 {0, 4, 0, 4, 0, 0, 0, 0},
  159                 {16, 0, 0, 0, 16, 0, 0, 0},
  160 }};
  161 
  162 struct stn_cc cc_table_cpu_5 = {{
  163 
  164                 {0, 0, 0, 0, 0, 0, 0, 0},
  165                 {0, 0, 0, 0, 0, 0, 0, 0},
  166                 {0, 0, 0, 0, 0, 0, 0, 0},
  167                 {0, 0, 0, 0, 0, 0, 0, 0},
  168                 {0, 0, 0, 0, 0, 0, 0, 0},
  169                 {0, 0, 0, 0, 0, 0, 0, 0},
  170                 {0, 0, 0, 0, 0, 0, 0, 0},
  171                 {0, 0, 0, 0, 0, 0, 0, 0},
  172                 {4, 2, 2, 2, 2, 2, 2, 2},
  173                 {2, 2, 2, 2, 2, 2, 2, 0},
  174                 {4, 2, 2, 2, 2, 2, 2, 2},
  175                 {2, 2, 2, 2, 2, 2, 2, 0},
  176                 {0, 4, 4, 4, 4, 4, 0, 4},
  177                 {0, 0, 0, 0, 0, 0, 0, 0},
  178                 {0, 4, 0, 4, 0, 0, 0, 0},
  179                 {16, 0, 0, 0, 16, 0, 0, 0},
  180 }};
  181 
  182 struct stn_cc cc_table_cpu_6 = {{
  183 
  184                 {0, 0, 0, 0, 0, 0, 0, 0},
  185                 {0, 0, 0, 0, 0, 0, 0, 0},
  186                 {0, 0, 0, 0, 0, 0, 0, 0},
  187                 {0, 0, 0, 0, 0, 0, 0, 0},
  188                 {0, 0, 0, 0, 0, 0, 0, 0},
  189                 {0, 0, 0, 0, 0, 0, 0, 0},
  190                 {0, 0, 0, 0, 0, 0, 0, 0},
  191                 {0, 0, 0, 0, 0, 0, 0, 0},
  192                 {4, 2, 2, 2, 2, 2, 2, 2},
  193                 {2, 2, 2, 2, 2, 2, 2, 0},
  194                 {4, 2, 2, 2, 2, 2, 2, 2},
  195                 {2, 2, 2, 2, 2, 2, 2, 0},
  196                 {0, 4, 4, 4, 4, 4, 0, 4},
  197                 {0, 0, 0, 0, 0, 0, 0, 0},
  198                 {0, 4, 0, 4, 0, 0, 0, 0},
  199                 {16, 0, 0, 0, 16, 0, 0, 0},
  200 }};
  201 
  202 struct stn_cc cc_table_cpu_7 = {{
  203 
  204                 {0, 0, 0, 0, 0, 0, 0, 0},
  205                 {0, 0, 0, 0, 0, 0, 0, 0},
  206                 {0, 0, 0, 0, 0, 0, 0, 0},
  207                 {0, 0, 0, 0, 0, 0, 0, 0},
  208                 {0, 0, 0, 0, 0, 0, 0, 0},
  209                 {0, 0, 0, 0, 0, 0, 0, 0},
  210                 {0, 0, 0, 0, 0, 0, 0, 0},
  211                 {0, 0, 0, 0, 0, 0, 0, 0},
  212                 {4, 2, 2, 2, 2, 2, 2, 2},
  213                 {2, 2, 2, 2, 2, 2, 2, 0},
  214                 {4, 2, 2, 2, 2, 2, 2, 2},
  215                 {2, 2, 2, 2, 2, 2, 2, 0},
  216                 {0, 4, 4, 4, 4, 4, 0, 4},
  217                 {0, 0, 0, 0, 0, 0, 0, 0},
  218                 {0, 4, 0, 4, 0, 0, 0, 0},
  219                 {16, 0, 0, 0, 16, 0, 0, 0},
  220 }};
  221 
  222 struct stn_cc cc_table_xgs_0 = {{
  223 
  224                 {8, 8, 8, 8, 8, 8, 8, 8},
  225                 {8, 8, 8, 8, 8, 8, 8, 8},
  226                 {8, 8, 8, 8, 8, 8, 8, 8},
  227                 {8, 8, 8, 8, 8, 8, 8, 8},
  228                 {8, 8, 8, 8, 8, 8, 8, 8},
  229                 {8, 8, 8, 8, 8, 8, 8, 8},
  230                 {8, 8, 8, 8, 8, 8, 8, 8},
  231                 {8, 8, 8, 8, 8, 8, 8, 8},
  232                 {0, 0, 0, 0, 0, 0, 0, 0},
  233                 {0, 0, 0, 0, 0, 0, 0, 0},
  234                 {0, 0, 0, 0, 0, 0, 0, 0},
  235                 {0, 0, 0, 0, 0, 0, 0, 0},
  236                 {0, 0, 0, 0, 0, 0, 0, 0},
  237                 {0, 0, 0, 0, 0, 0, 0, 0},
  238                 {0, 4, 0, 0, 0, 0, 0, 0},
  239                 {0, 0, 0, 0, 0, 0, 0, 0},
  240 }};
  241 
  242 struct stn_cc cc_table_xgs_1 = {{
  243 
  244                 {8, 8, 8, 8, 8, 8, 8, 8},
  245                 {8, 8, 8, 8, 8, 8, 8, 8},
  246                 {8, 8, 8, 8, 8, 8, 8, 8},
  247                 {8, 8, 8, 8, 8, 8, 8, 8},
  248                 {8, 8, 8, 8, 8, 8, 8, 8},
  249                 {8, 8, 8, 8, 8, 8, 8, 8},
  250                 {8, 8, 8, 8, 8, 8, 8, 8},
  251                 {8, 8, 8, 8, 8, 8, 8, 8},
  252                 {0, 0, 0, 0, 0, 0, 0, 0},
  253                 {0, 0, 0, 0, 0, 0, 0, 0},
  254                 {0, 0, 0, 0, 0, 0, 0, 0},
  255                 {0, 0, 0, 0, 0, 0, 0, 0},
  256                 {0, 0, 0, 0, 0, 0, 0, 0},
  257                 {0, 0, 0, 0, 0, 0, 0, 0},
  258                 {0, 0, 0, 4, 0, 0, 0, 0},
  259                 {0, 0, 0, 0, 0, 0, 0, 0},
  260 }};
  261 
  262 struct stn_cc cc_table_gmac = {{
  263 
  264                 {8, 8, 8, 8, 16, 16, 16, 16},
  265                 {8, 8, 8, 8, 16, 16, 16, 16},
  266                 {8, 8, 8, 8, 16, 16, 16, 16},
  267                 {8, 8, 8, 8, 16, 16, 16, 16},
  268                 {8, 8, 8, 8, 16, 16, 16, 16},
  269                 {8, 8, 8, 8, 16, 16, 16, 16},
  270                 {8, 8, 8, 8, 16, 16, 16, 16},
  271                 {8, 8, 8, 8, 16, 16, 16, 16},
  272                 {0, 0, 0, 0, 0, 0, 0, 0},
  273                 {0, 0, 0, 0, 0, 0, 0, 0},
  274                 {0, 0, 0, 0, 0, 0, 0, 0},
  275                 {0, 0, 0, 0, 0, 0, 0, 0},
  276                 {0, 4, 0, 0, 0, 0, 0, 4},
  277                 {0, 0, 0, 0, 0, 0, 0, 0},
  278                 {0, 0, 0, 0, 0, 0, 0, 0},
  279                 {0, 0, 0, 0, 0, 0, 0, 0},
  280 }};
  281 
  282 struct stn_cc cc_table_dma = {{
  283 
  284                 {0, 0, 0, 0, 0, 0, 0, 0},
  285                 {0, 0, 0, 0, 0, 0, 0, 0},
  286                 {0, 0, 0, 0, 0, 0, 0, 0},
  287                 {0, 0, 0, 0, 0, 0, 0, 0},
  288                 {0, 0, 0, 0, 0, 0, 0, 0},
  289                 {0, 0, 0, 0, 0, 0, 0, 0},
  290                 {0, 0, 0, 0, 0, 0, 0, 0},
  291                 {0, 0, 0, 0, 0, 0, 0, 0},
  292                 {0, 0, 0, 0, 0, 0, 0, 0},
  293                 {0, 0, 0, 0, 0, 0, 0, 0},
  294                 {0, 0, 0, 0, 0, 0, 0, 0},
  295                 {0, 0, 0, 0, 0, 0, 0, 0},
  296                 {0, 0, 0, 0, 0, 0, 0, 0},
  297                 {0, 0, 0, 0, 0, 0, 0, 0},
  298                 {0, 0, 0, 0, 0, 0, 0, 0},
  299                 {0, 0, 0, 0, 0, 0, 0, 0},
  300 }};
  301 
  302 struct stn_cc cc_table_sec = {{
  303 
  304                 {8, 8, 8, 8, 0, 0, 0, 0},
  305                 {8, 8, 8, 4, 0, 0, 0, 0},
  306                 {8, 8, 8, 8, 0, 0, 0, 0},
  307                 {8, 8, 8, 8, 0, 0, 0, 0},
  308                 {8, 8, 8, 8, 0, 0, 0, 0},
  309                 {8, 8, 8, 8, 0, 0, 0, 0},
  310                 {8, 8, 8, 8, 0, 0, 0, 0},
  311                 {8, 8, 8, 8, 0, 0, 0, 0},
  312                 {0, 0, 0, 0, 0, 0, 0, 0},
  313                 {0, 0, 0, 0, 0, 0, 0, 0},
  314                 {0, 0, 0, 0, 0, 0, 0, 0},
  315                 {0, 0, 0, 0, 0, 0, 0, 0},
  316                 {0, 0, 0, 0, 0, 0, 0, 0},
  317                 {0, 0, 0, 0, 0, 0, 0, 0},
  318                 {0, 0, 0, 0, 0, 0, 0, 0},
  319                 {0, 0, 0, 0, 0, 0, 0, 0},
  320 }};

Cache object: 9daffb25e24242c85bdb6996ba6bc5a5


[ 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.