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.

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef _GPXE_ACPI_H
  2. #define _GPXE_ACPI_H
  3. /** @file
  4. *
  5. * ACPI data structures
  6. *
  7. */
  8. #include <stdint.h>
  9. /**
  10. * An ACPI description header
  11. *
  12. * This is the structure common to the start of all ACPI system
  13. * description tables.
  14. */
  15. struct acpi_description_header {
  16. /** ACPI signature (4 ASCII characters) */
  17. char signature[4];
  18. /** Length of table, in bytes, including header */
  19. uint32_t length;
  20. /** ACPI Specification minor version number */
  21. uint8_t revision;
  22. /** To make sum of entire table == 0 */
  23. uint8_t checksum;
  24. /** OEM identification */
  25. char oem_id[6];
  26. /** OEM table identification */
  27. char oem_table_id[8];
  28. /** OEM revision number */
  29. uint32_t oem_revision;
  30. /** ASL compiler vendor ID */
  31. char asl_compiler_id[4];
  32. /** ASL compiler revision number */
  33. uint32_t asl_compiler_revision;
  34. } __attribute__ (( packed ));
  35. extern void acpi_fix_checksum ( struct acpi_description_header *acpi );
  36. #endif /* _GPXE_ACPI_H */