Skip to content
Snippets Groups Projects
Commit d2da3691 authored by Thierno souleymane Bah's avatar Thierno souleymane Bah
Browse files

fix(coredump issue fixed, =r missed)

parent 68c8cad3
No related branches found
No related tags found
No related merge requests found
......@@ -52,9 +52,9 @@ void switch_to_ctx(ctx_t *pctx)
}
current_ctx = pctx;
asm("movl %%esp, %0"
asm("movl %0, %%esp"
"\n\t"
"movl %%ebp, %1"
"movl %1, %%ebp"
:
: "r"(current_ctx->esp), "r"(current_ctx->ebp));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment