Windows NT 4.0 source code leak
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.

65 lines
3.4 KiB

5 years ago
  1. /****************************************************************************/
  2. /****************************************************************************/
  3. /* */
  4. /* THE DOS SYSTEM SPECIFIC MODULE (INTERRUPT) */
  5. /* ========================================== */
  6. /* */
  7. /* SYS_IRQ.H : Part of the FASTMAC TOOL-KIT (FTK) */
  8. /* */
  9. /* Copyright (c) Madge Networks Ltd. 1991-1994 */
  10. /* Developed by MF */
  11. /* CONFIDENTIAL */
  12. /* */
  13. /* */
  14. /****************************************************************************/
  15. /* */
  16. /* The purpose of the DOS system specific module is to provide those */
  17. /* services that are influenced by the operating system. This includes */
  18. /* IRQory allocation routines, interrupt and DMA channel enabling/disabling */
  19. /* routines, and routines for accessing IO ports. */
  20. /* */
  21. /* The SYS_IRQ.H file contains the exported function definitions for the */
  22. /* SYS_IRQ.ASM module. */
  23. /* */
  24. /****************************************************************************/
  25. /****************************************************************************/
  26. /* */
  27. /* VERSION_NUMBER of FTK to which this SYS_IRQ.H belongs : */
  28. /* */
  29. #define FTK_VERSION_NUMBER_SYS_IRQ_H 221
  30. /****************************************************************************/
  31. extern WBOOLEAN sys_enable_irq_channel(
  32. ADAPTER_HANDLE adapter_handle,
  33. WORD interrupt_number
  34. );
  35. extern void sys_disable_irq_channel(
  36. ADAPTER_HANDLE adapter_handle,
  37. WORD interrupt_number
  38. );
  39. extern void sys_clear_controller_interrupt(
  40. ADAPTER_HANDLE adapter_handle,
  41. WORD interrupt_number
  42. );
  43. extern WORD sys_atula_find_irq_channel(
  44. WORD io_on_off_location,
  45. BYTE irq_on_byte,
  46. BYTE irq_off_byte
  47. );
  48. /* */
  49. /* */
  50. /************** End of SYS_IRQ.H file ***************************************/
  51. /* */
  52. /* */