Initial commit

This commit is contained in:
pjht 2024-03-19 09:32:13 -05:00
commit b922a53e86
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E
11 changed files with 62 additions and 0 deletions

18
.gitmodules vendored Normal file
View File

@ -0,0 +1,18 @@
[submodule "rom"]
path = rom
url = ./rom
[submodule "boot"]
path = boot
url = ./boot
[submodule "init"]
path = init
url = ./init
[submodule "initrd_maker"]
path = initrd_maker
url = ./initrd_maker
[submodule "kernel"]
path = kernel
url = ./kernel
[submodule "libstd"]
path = libstd
url = ./libstd

11
Tupfile Normal file
View File

@ -0,0 +1,11 @@
.gitignore
: foreach libstd/include/*.i |> cp %f %o |> sysroot/usr/include/%b <include>
: libstd/libstd.a |> cp %f %o |> sysroot/usr/lib/%b <libstd>
: init/init |> cp %f %o |> sysroot/usr/bin/%b
: kernel/kernel |> cp %f %o |> sysroot/boot/%b
: boot/boot.bin |> cp %f %o |> sysroot/usr/share/boot/%b
: sysroot/boot/kernel sysroot/usr/bin/init | initrd_maker/initrd_maker |> ^t^ initrd_maker/initrd_maker %f |> initrd
: initrd |> cp %f %o |> sysroot/boot/%b
: sysroot/usr/share/boot/boot.bin sysroot/boot/initrd |> cat %f > %o |> os.dsk

0
Tupfile.ini Normal file
View File

1
boot Submodule

@ -0,0 +1 @@
Subproject commit 86ff0449a6ea93ad1d1d3246a756f6c9c3a5f2ef

0
build/tup.config Normal file
View File

27
config.toml Normal file
View File

@ -0,0 +1,27 @@
symbol_tables = ["build/kernel/kernel", "build/init/init"]
[[cards]]
type = "rom"
image = "build/rom/rom.bin"
[[cards]]
type = "term"
[[cards]]
type = "ram"
size = 0x200_0000 # 32 MiB
[[cards]]
type = "ram"
size = 0x400_0000 # 64 MiB
[[cards]]
type = "ram"
size = 0x100_0000 # 16 MiB
[[cards]]
type = "storage"
image = "build/os.dsk"
[[cards]]
type = "mmu"

1
init Submodule

@ -0,0 +1 @@
Subproject commit 6819e313c8d799ab4f54feb2cbb6f3c1d91a07ea

1
initrd_maker Submodule

@ -0,0 +1 @@
Subproject commit d74e79de9538329eafee46e13175c01cc68bd73d

1
kernel Submodule

@ -0,0 +1 @@
Subproject commit 92e9bda9bde223fac326aea4d71daa194b14fbd4

1
libstd Submodule

@ -0,0 +1 @@
Subproject commit 4b4c46d7caf09208edf4d0117f5644a9e88cc23d

1
rom Submodule

@ -0,0 +1 @@
Subproject commit 74ba1c2e0f4d9d8093953cd202389099be748bae