Merge pull request #950 from Wer-Wolf/osi

Add support for Windows 11 22H2 _OSI string

GitOrigin-RevId: f835584eab9c65d13614a1a69db1c7b136d6c1c8
diff --git a/source/components/utilities/utosi.c b/source/components/utilities/utosi.c
index 21d2755..c9ce65e 100644
--- a/source/components/utilities/utosi.c
+++ b/source/components/utilities/utosi.c
@@ -118,6 +118,7 @@
     {"Windows 2019",        NULL, 0, ACPI_OSI_WIN_10_19H1},      /* Windows 10 version 1903 - Added 08/2019 */
     {"Windows 2020",        NULL, 0, ACPI_OSI_WIN_10_20H1},      /* Windows 10 version 2004 - Added 08/2021 */
     {"Windows 2021",        NULL, 0, ACPI_OSI_WIN_11},           /* Windows 11 - Added 01/2022 */
+    {"Windows 2022",        NULL, 0, ACPI_OSI_WIN_11_22H2},      /* Windows 11 version 22H2 - Added 04/2024 */
 
     /* Feature Group Strings */
 
diff --git a/source/include/actypes.h b/source/include/actypes.h
index ab5821f..351278d 100644
--- a/source/include/actypes.h
+++ b/source/include/actypes.h
@@ -1457,6 +1457,7 @@
 #define ACPI_OSI_WIN_10_19H1            0x14
 #define ACPI_OSI_WIN_10_20H1            0x15
 #define ACPI_OSI_WIN_11                 0x16
+#define ACPI_OSI_WIN_11_22H2            0x17
 
 
 /* Definitions of getopt */