Stack Overflow and Underflow detected !
This commit is contained in:
parent
3d21fff8d4
commit
f0d6580ff5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue