2
0
Эх сурвалжийг харах

Merge branch 'dragonos-relibc' into update-dsc

GnoCiYeH 1 жил өмнө
parent
commit
931a8760c4

+ 7 - 2
src/header/signal/dragonos.rs

@@ -7,8 +7,13 @@ global_asm!(
     "
     "
     .global __restore_rt
     .global __restore_rt
     __restore_rt:
     __restore_rt:
-        mov rax, 25
-        int 0x80
+        push   rbp      
+        mov    rbp,rsp
+        mov    eax, 25
+        int    0x80
+        nop
+        pop    rbp
+        ret  
 "
 "
 );
 );