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.

46 lines
960 B

  1. /*** acpitab.h - ACPI Table IOCTL DLVxD Public Definitions
  2. *
  3. * Author: Michael Tsang
  4. * Created 10/08/97
  5. *
  6. * MODIFICATION HISTORY
  7. */
  8. #ifndef _ACPITAB_H
  9. #define _ACPITAB_H
  10. /*** Constants
  11. */
  12. #define ACPITAB_VXD_NAME "\\\\.\\ACPITAB.VXD"
  13. #define SIG_RSDP 'PDSR'
  14. #define SIG_LOW_RSDP ' DSR'
  15. #define SIG_BOOT 'TOOB'
  16. //W32 Device IO Control Code
  17. #define ACPITAB_DIOC_GETVERSION 1
  18. #define ACPITAB_DIOC_GETTABINFO 2
  19. #define ACPITAB_DIOC_GETTABLE 3
  20. //Miscellaneous Constants
  21. #define ACPITAB_MAJOR_VER 0x01
  22. #define ACPITAB_MINOR_VER 0x01
  23. #define ACPITAB_DEVICE_ID UNDEFINED_DEVICE_ID
  24. #define ACPITAB_INIT_ORDER UNDEFINED_INIT_ORDER
  25. //Type definitions
  26. /*XLATOFF*/
  27. typedef struct _tabinfo
  28. {
  29. DWORD dwTabSig;
  30. DWORD dwPhyAddr;
  31. union
  32. {
  33. DESCRIPTION_HEADER dh;
  34. RSDP rsdp;
  35. FACS facs;
  36. };
  37. } TABINFO, *PTABINFO;
  38. /*XLATON*/
  39. #endif //ifndef _ACPITAB_H