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
|