mpparse.h 701 字节
Newer Older
Y
Yinghai Lu 已提交
1 2
#ifndef __ASM_ES7000_MPPARSE_H
#define __ASM_ES7000_MPPARSE_H
L
Linus Torvalds 已提交
3

4 5 6 7
#include <linux/acpi.h>

extern int parse_unisys_oem (char *oemptr);
extern int find_unisys_acpi_oem_table(unsigned long *oem_addr);
8
extern void setup_unisys(void);
L
Linus Torvalds 已提交
9

V
Vivek Goyal 已提交
10 11 12 13 14 15
#ifndef CONFIG_X86_GENERICARCH
extern int acpi_madt_oem_check(char *oem_id, char *oem_table_id);
extern int mps_oem_check(struct mp_config_table *mpc, char *oem,
				char *productid);
#endif

16
#ifdef CONFIG_ACPI
17

18
static inline int es7000_check_dsdt(void)
19
{
20
	struct acpi_table_header header;
21 22 23

	if (ACPI_SUCCESS(acpi_get_table_header(ACPI_SIG_DSDT, 0, &header)) &&
	    !strncmp(header.oem_id, "UNISYS", 6))
24 25 26
		return 1;
	return 0;
}
27
#endif
L
Linus Torvalds 已提交
28

Y
Yinghai Lu 已提交
29
#endif /* __ASM_MACH_MPPARSE_H */