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.

65 lines
1.7 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. acpibios.h
  5. Abstract:
  6. ACPI BIOS spec related definitions
  7. Author:
  8. Jake Oshins (jakeo) Feb 6, 1997
  9. Revision History:
  10. --*/
  11. //
  12. // Acpi BIOS Installation check
  13. //
  14. typedef struct _ACPI_BIOS_INSTALLATION_CHECK {
  15. UCHAR Signature[8]; // "RSD PTR" (ascii)
  16. UCHAR Checksum;
  17. UCHAR OemId[6]; // An OEM-supplied string
  18. UCHAR reserved; // must be 0
  19. ULONG RsdtAddress; // 32-bit physical address of RSDT
  20. } ACPI_BIOS_INSTALLATION_CHECK, far *FPACPI_BIOS_INSTALLATION_CHECK;
  21. typedef struct {
  22. PHYSICAL_ADDRESS Base;
  23. LARGE_INTEGER Length;
  24. ULONG Type;
  25. ULONG Reserved;
  26. } ACPI_E820_ENTRY, far *FPACPI_E820_ENTRY;
  27. typedef struct _ACPI_BIOS_MULTI_NODE {
  28. PHYSICAL_ADDRESS RsdtAddress; // 64-bit physical address of RSDT
  29. ULONG Count;
  30. ULONG Reserved; // don't use this. W2K depends on it being zero - oops
  31. ACPI_E820_ENTRY E820Entry[1];
  32. } ACPI_BIOS_MULTI_NODE, far *FPACPI_BIOS_MULTI_NODE;
  33. #define ACPI_BIOS_START 0xE0000
  34. #define ACPI_BIOS_END 0xFFFFF
  35. #define ACPI_BIOS_HEADER_INCREMENT 16
  36. typedef struct {
  37. USHORT Signature;
  38. USHORT CommandPortAddress;
  39. USHORT EventPortAddress;
  40. USHORT PollInterval;
  41. UCHAR CommandDataValue;
  42. UCHAR EventPortBitmask;
  43. UCHAR MaxLevelAc;
  44. UCHAR MaxLevelDc;
  45. } LEGACY_GEYSERVILLE_INT15, *PLEGACY_GEYSERVILLE_INT15;