Merge "adding OAI_TESTING flag in fapi_interface.h" into oai-integration
[o-du/l2.git] / src / mt / mt_ss.c
index cb1ad0b..da285d7 100644 (file)
@@ -181,6 +181,7 @@ struct sigcontext my_uc_mcontext = { 0 };
 #include <ucontext.h>
 #include <dlfcn.h>
 
+uint32_t gt[128];
 
 #define SIGSEGV_STACK_GENERIC
 #define REGFORMAT "%x\n"
@@ -306,8 +307,8 @@ void *pthreadCreateHdlr(void*  arg);
 Buffer *mtTskBuffer1;
 Buffer *mtTskBuffer2;
 
-pthread_t tmpRegTidMap[20];
-uint8_t stopBtInfo;
+extern pthread_t tmpRegTidMap[20];
+extern uint8_t stopBtInfo;
 S16 SGlobMemInfoShow(void);
 #endif /* SS_LOCKLESS_MEMORY */
 
@@ -922,9 +923,9 @@ static int SOpenWlsIntf()
 {
    uint8_t i;
    void *hdl = NULLP;
-#define WLS_DEVICE_NAME "wls0"
+#define WLS_DEVICE_NAME "wls"
 
-   char *my_argv[] = {"gnodeb", "-c3", "--proc-type=auto", "--file-prefix", "gnb0", "--iova-mode=pa"};
+   char *my_argv[] = {"gnodeb", "-c3", "--proc-type=auto", "--file-prefix", "wls", "--iova-mode=pa"};
    printf("\nCalling rte_eal_init: ");
    for (i = 0; i < RTE_DIM(my_argv); i++)
    {