From 943b8a3d7ab56a393fe2fe3060a584b35beba1eb Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Mon, 25 Nov 2024 14:53:28 +0900 Subject: Pass dataflow map shm to fork server --- include/sharedmem.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/sharedmem.h') diff --git a/include/sharedmem.h b/include/sharedmem.h index 036fa560..ea03205a 100644 --- a/include/sharedmem.h +++ b/include/sharedmem.h @@ -38,15 +38,19 @@ typedef struct sharedmem { /* ================ Proteas ================ */ int g_shm_fd; char g_shm_file_path[L_tmpnam]; + int dfg_g_shm_fd; + char dfg_g_shm_file_path[L_tmpnam]; int cmplog_g_shm_fd; char cmplog_g_shm_file_path[L_tmpnam]; /* ========================================= */ #else s32 shm_id; /* ID of the SHM region */ + s32 dfg_shm_id; /* ID of the DFG SHM region */ s32 cmplog_shm_id; #endif u8 *map; /* shared memory region */ + u32 *dfg_map; /* DFG shared memory region */ size_t map_size; /* actual allocated size */ -- cgit 1.4.1