aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/cloudabi/cloudabi_vdso_x86_64.S
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/cloudabi/cloudabi_vdso_x86_64.S')
-rw-r--r--sys/contrib/cloudabi/cloudabi_vdso_x86_64.S30
1 files changed, 6 insertions, 24 deletions
diff --git a/sys/contrib/cloudabi/cloudabi_vdso_x86_64.S b/sys/contrib/cloudabi/cloudabi_vdso_x86_64.S
index 18e89ed55488..217bd1cbea0a 100644
--- a/sys/contrib/cloudabi/cloudabi_vdso_x86_64.S
+++ b/sys/contrib/cloudabi/cloudabi_vdso_x86_64.S
@@ -419,45 +419,27 @@ ENTRY(cloudabi_sys_random_get)
ret
END(cloudabi_sys_random_get)
-ENTRY(cloudabi_sys_sock_accept)
- push %rdx
- mov $44, %eax
- syscall
- pop %rcx
- jc 1f
- mov %eax, (%rcx)
- xor %eax, %eax
-1:
- ret
-END(cloudabi_sys_sock_accept)
-
ENTRY(cloudabi_sys_sock_recv)
- mov $45, %eax
+ mov $44, %eax
syscall
ret
END(cloudabi_sys_sock_recv)
ENTRY(cloudabi_sys_sock_send)
- mov $46, %eax
+ mov $45, %eax
syscall
ret
END(cloudabi_sys_sock_send)
ENTRY(cloudabi_sys_sock_shutdown)
- mov $47, %eax
+ mov $46, %eax
syscall
ret
END(cloudabi_sys_sock_shutdown)
-ENTRY(cloudabi_sys_sock_stat_get)
- mov $48, %eax
- syscall
- ret
-END(cloudabi_sys_sock_stat_get)
-
ENTRY(cloudabi_sys_thread_create)
push %rsi
- mov $49, %eax
+ mov $47, %eax
syscall
pop %rcx
jc 1f
@@ -468,12 +450,12 @@ ENTRY(cloudabi_sys_thread_create)
END(cloudabi_sys_thread_create)
ENTRY(cloudabi_sys_thread_exit)
- mov $50, %eax
+ mov $48, %eax
syscall
END(cloudabi_sys_thread_exit)
ENTRY(cloudabi_sys_thread_yield)
- mov $51, %eax
+ mov $49, %eax
syscall
ret
END(cloudabi_sys_thread_yield)