mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 13:48:21 +00:00
build: use jinx in the build system
now uses jinx to build a cross toolchain, mlibc, bash and the kernel. also made scheduler temporarily run /usr/bin/bash instead of /sbin/init
This commit is contained in:
@@ -399,7 +399,7 @@ void sched_runinit(){
|
||||
stdoutfd->flags = stderrfd->flags = O_WRONLY + 1;
|
||||
|
||||
vnode_t* node;
|
||||
ret = vfs_open(&node, vfs_root(), "sbin/init");
|
||||
ret = vfs_open(&node, vfs_root(), "usr/bin/bash");
|
||||
|
||||
if(ret){
|
||||
printf("Open failed: %s\n", strerror(ret));
|
||||
@@ -421,7 +421,7 @@ void sched_runinit(){
|
||||
arch_regs_setupuser(thread->regs, entry, stack, true);
|
||||
|
||||
timer_add(&arch_getcls()->schedreq, THREAD_QUANTUM, true);
|
||||
|
||||
|
||||
switch_thread(thread);
|
||||
|
||||
__builtin_unreachable();
|
||||
|
||||
Reference in New Issue
Block a user