mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-15 09:03:59 +08:00
77ef50a522
This patch is the result of an automatic script that consolidates the format of all the headers in include/asm-x86/. The format: 1. No leading underscore. Names with leading underscores are reserved. 2. Pathname components are separated by two underscores. So we can distinguish between mm_types.h and mm/types.h. 3. Everything except letters and numbers are turned into single underscores. Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
30 lines
745 B
C
30 lines
745 B
C
#ifndef ASM_X86__MACH_ES7000__MACH_MPPARSE_H
|
|
#define ASM_X86__MACH_ES7000__MACH_MPPARSE_H
|
|
|
|
#include <linux/acpi.h>
|
|
|
|
extern int parse_unisys_oem (char *oemptr);
|
|
extern int find_unisys_acpi_oem_table(unsigned long *oem_addr);
|
|
extern void setup_unisys(void);
|
|
|
|
#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
|
|
|
|
#ifdef CONFIG_ACPI
|
|
|
|
static inline int es7000_check_dsdt(void)
|
|
{
|
|
struct acpi_table_header header;
|
|
|
|
if (ACPI_SUCCESS(acpi_get_table_header(ACPI_SIG_DSDT, 0, &header)) &&
|
|
!strncmp(header.oem_id, "UNISYS", 6))
|
|
return 1;
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
#endif /* ASM_X86__MACH_ES7000__MACH_MPPARSE_H */
|