summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2019-12-27 18:56:24 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-02-01 19:52:35 +0000
commitcc805d9dd64ca2d3c8de2b2de2ea7c53b387ff8f (patch)
tree8a1243596916f93d6c603760f2708a60aac3f225
parent0174ea78bf51fc5f7c6261449835bf621de448b2 (diff)
downloadcoreboot-cc805d9dd64ca2d3c8de2b2de2ea7c53b387ff8f.tar.xz
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>
-rw-r--r--src/southbridge/intel/common/acpi/platform.asl34
1 files changed, 32 insertions, 2 deletions
diff --git a/src/southbridge/intel/common/acpi/platform.asl b/src/southbridge/intel/common/acpi/platform.asl
index 03cb625ce6..057d5c28d8 100644
--- a/src/southbridge/intel/common/acpi/platform.asl
+++ b/src/southbridge/intel/common/acpi/platform.asl
@@ -61,10 +61,16 @@ Method(GOS, 0)
* 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 @@ Method(GOS, 0)
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 @@ Method(GOS, 0)
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)
+ }
}
}