source: cmedia/trunk/Drv16/parse.h@ 354

Last change on this file since 354 was 354, checked in by stevenhl, 17 years ago

Import untested baseline cmedia sources, work products and binaries
Binaries and work products should be deleted from repository.
once new builds are verified to work.

File size: 2.8 KB
Line 
1/* $Id: parse.h,v 1.1 2000/04/23 14:55:19 ktk Exp $ */
2
3/* SCCSID = %W% %E% */
4/****************************************************************************
5 * *
6 * Copyright (c) IBM Corporation 1994 - 1997. *
7 * *
8 * The following IBM OS/2 source code is provided to you solely for the *
9 * the purpose of assisting you in your development of OS/2 device drivers. *
10 * You may use this code in accordance with the IBM License Agreement *
11 * provided in the IBM Device Driver Source Kit for OS/2. *
12 * *
13 ****************************************************************************/
14/**@internal %W%
15 * "externs" for DEVICE= command line parameters.
16 * @version %I%
17 * @context
18 * Unless otherwise noted, all interfaces are Ring-3, 16-bit,
19 * Init-time kernel stack.
20 * @notes
21 * @history
22 */
23
24#ifndef PARSE_INCLUDED
25#define PARSE_INCLUDED
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31#define SIZE_CONFIG_LINE 256
32
33// NUM_DEVICES defines the dimension of the arrays that receive values from
34// the DEVICE= command line.
35#define NUM_DEVICES 7
36
37// The base I/O ports specified on the command line.
38extern USHORT ausCL_BaseIO[]; // parse.c
39
40// The IRQ levels specified on the command line
41extern USHORT ausCL_IRQ[]; // parse.c
42
43// The DMA Channels specified on the command line
44extern USHORT ausCL_DMA[]; // parse.c
45
46// The device header name specified on the command line
47extern char szCL_DevName[]; // parse.c
48
49// The DSP Ucode file name specified on the command line
50extern char szCL_DSPUcodeName[]; // parse.c
51
52// The size of the heap, in bytes
53extern USHORT usCL_HeapSize; // parse.c
54
55// TRUE if /P and /I parameters were specified on the command line
56extern int fParamsSpecified;
57
58// True if the /V parameter was specified
59extern int fVerbose;
60
61// True if the hardware initialization errors should be ignore (/O:QUIETINIT)
62extern int fQuietInit;
63
64// True if we should not use HW timers.
65extern int fNoHWTimer;
66
67// The value of the /R parameter
68//### extern int iCL_Resolution=2;
69 extern int iCL_Resolution; //### parse.c
70
71// (### No:) declared in strategy.c
72// ### Moved to parse.c to solve linkage convents.
73// True if /O:LONGNAMES specified
74extern int fLongNames;
75
76// True when /J was specified.
77extern int fFMforMIDI;
78
79// True when /O:Int3BeforeInit was specified.
80extern int fInt3BeforeInit;
81
82int GetParms(char __far *pszCmdLine);
83
84extern int fMicMute;
85extern int fLineMute;
86extern int fCDMute;
87extern int fAuxMute;
88
89#ifdef __cplusplus
90}
91#endif
92
93#endif
Note: See TracBrowser for help on using the repository browser.