From cf102e5e0ce3dfcba0a2dbb6c3d16883e0525b41 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 11 Apr 2025 09:13:56 -0600 Subject: */config.h: Separate 9P_SRV from 9P --- cmd/sbc_harness/config/config.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'cmd/sbc_harness/config/config.h') diff --git a/cmd/sbc_harness/config/config.h b/cmd/sbc_harness/config/config.h index 5367dbe..c73c266 100644 --- a/cmd/sbc_harness/config/config.h +++ b/cmd/sbc_harness/config/config.h @@ -39,6 +39,16 @@ #define CONFIG_9P_MAX_ERR_SIZE 128 /* 128 is what Plan 9 4e uses */ +#define CONFIG_9P_ENABLE_9P2000 1 /* bool */ +#define CONFIG_9P_ENABLE_9P2000_u 1 /* bool */ +#define CONFIG_9P_ENABLE_9P2000_e 0 /* bool */ +#define CONFIG_9P_ENABLE_9P2000_L 0 /* bool */ +#define CONFIG_9P_ENABLE_9P2000_p9p 0 /* bool */ + +/* 9P_SRV *********************************************************************/ + +#define CONFIG_9P_SRV_MAX_MSG_SIZE ((4*1024)+24) + /** * This max-msg-size is sized so that a Twrite message can return * 8KiB of data. @@ -64,12 +74,6 @@ */ #define CONFIG_9P_SRV_MAX_HOSTMSG_SIZE CONFIG_9P_SRV_MAX_MSG_SIZE+16 -#define CONFIG_9P_ENABLE_9P2000 1 /* bool */ -#define CONFIG_9P_ENABLE_9P2000_u 1 /* bool */ -#define CONFIG_9P_ENABLE_9P2000_e 0 /* bool */ -#define CONFIG_9P_ENABLE_9P2000_L 0 /* bool */ -#define CONFIG_9P_ENABLE_9P2000_p9p 0 /* bool */ - /* DHCP ***********************************************************************/ #define CONFIG_DHCP_CAN_RECV_UNICAST_IP_WITHOUT_IP 0 /* bool */ -- cgit v1.2.3-2-g168b From f56ae03840bb264163c4035eb72fbac938847638 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Wed, 16 Apr 2025 05:21:31 -0600 Subject: lib9p_srv: Re-think Tflush semantics --- cmd/sbc_harness/config/config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/sbc_harness/config/config.h') diff --git a/cmd/sbc_harness/config/config.h b/cmd/sbc_harness/config/config.h index c73c266..ca23462 100644 --- a/cmd/sbc_harness/config/config.h +++ b/cmd/sbc_harness/config/config.h @@ -47,6 +47,8 @@ /* 9P_SRV *********************************************************************/ +#define CONFIG_9P_SRV_DEBUG 1 /* bool */ + #define CONFIG_9P_SRV_MAX_MSG_SIZE ((4*1024)+24) /** -- cgit v1.2.3-2-g168b