Commit a7a23b51 authored by Stefan Lankes's avatar Stefan Lankes
Browse files

minor optimization by avoiding register collisions

parent 0a9a855f
......@@ -60,8 +60,8 @@ pub extern "C" fn switch(old_stack: *mut usize, new_stack: usize) {
// set stack pointer in TSS \n\t\
call set_current_kernel_stack \n\t\
// restore context \n\t\
pop %r15\n\t\
wrfsbaseq %r15\n\t\
pop %rax\n\t\
wrfsbaseq %rax\n\t\
pop %r15\n\t\
pop %r14\n\t\
pop %r13\n\t\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment