Stack Overflow and Underflow detected !

This commit is contained in:
Adrien Bourmault 2019-05-22 14:18:03 +02:00
parent 3d21fff8d4
commit f0d6580ff5
1 changed files with 4 additions and 6 deletions

View File

@ -205,12 +205,10 @@ error_t CmdStackOverflow(int argc, char **argv, char *cmdline)
error_t CmdStackUnderflow(int argc, char **argv, char *cmdline)
{
KernLog("\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n"
"\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n"
"\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n"
"\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n"
"\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n"
);
for (int i = 0 ;; i++) {
asm volatile ("pop %rax\n");
}
return EOK;
}