Patrick Georgi submitted this change.
sb/intel/common/acpi: Add more Windows versions
For the up-to-date list of Windows versions follow this link:
https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-osi
Change-Id: I5ee724f0b03edbfff7dd5b2ae642020cbcbab6d2
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37943
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
---
M src/southbridge/intel/common/acpi/platform.asl
1 file changed, 32 insertions(+), 2 deletions(-)
diff --git a/src/southbridge/intel/common/acpi/platform.asl b/src/southbridge/intel/common/acpi/platform.asl
index 03cb625..057d5c2 100644
--- a/src/southbridge/intel/common/acpi/platform.asl
+++ b/src/southbridge/intel/common/acpi/platform.asl
@@ -61,10 +61,16 @@
* OSYS value | Operating System
* -----------+------------------
* 2000 | Windows 2000
- * 2001 | Windows XP(+SP1)
+ * 2001 | Windows XP
+ * 2001 | Windows XP SP1
+ * 2001 | Windows Server 2003
+ * 2001 | Windows Server 2003 SP1
* 2002 | Windows XP SP2
* 2006 | Windows Vista
- * ???? | Windows 7
+ * 2006 | Windows Vista SP1
+ * 2006 | Windows Server 2008
+ * 2009 | Windows 7
+ * 2012 | Windows 8
*/
/* Let's assume we're running at least Windows 2000 */
@@ -79,6 +85,14 @@
Store (2001, OSYS)
}
+ If (_OSI("Windows 2001.1")) {
+ Store (2001, OSYS)
+ }
+
+ If (_OSI("Windows 2001.1 SP1")) {
+ Store (2001, OSYS)
+ }
+
If (_OSI("Windows 2001 SP2")) {
Store (2002, OSYS)
}
@@ -86,5 +100,21 @@
If (_OSI("Windows 2006")) {
Store (2006, OSYS)
}
+
+ If (_OSI("Windows 2006 SP1")) {
+ Store (2006, OSYS)
+ }
+
+ If (_OSI("Windows 2006.1")) {
+ Store (2006, OSYS)
+ }
+
+ If (_OSI("Windows 2009")) {
+ Store (2009, OSYS)
+ }
+
+ If (_OSI("Windows 2012")) {
+ Store (2012, OSYS)
+ }
}
}
To view, visit change 37943. To unsubscribe, or for help writing mail filters, visit settings.