[coreboot-gerrit] Change in ...coreboot[master]: sb/intel/common/acpi/platform.asl: Update _OSI strings and OSYS values

HAOUAS Elyes (Code Review) gerrit at coreboot.org
Fri Dec 14 18:09:06 CET 2018


HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30221


Change subject: sb/intel/common/acpi/platform.asl: Update _OSI strings and OSYS values
......................................................................

sb/intel/common/acpi/platform.asl: Update _OSI strings and OSYS values

Values updated regarding Microsoft's document:
https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-osi

"Windows 2018" and "Windows 2018.2" added in acpica-unix-20181213

Change-Id: I5b0cb0a516df43f7b9d6dbac89b7f8f32723ac41
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/southbridge/intel/common/acpi/platform.asl
1 file changed, 91 insertions(+), 9 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/30221/1

diff --git a/src/southbridge/intel/common/acpi/platform.asl b/src/southbridge/intel/common/acpi/platform.asl
index ba8091d..f106e0f 100644
--- a/src/southbridge/intel/common/acpi/platform.asl
+++ b/src/southbridge/intel/common/acpi/platform.asl
@@ -64,7 +64,15 @@
 	 *       2001    | Windows XP(+SP1)
 	 *       2002    | Windows XP SP2
 	 *       2006    | Windows Vista
-	 *       ????    | Windows 7
+	 *       2009    | Windows 7
+	 *       2012    | Windows 8
+	 *       2013    | Windows 8.1
+	 *       2015    | Windows 10
+	 *       2016    | Windows 10, version 1607
+	 *       2017    | Windows 10, version 1703
+	 *       2017.2  | Windows 10, version 1709
+	 *       2018    | Windows 10, version 1803
+	 *       2018.2  | Windows 10, version 1809
 	 */
 
 	/* Let's assume we're running at least Windows 2000 */
@@ -81,20 +89,94 @@
 			Store (1, LINX)
 		}
 
-		If (_OSI("Windows 2001")) {
-			Store (2001, OSYS)
+		If (_OSI ("Windows 2000"))
+		{
+			Store (0x07D0, OSYS)
 		}
 
-		If (_OSI("Windows 2001 SP1")) {
-			Store (2001, OSYS)
+		If (_OSI ("Windows XP"))
+		{
+			Store (0x07D1, OSYS)
 		}
 
-		If (_OSI("Windows 2001 SP2")) {
-			Store (2002, OSYS)
+		If (_OSI ("Windows XP SP1"))
+		{
+			Store (0x07D1, OSYS)
 		}
 
-		If (_OSI("Windows 2006")) {
-			Store (2006, OSYS)
+		If (_OSI ("Windows Server 2003"))
+		{
+			Store (0x07D1, OSYS)
+		}
+
+		If (_OSI ("Windows XP SP2"))
+		{
+			Store (0x07D1, OSYS)
+		}
+
+		If (_OSI ("Windows Server 2003 SP1"))
+		{
+			Store (0x07D1, OSYS)
+		}
+
+		If (_OSI ("Windows Vista"))
+		{
+			Store (0x07D6, OSYS)
+		}
+
+		If (_OSI ("Windows Vista SP1"))
+		{
+			Store (0x07D6, OSYS)
+		}
+
+		If (_OSI ("Windows Server 2008"))
+		{
+			Store (0x07D6, OSYS)
+		}
+
+		If (_OSI ("Windows 7, Win Server 2008 R2"))
+		{
+			Store (0x07D9, OSYS)
+		}
+
+		If (_OSI ("Windows 8, Win Server 2012"))
+		{
+			Store (0x07DC, OSYS)
+		}
+
+		If (_OSI ("Windows 8.1"))
+		{
+			Store (0x07DD, OSYS)
+		}
+
+		If (_OSI ("Windows 10"))
+		{
+			Store (0x07DF, OSYS)
+		}
+
+		If (_OSI ("Windows 10, version 1607"))
+		{
+			Store (0x07E0, OSYS)
+		}
+
+		If (_OSI ("Windows 10, version 1703"))
+		{
+			Store (0x07E1, OSYS)
+		}
+
+		If (_OSI ("Windows 10, version 1709"))
+		{
+			Store (0x07E1, OSYS)
+		}
+
+		If (_OSI ("Windows 10, version 1803"))
+		{
+			Store (0x07E2, OSYS)
+		}
+
+		If (_OSI ("Windows 10, version 1809"))
+		{
+			Store (0x07E2, OSYS)
 		}
 	}
 }

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/30221
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5b0cb0a516df43f7b9d6dbac89b7f8f32723ac41
Gerrit-Change-Number: 30221
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas at noos.fr>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181214/0cb7a552/attachment.html>


More information about the coreboot-gerrit mailing list