REF: Renamed kernel -> System; userspace -> Runtime; bootloader -> Boot
del: KSH
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
project(termOSinit LANGUAGES C)
|
||||
|
||||
file(GLOB_RECURSE INIT_SOURCES "src/*.c")
|
||||
|
||||
add_termos_executable(init "${INIT_SOURCES}")
|
||||
@@ -0,0 +1,13 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// Copyright (c) 2026 0xKarinyash
|
||||
|
||||
#include <termOS.h>
|
||||
|
||||
// TODO: read .cfg and spawn what stated there
|
||||
int main() {
|
||||
while (1) {
|
||||
Int32 pid = ProcessSpawn("/System/CoreServices/termosh");
|
||||
if (pid < 0) return pid;
|
||||
ProcessWait(pid);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user