diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-04-30 17:06:02 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-04-30 17:06:02 +0300 |
| commit | ea5ebe0809fb31b9f125ac0689f706cc5f3f078f (patch) | |
| tree | 17081bd689709a9bfe48467c458425dea876bddd /include/apos/conf.h | |
| parent | 8a5e4cf53d981e793fca90d9b51bd395265cf4db (diff) | |
| download | kmi-ea5ebe0809fb31b9f125ac0689f706cc5f3f078f.tar.gz kmi-ea5ebe0809fb31b9f125ac0689f706cc5f3f078f.zip | |
rename to kmi
Diffstat (limited to 'include/apos/conf.h')
| -rw-r--r-- | include/apos/conf.h | 52 |
1 files changed, 0 insertions, 52 deletions
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 <apos/types.h> - -/** - * 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 */ |
