base: Set up a guard page for fiber stacks.
authorGabe Black <gabeblack@google.com>
Sat, 17 Nov 2018 01:07:42 +0000 (17:07 -0800)
committerGabe Black <gabeblack@google.com>
Sun, 18 Nov 2018 10:44:26 +0000 (10:44 +0000)
commit5bfde967dcbbfae884e343425da1fc069a9c4b86
tree74238175235f5286797fe41edff55666974dde6b
parent040fabe2bd1d3e34dc2855b2b443af503b967c6b
base: Set up a guard page for fiber stacks.

This will help detect stack overflow for fibers.

Change-Id: Iff2b102120ec351709e495291d6bead597f8d10c
Reviewed-on: https://gem5-review.googlesource.com/c/14395
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Gabe Black <gabeblack@google.com>
src/base/fiber.cc
src/base/fiber.hh