From b861de29176891657cc96631ddbfb4ea9e114a42 Mon Sep 17 00:00:00 2001 From: Fu Juntang <StrongTiger_001@163.com> Date: 星期一, 30 八月 2021 17:52:23 +0800 Subject: [PATCH] re-structure the communication work flow. --- src/bus_def.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/bus_def.h b/src/bus_def.h index 78a7eb9..9634883 100644 --- a/src/bus_def.h +++ b/src/bus_def.h @@ -4,4 +4,11 @@ #define BUS_TIMEOUT_FLAG 1 #define BUS_NOWAIT_FLAG 1 << 1 +#define SHM_RES_SIZE 512 + +#define SHM_BUS_PROC_MAP_KEY 10 +#define SHM_BUS_PROC_TCS_MAP_KEY 11 +#define SHM_BUS_TCS_MAP_KEY 20 +#define SHM_BUS_PROC_PART_MAP_KEY 30 + #endif \ No newline at end of file -- Gitblit v1.8.0