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.

53 lines
1.6 KiB

  1. //
  2. // MODULE : IRQ.H
  3. // PURPOSE : PIC code
  4. // AUTHOR : JBS Yadawa
  5. // CREATED : 7/20/96
  6. //
  7. //
  8. // Copyright (C) 1996 SGS-THOMSON Microelectronics
  9. //
  10. //
  11. // REVISION HISTORY :
  12. //
  13. // DATE :
  14. //
  15. // COMMENTS :
  16. //
  17. #ifndef __IRQ_H
  18. #define __IRQ_H
  19. //----------------------------------------------------------------------------
  20. // IRQ.H
  21. //----------------------------------------------------------------------------
  22. // Description : small description of the goal of the module
  23. //----------------------------------------------------------------------------
  24. // Copyright SGS Thomson Microelectronics ! Version alpha ! Jan 1st, 1995
  25. //----------------------------------------------------------------------------
  26. //----------------------------------------------------------------------------
  27. // Include files
  28. //----------------------------------------------------------------------------
  29. #include "stdefs.h"
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33. //----------------------------------------------------------------------------
  34. // Exported Types
  35. //----------------------------------------------------------------------------
  36. typedef void (interrupt * INTRFNPTR)(void);
  37. INTRFNPTR FARAPI HostSaveAndSetITVector(BYTE IRQ, INTRFNPTR ISR);
  38. void FARAPI HostRestoreITVector(BYTE IRQ, INTRFNPTR OldISR);
  39. void FARAPI HostAcknowledgeIT(BYTE IRQ);
  40. void FARAPI HostMaskIT(BYTE IRQ);
  41. void FARAPI HostUnmaskIT(BYTE IRQ);
  42. void FARAPI HostDisableIT(void);
  43. void FARAPI HostEnableIT(void);
  44. #ifdef __cplusplus
  45. }
  46. #endif
  47. //------------------------------- End of File --------------------------------
  48. #endif // #ifndef __IRQ_H
  49.