From nobody Tue Nov 26 02:22:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62285+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62285+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594267540; cv=none; d=zohomail.com; s=zohoarc; b=LmhRu8MWUvgTzpTs5+cEOwSiEtmd9ue+RyLQdFovtFelWDlx7Dnevb5IX1suFQX0fziKWEj7hXq+67zjAByRJE/7kmMKfAxCZ6KwX7+ZlsJP5Ji2LdX8hcsbTwRl6i3wTPlAP81K1+MotSg0oowhSuauhK2cgho/uD0Kal3Rzv0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594267540; 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=Twc272wuBCeFVb6nanzCshjPO6Uxuloe5tnbGvzfL3E=; b=UKJF7YCyJuvTuq+7H8k7HyKRUgQ6xXVg9Wz726O15YBzeGu2sOidHMgTEr13Z+NESJjiCZkNMIZx2hkuZdjnq6Trbc1MBoRUk0fUPX7Fiv3ZPymoIyygPnT0VSqP0ygolht9tDTIvO68HBJ4mub/0qS3E8rktMJESoBPAes+zKg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62285+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 1594267540856282.10120892221653; Wed, 8 Jul 2020 21:05:40 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id JcAwYY1788612xoHLZTiWsPf; Wed, 08 Jul 2020 21:05:40 -0700 X-Received: from mga07.intel.com (mga07.intel.com []) by mx.groups.io with SMTP id smtpd.web11.4378.1594267536731145998 for ; Wed, 08 Jul 2020 21:05:38 -0700 IronPort-SDR: 42yBtQMUn6vI7bVA3tRwfqNqrPapfFvYnwNd9/oHO05zyCrTt4tMPKOgq6G6K+N7zCfMUwxK1Z rIe4OKymU2tw== X-IronPort-AV: E=McAfee;i="6000,8403,9676"; a="212851096" X-IronPort-AV: E=Sophos;i="5.75,330,1589266800"; d="scan'208";a="212851096" 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 orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2020 21:05:37 -0700 IronPort-SDR: 465nazwQxpDtKufdvoGEExr1eD7D/H8nUaJrSofvaieH+uv8ah1/Nunr7otCynJS/PZVHfG+Nk Dud7spEy40zA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,330,1589266800"; d="scan'208";a="280163931" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.255.230.8]) by orsmga003.jf.intel.com with ESMTP; 08 Jul 2020 21:05:37 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Sean Brogan , Bret Barkelew , Jiewen Yao Subject: [edk2-devel] [Patch v2 08/16] UnitTestFrameworkPkg: Set host application stack size to 256KB Date: Wed, 8 Jul 2020 21:05:13 -0700 Message-Id: <20200709040521.3748-9-michael.d.kinney@intel.com> In-Reply-To: <20200709040521.3748-1-michael.d.kinney@intel.com> References: <20200709040521.3748-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 X-Gm-Message-State: 6DVSmOOZN8eGBTMxEFS7PL8nx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594267540; bh=nHRIkX3FS/8pbf3uEcTvGD6x5edgNicZuplHS1327KA=; h=Cc:Date:From:Reply-To:Subject:To; b=gU37PI3coSO6LZFIR+kVXMlrvgUkqjkJb5fb4lSy+LDUl/SJjx52UHgUMhEWS6TGdYh +N5GO/jLIs7m3rBF7TCRjQ6Ivsic+NdWXZPsEFdD2Bg7pNHqeabUOuvOPoaXdyhFeljKK zoIEqB0lCcnddqlKAYkKJAmodxlSXoG2604= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2803 The UEFI Specification defines the minimum stack size before ExitBootServices() to be 128KB. When running a host based unit test, there may be additional stack overhead from the host application environment and cmocka. Update the build flags to set the size of the stack to 256KB which is double the UEFI Specification requirement. Cc: Sean Brogan Cc: Bret Barkelew Cc: Jiewen Yao Signed-off-by: Michael D Kinney --- UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc b/UnitTe= stFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc index 5de3c45d5a..f82c391ef2 100644 --- a/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc +++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc @@ -29,7 +29,7 @@ [BuildOptions.common.EDKII.HOST_APPLICATION] # # MSFT # - MSFT:*_*_*_DLINK_FLAGS =3D=3D /out:"$(BIN_DIR)\$(BASE_NAME).e= xe" /pdb:"$(BIN_DIR)\$(BASE_NAME).pdb" /IGNORE:4001 /NOLOGO /SUBSYSTEM:CONS= OLE /DEBUG /NODEFAULTLIB:libcmt.lib libcmtd.lib + MSFT:*_*_*_DLINK_FLAGS =3D=3D /out:"$(BIN_DIR)\$(BASE_NAME).e= xe" /pdb:"$(BIN_DIR)\$(BASE_NAME).pdb" /IGNORE:4001 /NOLOGO /SUBSYSTEM:CONS= OLE /DEBUG /STACK:0x40000,0x40000 /NODEFAULTLIB:libcmt.lib libcmtd.lib MSFT:*_*_IA32_DLINK_FLAGS =3D /MACHINE:I386 MSFT:*_*_X64_DLINK_FLAGS =3D /MACHINE:AMD64 =20 --=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 (#62285): https://edk2.groups.io/g/devel/message/62285 Mute This Topic: https://groups.io/mt/75391615/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-