Patrick Georgi submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved Paul Menzel: Looks good to me, but someone else must approve
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.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5ee724f0b03edbfff7dd5b2ae642020cbcbab6d2
Gerrit-Change-Number: 37943
Gerrit-PatchSet: 5
Gerrit-Owner: Peter Lemenkov <lemenkov@gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: Peter Lemenkov <lemenkov@gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Alexander Couzens <lynxis@fe80.eu>
Gerrit-CC: Angel Pons <th3fanbus@gmail.com>
Gerrit-MessageType: merged