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/conf.h | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 include/apos/conf.h (limited to 'include/apos/conf.h') diff --git a/include/apos/conf.h b/include/apos/conf.h deleted file mode 100644 index ef6a641..0000000 --- a/include/apos/conf.h +++ /dev/null @@ -1,52 +0,0 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ -/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ - -#ifndef APOS_CONF_H -#define APOS_CONF_H - -/** - * @file conf.h - * Global configuration file, gives extern access to runtime configuration - * parameters when they're implemented. - */ - -#include - -/** - * Provides access to the runtime global parameter. - * \remark Note that runtime parameter passing is not yet implemented, and I might - * implement per-thread stack sizes as well. - * \global - * \todo This should probably be a function instead. - */ -extern size_t __thread_stack_size; - -/** - * Provides access to the runtime global parameter. - * Must be at most RPC_STACK_TOP - RPC_STACK_BASE. - * - * \see __thread_stack_size. - * \global - * \todo This should probably also be a function instead. - */ -extern size_t __call_stack_size; - -/** - * Provides access to the runtime global parameter. This sets the maximum size - * a single rpc stack instance can be. - * - * Must be at most a fourth of \ref __call_stack_size? - * (that way we can maybe pretty quickly check that we're running out of memory - * for stack stuff and can return an error about it) - * - * \global - */ -extern size_t __rpc_stack_size; - -/** - * Convenience macro for requirement of ratio between \ref __rpc_stack_size and - * \ref __call_stack_size. - */ -#define RPC_STACK_RATIO 4 - -#endif /* APOS_CONF_H */ -- cgit v1.3