mach_mpparse.h 745 B

1234567891011121314151617181920212223242526272829
  1. #ifndef ASM_X86__MACH_ES7000__MACH_MPPARSE_H
  2. #define ASM_X86__MACH_ES7000__MACH_MPPARSE_H
  3. #include <linux/acpi.h>
  4. extern int parse_unisys_oem (char *oemptr);
  5. extern int find_unisys_acpi_oem_table(unsigned long *oem_addr);
  6. extern void setup_unisys(void);
  7. #ifndef CONFIG_X86_GENERICARCH
  8. extern int acpi_madt_oem_check(char *oem_id, char *oem_table_id);
  9. extern int mps_oem_check(struct mp_config_table *mpc, char *oem,
  10. char *productid);
  11. #endif
  12. #ifdef CONFIG_ACPI
  13. static inline int es7000_check_dsdt(void)
  14. {
  15. struct acpi_table_header header;
  16. if (ACPI_SUCCESS(acpi_get_table_header(ACPI_SIG_DSDT, 0, &header)) &&
  17. !strncmp(header.oem_id, "UNISYS", 6))
  18. return 1;
  19. return 0;
  20. }
  21. #endif
  22. #endif /* ASM_X86__MACH_ES7000__MACH_MPPARSE_H */