stivale2_rt: Fix mov of the incorrect size
This commit is contained in:
parent
5106c6cde2
commit
f2fcc38af7
@ -27,7 +27,7 @@ stivale2_term_write_entry:
|
||||
push r15
|
||||
|
||||
mov [user_stack], rsp
|
||||
mov rsp, [stivale2_rt_stack]
|
||||
mov esp, [stivale2_rt_stack]
|
||||
|
||||
mov word [user_cs], cs
|
||||
mov word [user_ds], ds
|
||||
|
@ -34,7 +34,7 @@ stivale2_term_write_entry:
|
||||
add ebx, _GLOBAL_OFFSET_TABLE_ + $$ - .get_got wrt ..gotpc
|
||||
|
||||
mov [rbx + user_stack wrt ..gotoff], rsp
|
||||
mov rsp, [rbx + stivale2_rt_stack wrt ..gotoff]
|
||||
mov esp, [rbx + stivale2_rt_stack wrt ..gotoff]
|
||||
|
||||
mov word [rbx + user_cs wrt ..gotoff], cs
|
||||
mov word [rbx + user_ds wrt ..gotoff], ds
|
||||
|
Loading…
Reference in New Issue
Block a user