diff --git a/.gitmodules b/.gitmodules index 98cc7b9..8fcf44a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "lib/libfx"] path = lib/libfx url = https://g.wash.red/wash/fx.git +[submodule "programs/bshell"] + path = programs/bshell + url = https://g.wash.red/wash/bshell.git diff --git a/lib/libc/core/assert/assert.c b/lib/libc/core/assert/assert.c index e71a78e..c9df919 100644 --- a/lib/libc/core/assert/assert.c +++ b/lib/libc/core/assert/assert.c @@ -1,3 +1,5 @@ +#include +#include #include extern void __libc_assert_failed( @@ -6,5 +8,6 @@ extern void __libc_assert_failed( const char *func, const char *cond) { + kern_logf("ASSERT: %s failed (%s in %s:%d)", cond, func, file, line); abort(); } diff --git a/programs/bshell b/programs/bshell new file mode 160000 index 0000000..1a311b3 --- /dev/null +++ b/programs/bshell @@ -0,0 +1 @@ +Subproject commit 1a311b3796dcc66cc9e0cf4a9837cab0513a27fe