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

Unified Diff: fusl/arch/powerpc/syscall_arch.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 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/arch/powerpc/reloc.h ('k') | fusl/arch/sh/atomic.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/arch/powerpc/syscall_arch.h
diff --git a/fusl/arch/powerpc/syscall_arch.h b/fusl/arch/powerpc/syscall_arch.h
new file mode 100644
index 0000000000000000000000000000000000000000..e7cb1a26d62505a7c27d3d0bab7bde3f986ea682
--- /dev/null
+++ b/fusl/arch/powerpc/syscall_arch.h
@@ -0,0 +1,7 @@
+#define __SYSCALL_LL_E(x) \
+((union { long long ll; long l[2]; }){ .ll = x }).l[0], \
+((union { long long ll; long l[2]; }){ .ll = x }).l[1]
+#define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
+
+#undef SYSCALL_NO_INLINE
+#define SYSCALL_NO_INLINE
« no previous file with comments | « fusl/arch/powerpc/reloc.h ('k') | fusl/arch/sh/atomic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698