From nobody Mon Feb 9 02:13:39 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+44174+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+44174+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1563836349; cv=none; d=zoho.com; s=zohoarc; b=Mgxnfni2omeDAkTvF19xxQpeElhqM2bwEaYGvh/n9qDMKVRAVvqyD8M79+teuY7tOu2pXsXXQZMvRzdd5ieFdBmjkFJASadfimdTZVYg1MKNmPplFDaICIFyo2Q6+Ct/7dInL5ckwyQuzGvwhojSWXfNeFAscwHwF7/VGMcRMUg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563836349; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=EAzDRr0ytKzmVL/E5w+UA4RPvWFfoqAy05pGivmtbU0=; b=XSa4b9W8ALUhjW76CC22HNcJDzpWk2v528gY6w/ps2XZh2WHhVtwNxioSml5v+fT5VZyOZBNsGQo5xY9e+hxifDRneebU03y2lCJbUsI0JbsdSzIb/hUmyCAeErk07R5QSKZTDzIK7hjM+fyGpQKv4R6fL6LECwCp02R1w7CNgs= 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+44174+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 156383634964539.18044845780469; Mon, 22 Jul 2019 15:59:09 -0700 (PDT) Return-Path: X-Received: from mga02.intel.com (mga02.intel.com []) by groups.io with SMTP; Mon, 22 Jul 2019 15:59:08 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jul 2019 15:59:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,296,1559545200"; d="scan'208";a="169386496" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.254.83.213]) by fmsmga008.fm.intel.com with ESMTP; 22 Jul 2019 15:59:06 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Zailiang Sun , Yi Qian , Gary Lin Subject: [edk2-devel] [edk2-platforms Patch V3 07/12] Vlv2Tbl2DevicePkg/EfiRegTableLib: Use S3_BOOT_SCRIPT_LIB_WIDTH Date: Mon, 22 Jul 2019 15:58:54 -0700 Message-Id: <20190722225859.24724-8-michael.d.kinney@intel.com> In-Reply-To: <20190722225859.24724-1-michael.d.kinney@intel.com> References: <20190722225859.24724-1-michael.d.kinney@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,michael.d.kinney@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1563836349; bh=T9EIjjgo71ZabzZhybT23Mc5u0jIhx0CYDwXu0l47sE=; h=Cc:Date:From:Reply-To:Subject:To; b=FhGteqL3Zs32z48yIPdHojR4yScM1NUD8QXxM8wCP6eiWNuPwF3Xx5fGx3Mbism1FUg pWuQQDBUhylSKeBd+MFZBvyVgp1BfJHbg8NIrk+OkJSWKfT8D6lVOgCCyshoa0cjzirQT XhH2hbHJcTLPhFF0qCc/uiuquSKLPJDLECo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Update calls to S3BootScriptxxx() services to use type S3_BOOT_SCRIPT_LIB_WIDTH instead of EFI_BOOT_SCRIPT_WIDTH. Fixes XCODE5 build failures. Cc: Zailiang Sun Cc: Yi Qian Cc: Gary Lin Signed-off-by: Michael D Kinney --- .../Library/EfiRegTableLib/EfiRegTableLib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Platform/Intel/Vlv2TbltDevicePkg/Library/EfiRegTableLib/EfiReg= TableLib.c b/Platform/Intel/Vlv2TbltDevicePkg/Library/EfiRegTableLib/EfiReg= TableLib.c index d698f3ada9..8b16585337 100644 --- a/Platform/Intel/Vlv2TbltDevicePkg/Library/EfiRegTableLib/EfiRegTableLi= b.c +++ b/Platform/Intel/Vlv2TbltDevicePkg/Library/EfiRegTableLib/EfiRegTableLi= b.c @@ -55,7 +55,7 @@ PciWrite ( =20 if (OPCODE_FLAGS (Entry->OpCode) & OPCODE_FLAG_S3SAVE) { Status =3D S3BootScriptSavePciCfgWrite ( - (EFI_BOOT_SCRIPT_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode)), + (S3_BOOT_SCRIPT_LIB_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode= )), (UINT64) Entry->PciAddress, 1, &Entry->Data @@ -111,7 +111,7 @@ PciReadModifyWrite ( =20 if (OPCODE_FLAGS (Entry->OpCode) & OPCODE_FLAG_S3SAVE) { Status =3D S3BootScriptSavePciCfgReadWrite ( - (EFI_BOOT_SCRIPT_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode)), + (S3_BOOT_SCRIPT_LIB_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode= )), (UINT64) Entry->PciAddress, &Entry->OrMask, &Entry->AndMask @@ -167,7 +167,7 @@ MemReadModifyWrite ( =20 if (OPCODE_FLAGS (Entry->OpCode) & OPCODE_FLAG_S3SAVE) { Status =3D S3BootScriptSaveMemReadWrite ( - (EFI_BOOT_SCRIPT_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode)), + (S3_BOOT_SCRIPT_LIB_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode= )), Entry->MemAddress, &Entry->OrMask, &Entry->AndMask --=20 2.21.0.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 (#44174): https://edk2.groups.io/g/devel/message/44174 Mute This Topic: https://groups.io/mt/32564742/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-