forked from syswonder/ruxos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
thesayol
committed
May 7, 2024
1 parent
34d4927
commit 46d971e
Showing
28 changed files
with
974 additions
and
39 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ruxgo_bld | ||
compile_commands.json | ||
.cache | ||
/rootfs/bin/* | ||
/rootfs/lib/* | ||
/rootfs/dev | ||
/rootfs/etc | ||
/rootfs/proc | ||
/rootfs/sys | ||
/rootfs/tmp |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
app-objs=main.o | ||
|
||
ARGS = /bin/busybox,sh | ||
ENVS = | ||
V9P_PATH=${APP}/rootfs | ||
# make run ARCH=aarch64 A=apps/c/busybox V9P=y MUSL=y LOG=debug |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[build] | ||
compiler = "gcc" | ||
app = "./busybox" | ||
|
||
[os] | ||
name = "ruxos" | ||
services = [ | ||
"alloc", | ||
"paging", | ||
"musl", | ||
"multitask", | ||
"fs", | ||
"pipe", | ||
"poll", | ||
"rtc", | ||
"virtio-9p", | ||
"irq", | ||
"signal", | ||
] | ||
ulib = "ruxmusl" | ||
develop = "y" | ||
|
||
[os.platform] | ||
name = "aarch64-qemu-virt" | ||
mode = "release" | ||
log = "debug" | ||
|
||
|
||
[os.platform.qemu] | ||
memory = "2g" | ||
v9p = "y" | ||
v9p_path = "./rootfs" | ||
args = "/bin/busybox,sh" | ||
qemu_log = "y" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
paging | ||
alloc | ||
irq | ||
musl | ||
multitask | ||
fs | ||
pipe | ||
poll | ||
rtc | ||
signal | ||
virtio-9p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include <stdio.h> | ||
#include <unistd.h> | ||
|
||
int main(int argc, char** argv, char**envp) { | ||
execv(argv[0], argv); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[package] | ||
name = "tty" | ||
version = "0.0.1" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
spinlock = { path = "../spinlock" } | ||
lazy_init = { path = "../lazy_init" } | ||
log = "0.4" |
Oops, something went wrong.