|
|
1.1 root 1: /*++
2:
3: Copyright (c) 1989, 1990, 1991, 1992, 1993 Microsoft Corporation
4:
5: Module Name:
6:
7: sermcfg.h
8:
9: Abstract:
10:
11: These are the machine-dependent configuration constants that are used in
12: the i8250 serial mouse port driver.
13:
14: Revision History:
15:
16: --*/
17:
18: #ifndef _SERMCFG_
19: #define _SERMCFG_
20:
21: //
22: // Define the interrupt-related configuration constants.
23: //
24:
25: #define SERIAL_MOUSE_INTERFACE_TYPE Internal
26: #define SERIAL_MOUSE_INTERRUPT_MODE LevelSensitive
27: #define SERIAL_MOUSE_INTERRUPT_SHARE FALSE
28: #define SERIAL_MOUSE_FLOATING_SAVE FALSE
29: #define SERIAL_MOUSE_BUS_NUMBER 0
30:
31: #define MOUSE_COM1_VECTOR 0 // Bogus value
32: #define MOUSE_COM1_IRQL 0 // Bogus value
33: #define SERIAL_MOUSE_COM1_PHYSICAL_BASE 0 // Bogus value
34:
35: #define MOUSE_COM2_VECTOR 0 // Bogus value
36: #define MOUSE_COM2_IRQL 0 // Bogus value
37: #define SERIAL_MOUSE_COM2_PHYSICAL_BASE 0 // Bogus value
38:
39: #define MOUSE_VECTOR MOUSE_COM1_VECTOR
40: #define MOUSE_IRQL MOUSE_COM1_IRQL
41: #define SERIAL_MOUSE_PHYSICAL_BASE SERIAL_MOUSE_COM1_PHYSICAL_BASE
42: #define SERIAL_MOUSE_REGISTER_LENGTH 8
43: #define SERIAL_MOUSE_REGISTER_SHARE FALSE
44: #define SERIAL_MOUSE_PORT_TYPE CM_RESOURCE_PORT_MEMORY
45:
46: //
47: // Define the default clock rate to be 8.0064 MHz.
48: //
49:
50: #define MOUSE_BAUD_CLOCK 8006400UL
51:
52: //
53: // Define the default number of entries in the input data queue.
54: //
55:
56: #define DATA_QUEUE_SIZE 100
57:
58: //
59: // The default overrideHardware flag (disabled)
60: //
61:
62: #define DEFAULT_OVERRIDE_HARDWARE -1
63:
64: #endif // _SERMCFG_
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.