Part 2 of Project Evil: Pretend to be Windows 2000 for buggy ASL that
always expects to be running on some MS OS. A survey of ASL shows that this is the 2nd most common expected OS value. (1st is Win98 and we don't emulate its buggy ACPI support.) Our ACPI support is similar to Win2k, also. Put this behavior under ACPICA_PEDANTIC so we can get back to our previous behavior for OSV testing.
This commit is contained in:
parent
1d8173495b
commit
02a9c630fe
@ -119,10 +119,17 @@
|
||||
|
||||
/*
|
||||
* Some systems' ASL may have problems because they look for names
|
||||
* of Microsoft operating systems. To override this, set hw.acpi.os_name
|
||||
* to the appropriate string.
|
||||
* of Microsoft operating systems. We default to "Microsoft Windows NT"
|
||||
* (aka NT5 or Windows 2000) because it is most similar to our
|
||||
* implementation and also most prevalent.
|
||||
*
|
||||
* To override this, set hw.acpi.os_name to the appropriate string.
|
||||
*/
|
||||
#ifndef ACPICA_PEDANTIC
|
||||
#define ACPI_OS_NAME "Microsoft Windows NT"
|
||||
#else
|
||||
#define ACPI_OS_NAME "FreeBSD"
|
||||
#endif
|
||||
|
||||
/* FreeBSD uses GCC */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user