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.

83 lines
2.0 KiB

  1. PAGE 58,132
  2. ;******************************************************************************
  3. TITLE ACPIMAIN.ASM - ACPI Table IOCTL DLVxD Driver
  4. ;******************************************************************************
  5. ;
  6. ; Title: ACPIMAIN.ASM - ACPI Table IOCTL DLVxD Driver
  7. ;
  8. ; Date: 10/08/97
  9. ;
  10. ; Author: Michael Tsang
  11. ;
  12. ;------------------------------------------------------------------------------
  13. ;
  14. ; Change log:
  15. ;
  16. ; DATE REV DESCRIPTION
  17. ; ----------- --- -----------------------------------------------------------
  18. ;
  19. ;==============================================================================
  20. ;
  21. ; DESCRIPTION:
  22. ;
  23. ;******************************************************************************
  24. .386p
  25. ;******************************************************************************
  26. ; I N C L U D E S
  27. ;******************************************************************************
  28. .XLIST
  29. INCLUDE vmm.inc
  30. INCLUDE acpitab.inc
  31. .LIST
  32. ;******************************************************************************
  33. ; V I R T U A L D E V I C E D E C L A R A T I O N
  34. ;******************************************************************************
  35. Declare_Virtual_Device ACPITAB, ACPITAB_MAJOR_VER, ACPITAB_MINOR_VER, \
  36. ACPITabControl, ACPITAB_DEVICE_ID, ACPITAB_INIT_ORDER
  37. VXD_LOCKED_CODE_SEG
  38. ;******************************************************************************
  39. ;
  40. ; ACPITabControl
  41. ;
  42. ; DESCRIPTION:
  43. ; Control procedure for device driver.
  44. ;
  45. ; ENTRY:
  46. ; EAX = Control call ID
  47. ;
  48. ; EXIT:
  49. ; If carry clear then
  50. ; Successful
  51. ; else
  52. ; Control call failed
  53. ;
  54. ; USES:
  55. ; EAX, EBX, ECX, EDX, ESI, EDI, Flags
  56. ;
  57. ;==============================================================================
  58. BeginProc ACPITabControl
  59. Control_Dispatch W32_DEVICEIOCONTROL, ACPITabIOCtrl, sCall, <esi>
  60. IFDEF DEBUG
  61. Control_Dispatch DEBUG_QUERY, ACPITabDebug, sCall
  62. ENDIF
  63. clc
  64. ret
  65. EndProc ACPITabControl
  66. VXD_LOCKED_CODE_ENDS
  67. END