Skip to content
Commit b70d44c9 authored by Daniel Leung's avatar Daniel Leung Committed by Christopher Friedt
Browse files

tests: fatal/exception: pin stack before stack overflow test



For hardware stack overflow test, pin the whole stack if
demand paging is enabled and generic sections are not all present
at boot. The whole stack may not be in memory at the time of
test, which would result in double fault (exception being
handled + page fault). So make sure the stack is in physical
memory and mapped before doing any tests.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 41e97c63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment