source: trunk/third/sysinfo/os-sunos.h @ 12269

Revision 12269, 1.3 KB checked in by ghudson, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12268, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 * Copyright (c) 1992-1998 Michael A. Cooper.
3 * This software may be freely used and distributed provided it is not
4 * sold for profit or used in part or in whole for commercial gain
5 * without prior written agreement, and the author is credited
6 * appropriately.
7 */
8
9/*
10 * $Revision: 1.1.1.3 $
11 */
12
13#ifndef __os_sunos_h__
14#define __os_sunos_h__
15
16/*
17 * Default Delta for CPUspeed comparison
18 */
19#define CPU_SPEED_DELTA         2
20
21/*
22 * Graphics defines
23 */
24#define AFB_NAME                "afb"           /* Elite */
25#define PGX_NAME                "pgx"           /* m64/PGX */
26#define FFB_NAME                "ffb"           /* Creator */
27/* Special FFB defines */
28#define FFB_DBLNAME             "ffbdbl"        /* Match for sunos.cf */
29#define FFB_DBL_BUFFER          0x01            /* Has double buf flag */
30#define FFB_Z_BUFFER            0x02            /* Has Z buf flag */
31
32/*
33 * List of driver names which provide Serial numbers (DevInfo->Serial)
34 * which are known to "bad".  Usually this means they don't contain unique
35 * fields.  Such devices are ignored when looking for duplicate entries
36 * in the Device tree.
37 */
38#define IGNORE_SERIAL_LIST      { "atf", NULL }
39
40/*
41 * Cpu Type information
42 */
43#if     OSMVER == 5
44typedef short                   cputype_t;
45#else
46typedef int                     cputype_t;
47#endif  /* OSMVER == 5 */
48extern cputype_t                CpuType;
49
50/*
51 * Functions
52 */
53extern int                      IsString();
54extern char                    *DecodeVal();
55extern char                    *ExpandKey();
56
57#endif  /* __os_sunos_h__ */
Note: See TracBrowser for help on using the repository browser.