From f0935d3d20c2624b7c4b70a8e8ad891e516a0641 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 13 Nov 2022 17:40:44 +0200 Subject: give symbolic name to rpc stack ratio --- include/apos/conf.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/apos/conf.h b/include/apos/conf.h index 33fa8e5..ef6a641 100644 --- a/include/apos/conf.h +++ b/include/apos/conf.h @@ -43,4 +43,10 @@ extern size_t __call_stack_size; */ 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