Sfoglia il codice sorgente

Replace use of int 80h with syscall in __restore_rt

Jeremy Soller 4 anni fa
parent
commit
6b183aef26
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/header/signal/redox.rs

+ 1 - 1
src/header/signal/redox.rs

@@ -6,7 +6,7 @@ global_asm!(
     .global __restore_rt
     __restore_rt:
         mov $119, %rax
-        int $0x80
+        syscall
 "
 );
 // x8 is register, 119 is SIGRETURN