]> git.proxmox.com Git - mirror_edk2.git/commit
UnitTestFrameworkPkg: Set host application stack size to 256KB
authorMichael D Kinney <michael.d.kinney@intel.com>
Sun, 31 May 2020 23:39:06 +0000 (16:39 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 15 Jul 2020 05:25:21 +0000 (05:25 +0000)
commitf08715947ad52ee4fd67358660860ea63a532e15
treea617fee9452d9b67e8303da84d444ff9cfb2b5c2
parent35f9d7c41b380d67953dabc5994a65e32baa7d39
UnitTestFrameworkPkg: Set host application stack size to 256KB

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2803

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 <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com>
UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc