From d79436a1170e4d5ffde77416313587f320c8e590 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 18 Nov 2024 15:56:37 +0100 Subject: usr: Bootstrap the initramfs for the kernel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduce a sample `foo` program which already calls the `write_and_block` system call which is yet to be implemented by this kernel. Moreover, the same CPIO format is used for the initramfs as with Linux, so we can pass it with QEMU without worries. Signed-off-by: Miquel Sabaté Solà --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 5833b55..8ce947f 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,9 @@ are unaware of each other and it's up to the kernel to schedule them by using the timer interrupts as given by openSBI (`fizz` on % 3 seconds, `buzz` on % 5 seconds, and `fizzbuzz` on % 15 seconds). -This kernel provides just one system call, `write`, which allows any program to -pass the string to be written into the serial port. +This kernel provides just one system call, `write_and_block`, which allows any +program to pass the string to be written into the serial port and wait for the +kernel to re-schedule it. ## Build -- cgit v1.2.3