Leaked source code of windows server 2003
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.

62 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1989, 1990, 1991, 1992, 1993 Microsoft Corporation
  3. Module Name:
  4. inpcfg.h
  5. Abstract:
  6. These are the machine-dependent configuration constants that are used in
  7. the Microsoft InPort mouse port driver.
  8. Revision History:
  9. --*/
  10. #ifndef _INPCFG_
  11. #define _INPCFG_
  12. //
  13. // Define the interrupt-related configuration constants.
  14. //
  15. #ifdef i386
  16. #define INPORT_INTERFACE_TYPE Isa
  17. #define INPORT_INTERRUPT_MODE Latched
  18. #define INPORT_INTERRUPT_SHARE FALSE
  19. #else
  20. #define INPORT_INTERFACE_TYPE Isa
  21. #define INPORT_INTERRUPT_MODE LevelSensitive
  22. #define INPORT_INTERRUPT_SHARE TRUE
  23. #endif
  24. #define INPORT_BUS_NUMBER 0
  25. #ifdef i386
  26. #define INPORT_FLOATING_SAVE FALSE
  27. #else
  28. #define INPORT_FLOATING_SAVE TRUE
  29. #endif
  30. #if defined(NEC_98)
  31. #define MOUSE_VECTOR 13
  32. #define MOUSE_IRQL MOUSE_VECTOR
  33. #define INPORT_PHYSICAL_BASE 0x7fd9
  34. #else // defined(NEC_98)
  35. #define MOUSE_VECTOR 9
  36. #define MOUSE_IRQL MOUSE_VECTOR
  37. #define INPORT_PHYSICAL_BASE 0x23C
  38. #endif // defined(NEC_98)
  39. #define INPORT_REGISTER_LENGTH 4
  40. #define INPORT_REGISTER_SHARE FALSE
  41. #define INPORT_PORT_TYPE CM_RESOURCE_PORT_IO
  42. //
  43. // Define the default number of entries in the input data queue.
  44. //
  45. #define DATA_QUEUE_SIZE 100
  46. #endif // _INPCFG_