1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00

Stack Overflow and Underflow detected !

This commit is contained in:
Adrien Bourmault 2019-05-22 14:18:03 +02:00
parent 3d21fff8d4
commit f0d6580ff5

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;
}