|
|
1.1 ! root 1: /*++ ! 2: ! 3: Copyright (c) 1989, 1990, 1991, 1992, 1993 Microsoft Corporation ! 4: ! 5: Module Name: ! 6: ! 7: i8042cfg.h ! 8: ! 9: Abstract: ! 10: ! 11: These are the machine-dependent configuration constants that are used in ! 12: the Intel 8042 port driver. ! 13: ! 14: Revision History: ! 15: ! 16: --*/ ! 17: ! 18: #ifndef _I8042CFG_ ! 19: #define _I8042CFG_ ! 20: ! 21: // ! 22: // Define the interrupt-related configuration constants. ! 23: // ! 24: ! 25: #define I8042_INTERFACE_TYPE Internal ! 26: #define I8042_INTERRUPT_MODE LevelSensitive ! 27: #define I8042_INTERRUPT_SHARE FALSE ! 28: #define I8042_FLOATING_SAVE FALSE ! 29: ! 30: // ! 31: // Define the default allowable retry and polling iterations. ! 32: // ! 33: ! 34: #define I8042_RESEND_DEFAULT 3 ! 35: #define I8042_POLLING_DEFAULT 1024 ! 36: #define I8042_POLLING_MAXIMUM 12000 ! 37: ! 38: // ! 39: // Define the keyboard-specific configuration parameters. ! 40: // ! 41: // N.B. These values are bogus, since we expect the ARC firmware ! 42: // to put the correct information into the hardware registry. ! 43: // ! 44: ! 45: #define KEYBOARD_VECTOR 0 ! 46: #define KEYBOARD_IRQL 0 ! 47: ! 48: // ! 49: // Define the mouse-specific configuration parameters. ! 50: // ! 51: // N.B. These values are bogus, since we expect the ARC firmware ! 52: // to put the correct information into the hardware registry. ! 53: // ! 54: ! 55: #define MOUSE_VECTOR 0 ! 56: #define MOUSE_IRQL 0 ! 57: ! 58: // ! 59: // Define the base port offsets for the i8042 controller command/status and ! 60: // data registers. ! 61: // ! 62: ! 63: #define I8042_PHYSICAL_BASE 0 // Bogus value ! 64: #define I8042_DATA_REGISTER_OFFSET 0 ! 65: #define I8042_COMMAND_REGISTER_OFFSET 1 ! 66: #define I8042_STATUS_REGISTER_OFFSET 1 ! 67: #define I8042_REGISTER_LENGTH 1 ! 68: #define I8042_REGISTER_SHARE FALSE ! 69: #define I8042_PORT_TYPE CM_RESOURCE_PORT_MEMORY ! 70: ! 71: #endif // _I8042CFG_
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.