main: check for stack overflow
We are always pretty near to the end of RAM, so now that we
have a reserved stack area, we can also check if it overlows.
When it happens, let's print a message forever, so a user who
comes and see what's up will see it eventually.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment