summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-28 23:23:49 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-28 23:23:49 -0600
commita5ff9ff765d3e14d01099fade6b94624bb8de22b (patch)
tree94b7dc9a194393e4ca0265d3e5ac56d3e9335a57 /cmd/sbc_harness
parentf410026b7bc96dbb42fec3839dc5d2e41b12f4a4 (diff)
it compiles!
Diffstat (limited to 'cmd/sbc_harness')
-rw-r--r--cmd/sbc_harness/config/config.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/cmd/sbc_harness/config/config.h b/cmd/sbc_harness/config/config.h
index 0f0385b..b12eb2c 100644
--- a/cmd/sbc_harness/config/config.h
+++ b/cmd/sbc_harness/config/config.h
@@ -17,7 +17,7 @@
#endif
#ifdef USE_CONFIG_COROUTINE
-# define CONFIG_COROUTINE_DEFAULT_STACK_SIZE (8*1024)
+# define CONFIG_COROUTINE_DEFAULT_STACK_SIZE (16*1024)
# define CONFIG_COROUTINE_MEASURE_STACK 1 /* bool */
# define CONFIG_COROUTINE_PROTECT_STACK 1 /* bool */
# define CONFIG_COROUTINE_DEBUG 0 /* bool */
@@ -47,8 +47,14 @@
* negotiated. In Plan 9 1e it was (8*1024)+128, and was bumped to
* (8*1024)+160 in 2e and 3e.
*/
-# define CONFIG_9P_MAX_MSG_SIZE ((8*1024)+24)
+# define CONFIG_9P_MAX_MSG_SIZE ((4*1024)+24)
# define CONFIG_9P_MAX_ERR_SIZE 128 /* 128 is what Plan 9 4e uses */
+ /**
+ * Maximum host-data-structure size. A message may be larger in
+ * unmarshaled-host-structures than marshaled-net-bytes due to (1)
+ * struct padding, (2) nul-terminator byes for strings.
+ */
+# define CONFIG_9P_MAX_HOSTMSG_SIZE CONFIG_9P_MAX_MSG_SIZE
#endif
#endif /* _CONFIG_H */