Skip to content
Snippets Groups Projects
Commit c2d18c92 authored by ja3-saxby's avatar ja3-saxby
Browse files

Fix invalid register name error

parent 1e84e57b
No related branches found
No related tags found
1 merge request!5Alex/6 implement populate stack process
......@@ -79,7 +79,7 @@ start_process (void *file_name_)
arguments on the stack in the form of a `struct intr_frame',
we just point the stack pointer (%initial_stack_pointer) to our stack frame
and jump to it. */
asm volatile ("movl %0, %%initial_stack_pointer; jmp intr_exit" : : "g" (&if_) : "memory");
asm volatile ("movl %0, %%esp; jmp intr_exit" : : "g" (&if_) : "memory");
NOT_REACHED ();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment