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.

77 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. interupt.h
  5. Abstract:
  6. This module contains the enumerated for the ACPI driver, NT version
  7. Author:
  8. Stephane Plante (splante)
  9. Environment:
  10. NT Kernel Model Driver only
  11. --*/
  12. #ifndef _INTERUPT_H_
  13. #define _INTERUPT_H_
  14. typedef struct {
  15. union {
  16. struct {
  17. UCHAR GpeRegister;
  18. UCHAR StsBit;
  19. UCHAR Lvl;
  20. } ;
  21. ULONG AsULONG;
  22. } ;
  23. } ASYNC_GPE_CONTEXT, *PASYNC_GPE_CONTEXT;
  24. extern BOOLEAN AcpiGpeDpcRunning;
  25. extern BOOLEAN AcpiGpeDpcScheduled;
  26. extern BOOLEAN AcpiGpeWorkDone;
  27. extern KTIMER AcpiGpeTimer;
  28. extern KDPC AcpiGpeDpc;
  29. VOID
  30. ACPIInterruptDispatchEvent(
  31. );
  32. VOID
  33. ACPIInterruptDispatchEventDpc(
  34. IN PKDPC Dpc,
  35. IN PVOID DpcContext,
  36. IN PVOID SystemArgument1,
  37. IN PVOID SystemArgument2
  38. );
  39. VOID
  40. EXPORT
  41. ACPIInterruptEventCompletion(
  42. IN PNSOBJ AcpiObject,
  43. IN NTSTATUS Status,
  44. IN POBJDATA Result,
  45. IN PVOID Context
  46. );
  47. BOOLEAN
  48. ACPIInterruptServiceRoutine(
  49. IN PKINTERRUPT Interrupt,
  50. IN PVOID Context
  51. );
  52. VOID
  53. ACPIInterruptServiceRoutineDPC(
  54. IN PKDPC Dpc,
  55. IN PVOID Context,
  56. IN PVOID Arg1,
  57. IN PVOID Arg2
  58. );
  59. #endif