]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/netapi.git/blobdiff - ti/runtime/netapi/src/netapi_loc.h
This commit adds the following:
[keystone-rtos/netapi.git] / ti / runtime / netapi / src / netapi_loc.h
index 7f8577f19299883c9e4ceb6a23bd92858c336665..635d422cb4b6520ea91e576cbd08fc9392697cc3 100755 (executable)
@@ -7,6 +7,7 @@
 #define __NETAPI_LOC__H
 
 #include "ti/drv/nwal/nwal_util.h"
+#include "ti/runtime/netapi/pktio.h"
 #include "ti/drv/nwal/nwal.h"
 #include "ti/drv/nwal/nwal_util.h"
 
@@ -215,6 +216,14 @@ typedef struct NETAPI_HANDLE_Tag
     void*                       cookie;  /*set by calling thread */
 } NETAPI_HANDLE_T;
 
+typedef struct NETAPI_SHM_Tag
+{
+    NETAPI_GLOBAL_T     netapi_global;
+    hplib_spinLock_T    netapi_pktio_lock;
+    hplib_spinLock_T    netapi_netcp_cfg_lock;
+    hplib_spinLock_T    netapi_util_lock;
+} NETAPI_SHM_T;
+
 //internal initialization routines */
 int netapip_initQm(int max_descriptors);
 int netapip_initCppi(void);