From ea5ebe0809fb31b9f125ac0689f706cc5f3f078f Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 30 Apr 2023 17:06:02 +0300 Subject: rename to kmi --- include/apos/proc.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 include/apos/proc.h (limited to 'include/apos/proc.h') diff --git a/include/apos/proc.h b/include/apos/proc.h deleted file mode 100644 index cca7969..0000000 --- a/include/apos/proc.h +++ /dev/null @@ -1,37 +0,0 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ -/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ - -#ifndef APOS_PROC_H -#define APOS_PROC_H - -/** - * @file proc.h - * Process handling subsystem, should likely be merged into \ref - * include/apos/tcb.h. - */ - -#include -#include - -/** - * Set up binary. Currently only supports ELF, not sure if other formats should - * be supported. - * - * @param t Thread space to set up process in. - * @param bin Address of binary to load. - * @param interp Optional interpreter, mainly for PIE ELF binaries. - * @return \ref OK on success, \ref ERR_INVAL if loading binary failed. - * \todo Handle out of memory better? - */ -stat_t prepare_proc(struct tcb *t, vm_t bin, vm_t interp); - -/** - * Initialize process handling subsystem and setup \c init program. - * - * @param fdt Global FDT pointer. - * @return \ref ERR_OOMEM when out of memory, \ref ERR_INVAL if loading \c init - * failed, \ref OK otherwise. - */ -stat_t init_proc(void *fdt); - -#endif /* APOS_PROC_H */ -- cgit v1.3