Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Unified Diff: fusl/src/thread/i386/clone.s

Issue 1724903002: [fusl] Remove code for unsupported architectures (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/src/thread/i386/__unmapself.s ('k') | fusl/src/thread/i386/syscall_cp.s » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/thread/i386/clone.s
diff --git a/fusl/src/thread/i386/clone.s b/fusl/src/thread/i386/clone.s
deleted file mode 100644
index 52fe7efbd442ca561bc9ddac05216433c9665a45..0000000000000000000000000000000000000000
--- a/fusl/src/thread/i386/clone.s
+++ /dev/null
@@ -1,48 +0,0 @@
-.text
-.global __clone
-.type __clone,@function
-__clone:
- push %ebp
- mov %esp,%ebp
- push %ebx
- push %esi
- push %edi
-
- xor %eax,%eax
- push $0x51
- mov %gs,%ax
- push $0xfffff
- shr $3,%eax
- push 28(%ebp)
- push %eax
- mov $120,%al
-
- mov 12(%ebp),%ecx
- mov 16(%ebp),%ebx
- and $-16,%ecx
- sub $16,%ecx
- mov 20(%ebp),%edi
- mov %edi,(%ecx)
- mov 24(%ebp),%edx
- mov %esp,%esi
- mov 32(%ebp),%edi
- mov 8(%ebp),%ebp
- int $128
- test %eax,%eax
- jnz 1f
-
- mov %ebp,%eax
- xor %ebp,%ebp
- call *%eax
- mov %eax,%ebx
- xor %eax,%eax
- inc %eax
- int $128
- hlt
-
-1: add $16,%esp
- pop %edi
- pop %esi
- pop %ebx
- pop %ebp
- ret
« no previous file with comments | « fusl/src/thread/i386/__unmapself.s ('k') | fusl/src/thread/i386/syscall_cp.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698