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/conf/majors.awk

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 # $FreeBSD: src/sys/conf/majors.awk,v 1.1 2003/02/27 08:52:11 phk Exp $
    2 /^#/    { next }
    3 NF == 1 { next }
    4 $2 == "??" { next }
    5 $2 == "lkm" { next }
    6         {
    7         a[$1] = $1;
    8         }
    9 END     {
   10         print "unsigned char reserved_majors[256] = {"
   11         for (i = 0; i < 256; i += 16) {
   12                 for (j = 0; j < 16; j++) {
   13                         printf("%3d", a[i + j]);
   14                         if (i + j != 255)
   15                                 printf(",");
   16                 }
   17                 print ""
   18         }
   19         print "};"
   20         }
   21 

Cache object: f83b3b25f7a76dd4a6fd27186d64f640


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