From nobody Mon Feb 9 16:32:51 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+49839+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+49839+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1572637879; cv=none; d=zoho.com; s=zohoarc; b=a6xc5XLvByZBRMmxkoy0hFrqytngIC9J9bjK/1mzbPPehTPVNB6cEkJiGLhg1llxyoe63FxOS0ySfCMGJldPjxaekJpvLhI0nyIIj4EwrZirMKDYFMJGGxTXqt09rFCfsjjc17rlusQMcLA2cJbUZF/HyDAaqYM+PN3uWQ6OpLw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1572637879; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=cTR1X22gaSIlwYcvXlw8DWbJ+DeXUyoqC2HxBnJtrOs=; b=X2qm2t1RrifgE3gdcKasMq8zVuqBCVNS+Fg2/ra8LgkJYsuFzrwPL33tmim4NU8D3Qqm7kfugOMAg1XrWIPcoT4FCW0QI4epEf7nxBEr7g6fZ/PYPgFebJ1sTqy3MQTh4xsQX3rXlGSxmndruu2jA1C/Q4YNhicnHNcMVhlgrCo= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+49839+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1572637879819954.6006172511303; Fri, 1 Nov 2019 12:51:19 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ZNaqYY1788612xQZKwZjWBgU; Fri, 01 Nov 2019 12:51:19 -0700 X-Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web09.350.1572637878422956207 for ; Fri, 01 Nov 2019 12:51:18 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Nov 2019 12:51:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,256,1569308400"; d="scan'208";a="203952097" X-Received: from paagyema-desk2.amr.corp.intel.com ([10.24.15.58]) by orsmga003.jf.intel.com with ESMTP; 01 Nov 2019 12:51:16 -0700 From: "Agyeman, Prince" To: devel@edk2.groups.io Cc: Michael Kubacki , Chasel Chiu , Nate DeSimone Subject: [edk2-devel] [edk2-platforms] [PATCH 2/5] Platform/Intel: Move Sio Dxe Driver Date: Fri, 1 Nov 2019 12:51:13 -0700 Message-Id: <20191101195116.23212-3-prince.agyeman@intel.com> In-Reply-To: <20191101195116.23212-1-prince.agyeman@intel.com> References: <20191101195116.23212-1-prince.agyeman@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,prince.agyeman@intel.com X-Gm-Message-State: lt7wLnWk1cqCC6t9wA51SXKBx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1572637879; bh=UI0hM+5MbQXILTUcAe/BXzIdK9A0IMspKmw9+QOc9g8=; h=Cc:Date:From:Reply-To:Subject:To; b=M/VcqnhN/qaFl54VfIMEhnRkXLujObRgAOe8DU3GZ/rqicZnin/v8f8Dz+eurEn5KUk Eine7aPgKh6MOzUz/tt3hqHta1w7izmh/8eVUUDRh2foptFk4Z/fslb5KMRnZa6GITAGr u8cFrq726wZH/ecYCY8XxZpNsbyNqsRV/TQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Moved LegacySioDxe from SimicsOpenBoardPkg to BoardModulePkg as LegacySioDxe is generic and can be shared between open board packages Removed unused libraries and functions in LegacySioDxe Pointed BoardX58Ich10 to the current LegacySioDxe location Cc: Michael Kubacki Cc: Chasel Chiu Cc: Nate DeSimone Signed-off-by: Prince Agyeman Reviewed-by: Nate DeSimone --- Platform/Intel/BoardModulePkg/BoardModulePkg.dsc | 1 + .../LegacySioDxe/ComponentName.c | 0 .../LegacySioDxe/ComponentName.h | 0 .../LegacySioDxe/LegacySioDxe.inf | 3 --- .../LegacySioDxe/Register.h | 0 .../LegacySioDxe/SioChip.c | 2 -- .../LegacySioDxe/SioChip.h | 10 ---------- .../LegacySioDxe/SioDriver.c | 0 .../LegacySioDxe/SioDriver.h | 1 - .../LegacySioDxe/SioService.c | 0 .../LegacySioDxe/SioService.h | 0 .../SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc | 2 +- .../SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.fdf | 2 +- 13 files changed, 3 insertions(+), 18 deletions(-) rename Platform/Intel/{SimicsOpenBoardPkg =3D> BoardModulePkg}/LegacySioDx= e/ComponentName.c (100%) rename Platform/Intel/{SimicsOpenBoardPkg =3D> BoardModulePkg}/LegacySioDx= e/ComponentName.h (100%) rename Platform/Intel/{SimicsOpenBoardPkg =3D> BoardModulePkg}/LegacySioDx= e/LegacySioDxe.inf (92%) rename Platform/Intel/{SimicsOpenBoardPkg =3D> BoardModulePkg}/LegacySioDx= e/Register.h (100%) rename Platform/Intel/{SimicsOpenBoardPkg =3D> BoardModulePkg}/LegacySioDx= e/SioChip.c (94%) rename Platform/Intel/{SimicsOpenBoardPkg =3D> BoardModulePkg}/LegacySioDx= e/SioChip.h (93%) rename Platform/Intel/{SimicsOpenBoardPkg =3D> BoardModulePkg}/LegacySioDx= e/SioDriver.c (100%) rename Platform/Intel/{SimicsOpenBoardPkg =3D> BoardModulePkg}/LegacySioDx= e/SioDriver.h (95%) rename Platform/Intel/{SimicsOpenBoardPkg =3D> BoardModulePkg}/LegacySioDx= e/SioService.c (100%) rename Platform/Intel/{SimicsOpenBoardPkg =3D> BoardModulePkg}/LegacySioDx= e/SioService.h (100%) diff --git a/Platform/Intel/BoardModulePkg/BoardModulePkg.dsc b/Platform/In= tel/BoardModulePkg/BoardModulePkg.dsc index 5ec68ceebf..fffc135d75 100644 --- a/Platform/Intel/BoardModulePkg/BoardModulePkg.dsc +++ b/Platform/Intel/BoardModulePkg/BoardModulePkg.dsc @@ -76,6 +76,7 @@ =20 [Components] BoardModulePkg/FirmwareBootMediaInfo/FirmwareBootMediaInfoPei.inf + BoardModulePkg/LegacySioDxe/LegacySioDxe.inf BoardModulePkg/Library/CmosAccessLib/CmosAccessLib.inf BoardModulePkg/Library/PlatformCmosAccessLibNull/PlatformCmosAccessLibNu= ll.inf =20 diff --git a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/ComponentName.c= b/Platform/Intel/BoardModulePkg/LegacySioDxe/ComponentName.c similarity index 100% rename from Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/ComponentName.c rename to Platform/Intel/BoardModulePkg/LegacySioDxe/ComponentName.c diff --git a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/ComponentName.h= b/Platform/Intel/BoardModulePkg/LegacySioDxe/ComponentName.h similarity index 100% rename from Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/ComponentName.h rename to Platform/Intel/BoardModulePkg/LegacySioDxe/ComponentName.h diff --git a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/LegacySioDxe.in= f b/Platform/Intel/BoardModulePkg/LegacySioDxe/LegacySioDxe.inf similarity index 92% rename from Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/LegacySioDxe.inf rename to Platform/Intel/BoardModulePkg/LegacySioDxe/LegacySioDxe.inf index 275f36ca47..d606ba43dc 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/LegacySioDxe.inf +++ b/Platform/Intel/BoardModulePkg/LegacySioDxe/LegacySioDxe.inf @@ -28,11 +28,8 @@ MemoryAllocationLib PcdLib DevicePathLib - IoLib UefiDriverEntryPoint UefiBootServicesTableLib - S3BootScriptLib - S3IoLib =20 [Packages] MdePkg/MdePkg.dec diff --git a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/Register.h b/Pl= atform/Intel/BoardModulePkg/LegacySioDxe/Register.h similarity index 100% rename from Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/Register.h rename to Platform/Intel/BoardModulePkg/LegacySioDxe/Register.h diff --git a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioChip.c b/Pla= tform/Intel/BoardModulePkg/LegacySioDxe/SioChip.c similarity index 94% rename from Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioChip.c rename to Platform/Intel/BoardModulePkg/LegacySioDxe/SioChip.c index b9a7b9cd24..81efe3c38b 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioChip.c +++ b/Platform/Intel/BoardModulePkg/LegacySioDxe/SioChip.c @@ -7,9 +7,7 @@ **/ =20 #include "SioDriver.h" -#include =20 -LOCAL_IO_WRITE8 mIoWrite8 =3D IoWrite8; // // System configuration (setup) information // diff --git a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioChip.h b/Pla= tform/Intel/BoardModulePkg/LegacySioDxe/SioChip.h similarity index 93% rename from Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioChip.h rename to Platform/Intel/BoardModulePkg/LegacySioDxe/SioChip.h index 48e28c44b0..9322365923 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioChip.h +++ b/Platform/Intel/BoardModulePkg/LegacySioDxe/SioChip.h @@ -46,16 +46,6 @@ typedef struct { ACPI_RESOURCE_HEADER_PTR PossibleResources; } DEVICE_INFO; =20 - -/** - Initialize the SIO chip for S3. -**/ -VOID -SioInitForS3 ( - VOID - ); - - /** Return the supported devices. =20 diff --git a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioDriver.c b/P= latform/Intel/BoardModulePkg/LegacySioDxe/SioDriver.c similarity index 100% rename from Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioDriver.c rename to Platform/Intel/BoardModulePkg/LegacySioDxe/SioDriver.c diff --git a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioDriver.h b/P= latform/Intel/BoardModulePkg/LegacySioDxe/SioDriver.h similarity index 95% rename from Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioDriver.h rename to Platform/Intel/BoardModulePkg/LegacySioDxe/SioDriver.h index 2e75871f7f..8817019fbf 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioDriver.h +++ b/Platform/Intel/BoardModulePkg/LegacySioDxe/SioDriver.h @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include diff --git a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioService.c b/= Platform/Intel/BoardModulePkg/LegacySioDxe/SioService.c similarity index 100% rename from Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioService.c rename to Platform/Intel/BoardModulePkg/LegacySioDxe/SioService.c diff --git a/Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioService.h b/= Platform/Intel/BoardModulePkg/LegacySioDxe/SioService.h similarity index 100% rename from Platform/Intel/SimicsOpenBoardPkg/LegacySioDxe/SioService.h rename to Platform/Intel/BoardModulePkg/LegacySioDxe/SioService.h diff --git a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.d= sc b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc index 78f1e80990..f91f71e246 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc +++ b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc @@ -280,7 +280,7 @@ ####################################### $(BOARD_PKG)/AcpiTables/AcpiTables.inf $(BOARD_PKG)/AcpiTables/MinPlatformAcpiTables/AcpiPlatform.inf - $(BOARD_PKG)/LegacySioDxe/LegacySioDxe.inf + BoardModulePkg/LegacySioDxe/LegacySioDxe.inf $(BOARD_PKG)/SimicsDxe/SimicsDxe.inf $(BOARD_PKG)/SimicsVideoDxe/SimicsVideoDxe.inf $(BOARD_PKG)/SmbiosPlatformDxe/SmbiosPlatformDxe.inf diff --git a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.f= df b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.fdf index 39226251a7..590e01a14e 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.fdf +++ b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.fdf @@ -213,7 +213,7 @@ INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf INF MinPlatformPkg/Flash/SpiFvbService/SpiFvbServiceSmm.inf INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf =20 -INF $(BOARD_PKG)/LegacySioDxe/LegacySioDxe.inf +INF BoardModulePkg/LegacySioDxe/LegacySioDxe.inf INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf =20 INF $(BOARD_PKG)/SmbiosPlatformDxe/SmbiosPlatformDxe.inf --=20 2.19.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#49839): https://edk2.groups.io/g/devel/message/49839 Mute This Topic: https://groups.io/mt/40479682/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-