From 573a8c6b490a080cf728cdcb11e5a14ddf50556d Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 22 Nov 2024 15:58:35 +0100 Subject: usr: Rename foo/bar to fizz/buzz MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When creating the user space binaries I forgot about their proper names, which is funny on its own. Anyways, let's get them the name they were intended. Signed-off-by: Miquel Sabaté Solà alksjdlkajd Signed-off-by: Miquel Sabaté Solà --- Makefile | 2 +- usr/src/bar.S | 13 ------------- usr/src/buzz.S | 13 +++++++++++++ usr/src/fizz.S | 13 +++++++++++++ usr/src/fizzbuzz.S | 13 +++++++++++++ usr/src/foo.S | 13 ------------- usr/src/foobar.S | 13 ------------- 7 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 usr/src/bar.S create mode 100644 usr/src/buzz.S create mode 100644 usr/src/fizz.S create mode 100644 usr/src/fizzbuzz.S delete mode 100644 usr/src/foo.S delete mode 100644 usr/src/foobar.S diff --git a/Makefile b/Makefile index 0d8bc44..a9c0223 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ SRC = $(filter-out kernel/fbos.ld.S, $(wildcard kernel/*.S kernel/*.c lib/*.c OBJ = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(SRC))) LINKER = kernel/fbos.ld KRNL = fbos -USR = usr/bin/foo usr/bin/bar usr/bin/foobar +USR = usr/bin/fizz usr/bin/buzz usr/bin/fizzbuzz INIT = usr/initramfs.cpio TESTS = test/test_dt test/test_initrd diff --git a/usr/src/bar.S b/usr/src/bar.S deleted file mode 100644 index ee86b3e..0000000 --- a/usr/src/bar.S +++ /dev/null @@ -1,13 +0,0 @@ -.global _start -.text - -_start: - li a7, 1 - la a0, bar - ecall -.Loop: - j .Loop - -.section .rodata -bar: - .string "bar\n" diff --git a/usr/src/buzz.S b/usr/src/buzz.S new file mode 100644 index 0000000..d5f83c5 --- /dev/null +++ b/usr/src/buzz.S @@ -0,0 +1,13 @@ +.global _start +.text + +_start: + li a7, 1 + la a0, buzz + ecall +.Loop: + j .Loop + +.section .rodata +buzz: + .string "buzz\n" diff --git a/usr/src/fizz.S b/usr/src/fizz.S new file mode 100644 index 0000000..a6e8de2 --- /dev/null +++ b/usr/src/fizz.S @@ -0,0 +1,13 @@ +.global _start +.text + +_start: + li a7, 1 + la a0, fizz + ecall +.Loop: + j .Loop + +.section .rodata +fizz: + .string "fizz\n" diff --git a/usr/src/fizzbuzz.S b/usr/src/fizzbuzz.S new file mode 100644 index 0000000..6974fbd --- /dev/null +++ b/usr/src/fizzbuzz.S @@ -0,0 +1,13 @@ +.global _start +.text + +_start: + li a7, 1 + la a0, fizzbuzz + ecall +.Loop: + j .Loop + +.section .rodata +fizzbuzz: + .string "fizzbuzz\n" diff --git a/usr/src/foo.S b/usr/src/foo.S deleted file mode 100644 index c26b550..0000000 --- a/usr/src/foo.S +++ /dev/null @@ -1,13 +0,0 @@ -.global _start -.text - -_start: - li a7, 1 - la a0, foo - ecall -.Loop: - j .Loop - -.section .rodata -foo: - .string "foo\n" diff --git a/usr/src/foobar.S b/usr/src/foobar.S deleted file mode 100644 index e3fecb8..0000000 --- a/usr/src/foobar.S +++ /dev/null @@ -1,13 +0,0 @@ -.global _start -.text - -_start: - li a7, 1 - la a0, foobar - ecall -.Loop: - j .Loop - -.section .rodata -foobar: - .string "foobar\n" -- cgit v1.2.3