summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/config/config.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-03 23:03:03 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-09 17:28:22 -0700
commit4efc7582a255439a574f577272d8be11f6491fe4 (patch)
tree325f1bad5a67d5731a35ac18867f854cfe9f4a41 /cmd/sbc_harness/config/config.h
parent5c373cfe544df4ddba44adf3f6b60399340e4bd5 (diff)
lib9p: Separate the srv config from the main config
Diffstat (limited to 'cmd/sbc_harness/config/config.h')
-rw-r--r--cmd/sbc_harness/config/config.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/cmd/sbc_harness/config/config.h b/cmd/sbc_harness/config/config.h
index 309fac1..3a777f5 100644
--- a/cmd/sbc_harness/config/config.h
+++ b/cmd/sbc_harness/config/config.h
@@ -56,9 +56,9 @@
* struct padding, (2) nul-terminator byes for strings.
*/
#define CONFIG_9P_MAX_HOSTMSG_SIZE CONFIG_9P_MAX_MSG_SIZE+16
-#define CONFIG_9P_MAX_FIDS 16
-#define CONFIG_9P_MAX_REQS 2
#define CONFIG_9P_MAX_ERR_SIZE 128 /* 128 is what Plan 9 4e uses */
+#define CONFIG_9P_SRV_MAX_FIDS 16
+#define CONFIG_9P_SRV_MAX_REQS 2
#define CONFIG_9P_ENABLE_9P2000 1 /* bool */
#define CONFIG_9P_ENABLE_9P2000_u 1 /* bool */
#define CONFIG_9P_ENABLE_9P2000_e 0 /* bool */
@@ -94,11 +94,11 @@
#define CONFIG_COROUTINE_GDB 1 /* bool */
#define _CONFIG_9P_NUM_SOCKS 7
-#define CONFIG_COROUTINE_NUM ( \
- 1 /* usb_common */ + \
- 1 /* usb_keyboard */ + \
- CONFIG_W5500_NUM /* irq handler */ + \
- _CONFIG_9P_NUM_SOCKS /* 9P accept()+read() */ + \
- (CONFIG_9P_MAX_REQS*_CONFIG_9P_NUM_SOCKS) /* 9P work+write() */ )
+#define CONFIG_COROUTINE_NUM ( \
+ 1 /* usb_common */ + \
+ 1 /* usb_keyboard */ + \
+ CONFIG_W5500_NUM /* irq handler */ + \
+ _CONFIG_9P_NUM_SOCKS /* 9P accept()+read() */ + \
+ (CONFIG_9P_SRV_MAX_REQS*_CONFIG_9P_NUM_SOCKS) /* 9P work+write() */ )
#endif /* _CONFIG_H_ */