Stack overflow detection
Stack overflow detection

Use guard value to detect stack overflow

Signed-off-by: Vic Yang <victoryang@google.com>

BUG=chrome-os-partner:8069
TEST=Compile with detection enabled. Cause a task to overflow and see
device halted. Hook gdb and see it stopped at the assertion.

Change-Id: I3417cca8edf4e1291ccb7848bd564b631a9ce463

gelraen/cros-ec,md5555/ec,gelraen/cros-ec,fourier49/BIZ_EC,thehobn/ec,alterapraxisptyltd/chromium-ec,coreboot/chrome-ec,akappy7/ChromeOS_EC_LED_Diagnostics,md5555/ec,longsleep/ec,eatbyte/chromium-ec,alterapraxisptyltd/chromium-ec,coreboot/chrome-ec,mtk09422/chromiumos-platform-ec,coreboot/chrome-ec,fourier49/BZ_DEV_EC,akappy7/ChromeOS_EC_LED_Diagnostics,fourier49/BIZ_EC,alterapraxisptyltd/chromium-ec,mtk09422/chromiumos-platform-ec,fourier49/BZ_DEV_EC,akappy7/ChromeOS_EC_LED_Diagnostics,longsleep/ec,akappy7/ChromeOS_EC_LED_Diagnostics,md5555/ec,gelraen/cros-ec,mtk09422/chromiumos-platform-ec,mtk09422/chromiumos-platform-ec,fourier49/BIZ_EC,thehobn/ec,coreboot/chrome-ec,longsleep/ec,coreboot/chrome-ec,thehobn/ec,gelraen/cros-ec,eatbyte/chromium-ec,eatbyte/chromium-ec,alterapraxisptyltd/chromium-ec,akappy7/ChromeOS_EC_LED_Diagnostics,eatbyte/chromium-ec,md5555/ec,fourier49/BZ_DEV_EC,coreboot/chrome-ec,longsleep/ec,fourier49/BIZ_EC,fourier49/BZ_DEV_EC,thehobn/ec