Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1989, 1990, 1991, 1992, 1993 Microsoft Corporation
  3. Module Name:
  4. sermcfg.h
  5. Abstract:
  6. These are the machine-dependent configuration constants that are used in
  7. the i8250 serial mouse port driver.
  8. Revision History:
  9. --*/
  10. #ifndef _SERMCFG_
  11. #define _SERMCFG_
  12. //
  13. // Define the interrupt-related configuration constants.
  14. //
  15. #ifdef i386
  16. #define SERIAL_MOUSE_INTERFACE_TYPE Isa
  17. #define SERIAL_MOUSE_INTERRUPT_MODE Latched
  18. #define SERIAL_MOUSE_INTERRUPT_SHARE FALSE
  19. #else
  20. #define SERIAL_MOUSE_INTERFACE_TYPE Isa
  21. #define SERIAL_MOUSE_INTERRUPT_MODE LevelSensitive
  22. #define SERIAL_MOUSE_INTERRUPT_SHARE TRUE
  23. #endif
  24. #define SERIAL_MOUSE_BUS_NUMBER 0
  25. #ifdef i386
  26. #define SERIAL_MOUSE_FLOATING_SAVE FALSE
  27. #else
  28. #define SERIAL_MOUSE_FLOATING_SAVE TRUE
  29. #endif
  30. #define MOUSE_COM1_VECTOR 4
  31. #define MOUSE_COM1_IRQL MOUSE_COM1_VECTOR
  32. #define SERIAL_MOUSE_COM1_PHYSICAL_BASE 0x3F8
  33. #define MOUSE_COM2_VECTOR 3
  34. #define MOUSE_COM2_IRQL MOUSE_COM2_VECTOR
  35. #define SERIAL_MOUSE_COM2_PHYSICAL_BASE 0x2F8
  36. #define MOUSE_VECTOR MOUSE_COM1_VECTOR
  37. #define MOUSE_IRQL MOUSE_COM1_IRQL
  38. #define SERIAL_MOUSE_PHYSICAL_BASE SERIAL_MOUSE_COM1_PHYSICAL_BASE
  39. #define SERIAL_MOUSE_REGISTER_LENGTH 8
  40. #define SERIAL_MOUSE_REGISTER_SHARE FALSE
  41. #define SERIAL_MOUSE_PORT_TYPE CM_RESOURCE_PORT_IO
  42. //
  43. // Define the default clock rate to be 1.8432 MHz.
  44. //
  45. #define MOUSE_BAUD_CLOCK 1843200UL
  46. //
  47. // Define the default number of entries in the input data queue.
  48. //
  49. #define DATA_QUEUE_SIZE 100
  50. //
  51. // The default overrideHardware flag (disabled)
  52. //
  53. #define DEFAULT_OVERRIDE_HARDWARE -1
  54. #endif // _SERMCFG_