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/sqtconf/sqtparam.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  * Mach Operating System
    3  * Copyright (c) 1991 Carnegie Mellon University
    4  * Copyright (c) 1991 Sequent Computer Systems
    5  * All Rights Reserved.
    6  * 
    7  * Permission to use, copy, modify and distribute this software and its
    8  * documentation is hereby granted, provided that both the copyright
    9  * notice and this permission notice appear in all copies of the
   10  * software, derivative works or modified versions, and any portions
   11  * thereof, and that both notices appear in supporting documentation.
   12  * 
   13  * CARNEGIE MELLON AND SEQUENT COMPUTER SYSTEMS ALLOW FREE USE OF
   14  * THIS SOFTWARE IN ITS "AS IS" CONDITION.  CARNEGIE MELLON AND
   15  * SEQUENT COMPUTER SYSTEMS DISCLAIM ANY LIABILITY OF ANY KIND FOR
   16  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   17  * 
   18  * Carnegie Mellon requests users of this software to return to
   19  * 
   20  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   21  *  School of Computer Science
   22  *  Carnegie Mellon University
   23  *  Pittsburgh PA 15213-3890
   24  * 
   25  * any improvements or extensions that they make and grant Carnegie Mellon 
   26  * the rights to redistribute these changes.
   27  */
   28 
   29 /*
   30  * HISTORY
   31  * $Log:        sqtparam.c,v $
   32  * Revision 2.3  91/07/31  18:06:02  dbg
   33  *      Changed copyright.
   34  *      [91/07/31            dbg]
   35  * 
   36  * Revision 2.2  91/05/08  13:04:20  dbg
   37  *      Adapted for pure Mach kernel.
   38  *      [90/10/03            dbg]
   39  * 
   40  */
   41 
   42 #include <sqt/sqtparam.h>
   43 #include <sqt/clock.h>
   44 
   45 /*
   46  * light_show decides which LED's are used to display system activity.
   47  * B8k's can only display on the processor board LED's; B21k's can display
   48  * on the front-panel and processor board LED's.  light_show == 1 displays
   49  * in one place (front-panel if B21k); light_show == 2 displays in both places
   50  * if possible; light_show == 0 doesn't flash at all (quite boring).
   51  */
   52 
   53 #ifdef MFG
   54 int     light_show = 2;         /* display on everywhere (==2) */
   55 #else
   56 int     light_show = 1;         /* display on most useful place (==1) */
   57 #endif
   58 
   59 #ifndef CPUSPEED                /* approximate speed of cpu in VAX MIPS */
   60                                 /* scaled for an 100Mhz machine         */
   61 #define CPUSPEED        25      /* used for spin loops in various places */
   62 #endif
   63 int     lcpuspeed       = CPUSPEED;
   64 int     memintvl        = MEMINTVL * HZ;
   65 
   66 /*
   67  * Non-zero resphysmem constrains amount of physical memory the system will
   68  * use, reserving some for special purpose drivers, accelerators, etc.
   69  * Physical address of reserved memory is held in `topmem'.
   70  * Must be a multiple of CLBYTES.
   71  */
   72 
   73 #ifndef RESPHYSMEM
   74 #define RESPHYSMEM      0       /* default: none reserved */
   75 #endif
   76 
   77 int     resphysmem = RESPHYSMEM;
   78 
   79 #ifndef CPURATE
   80 #define CPURATE         16      /* lowest cpu rate to used (Mhz) */
   81 #endif
   82 int     cpurate         = CPURATE;

Cache object: 832c853e10bdbe65168ad7c81a276db6


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