summaryrefslogtreecommitdiff
path: root/bin/sync
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sync')
-rw-r--r--bin/sync/Kbuild3
-rw-r--r--bin/sync/arch/Kbuild1
-rw-r--r--bin/sync/arch/x86_64/Kbuild1
-rw-r--r--bin/sync/arch/x86_64/sync.s5
-rwxr-xr-xbin/sync/syncbin0 -> 608 bytes
5 files changed, 10 insertions, 0 deletions
diff --git a/bin/sync/Kbuild b/bin/sync/Kbuild
new file mode 100644
index 00000000..14337916
--- /dev/null
+++ b/bin/sync/Kbuild
@@ -0,0 +1,3 @@
+bin-y := sync
+
+obj-y += arch/
diff --git a/bin/sync/arch/Kbuild b/bin/sync/arch/Kbuild
new file mode 100644
index 00000000..ad3a7486
--- /dev/null
+++ b/bin/sync/arch/Kbuild
@@ -0,0 +1 @@
+obj-y += $(ARCH)/
diff --git a/bin/sync/arch/x86_64/Kbuild b/bin/sync/arch/x86_64/Kbuild
new file mode 100644
index 00000000..7da95e2c
--- /dev/null
+++ b/bin/sync/arch/x86_64/Kbuild
@@ -0,0 +1 @@
+obj-y += sync.o
diff --git a/bin/sync/arch/x86_64/sync.s b/bin/sync/arch/x86_64/sync.s
new file mode 100644
index 00000000..f1fc7ffc
--- /dev/null
+++ b/bin/sync/arch/x86_64/sync.s
@@ -0,0 +1,5 @@
+.globl _start
+
+_start:
+ mov 162, %rax
+ syscall
diff --git a/bin/sync/sync b/bin/sync/sync
new file mode 100755
index 00000000..95965cdc
--- /dev/null
+++ b/bin/sync/sync
Binary files differ