[142] | 1 | /* $Id: parse.h 191 2001-09-28 12:10:07Z sandervl $ */
|
---|
| 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
|
---|
| 28 | extern "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.
|
---|
| 38 | extern USHORT ausCL_BaseIO[]; // parse.c
|
---|
| 39 |
|
---|
| 40 | // The IRQ levels specified on the command line
|
---|
| 41 | extern USHORT ausCL_IRQ[]; // parse.c
|
---|
| 42 |
|
---|
| 43 | // The DMA Channels specified on the command line
|
---|
| 44 | extern USHORT ausCL_DMA[]; // parse.c
|
---|
| 45 |
|
---|
| 46 | // The device header name specified on the command line
|
---|
| 47 | extern char szCL_DevName[]; // parse.c
|
---|
| 48 |
|
---|
| 49 | // The DSP Ucode file name specified on the command line
|
---|
| 50 | extern char szCL_DSPUcodeName[]; // parse.c
|
---|
| 51 |
|
---|
| 52 | // The size of the heap, in bytes
|
---|
| 53 | extern USHORT usCL_HeapSize; // parse.c
|
---|
| 54 |
|
---|
| 55 | // TRUE if /P and /I parameters were specified on the command line
|
---|
| 56 | extern int fParamsSpecified;
|
---|
| 57 |
|
---|
| 58 | // True if the /V parameter was specified
|
---|
| 59 | extern int fVerbose;
|
---|
| 60 |
|
---|
| 61 | // True if the hardware initialization errors should be ignore (/O:QUIETINIT)
|
---|
| 62 | extern int fQuietInit;
|
---|
| 63 |
|
---|
| 64 | // True if we should not use HW timers.
|
---|
| 65 | extern 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
|
---|
| 74 | extern int fLongNames;
|
---|
| 75 |
|
---|
| 76 | // True when /J was specified.
|
---|
| 77 | extern int fFMforMIDI;
|
---|
| 78 |
|
---|
| 79 | // True when /O:Int3BeforeInit was specified.
|
---|
| 80 | extern int fInt3BeforeInit;
|
---|
| 81 |
|
---|
| 82 | int GetParms(char __far *pszCmdLine);
|
---|
| 83 |
|
---|
| 84 | extern int fMicMute;
|
---|
| 85 | extern int fLineMute;
|
---|
| 86 | extern int fCDMute;
|
---|
[191] | 87 | extern int fAuxMute;
|
---|
[142] | 88 |
|
---|
| 89 | #ifdef __cplusplus
|
---|
| 90 | }
|
---|
| 91 | #endif
|
---|
| 92 |
|
---|
| 93 | #endif
|
---|