summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHongmei Gou2016-11-22 14:00:54 -0600
committerHongmei Gou2016-11-22 14:16:37 -0600
commit09353ae3dab608d573ee05a826f9024e08ce739a (patch)
tree10458455738e37934ddc7cd70f75f2d004e5e756 /src
parent65a39b2dbf66ae74a3b03a3e2c789d94a6936ab4 (diff)
downloadpruss-lld-09353ae3dab608d573ee05a826f9024e08ce739a.tar.gz
pruss-lld-09353ae3dab608d573ee05a826f9024e08ce739a.tar.xz
pruss-lld-09353ae3dab608d573ee05a826f9024e08ce739a.zip
PRUSS driver: include OSAL header files
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Diffstat (limited to 'src')
-rw-r--r--src/pruicss_drv.c1
-rw-r--r--src/pruicss_intc.c7
2 files changed, 6 insertions, 2 deletions
diff --git a/src/pruicss_drv.c b/src/pruicss_drv.c
index 4c0710e..321f68e 100644
--- a/src/pruicss_drv.c
+++ b/src/pruicss_drv.c
@@ -48,6 +48,7 @@
48#include <ti/csl/src/ip/icss/V1/cslr_icss_cfg.h> 48#include <ti/csl/src/ip/icss/V1/cslr_icss_cfg.h>
49#include <ti/csl/hw_types.h> 49#include <ti/csl/hw_types.h>
50 50
51#include <ti/osal/SemaphoreP.h>
51 52
52//extern PRUICSS_Config pruss_config[]; 53//extern PRUICSS_Config pruss_config[];
53/*****************************************************************************/ 54/*****************************************************************************/
diff --git a/src/pruicss_intc.c b/src/pruicss_intc.c
index 3b7f077..1159570 100644
--- a/src/pruicss_intc.c
+++ b/src/pruicss_intc.c
@@ -49,6 +49,9 @@
49#include <ti/csl/src/ip/icss/V1/cslr_icss_intc.h> 49#include <ti/csl/src/ip/icss/V1/cslr_icss_intc.h>
50#include <ti/csl/hw_types.h> 50#include <ti/csl/hw_types.h>
51 51
52#include <ti/osal/SemaphoreP.h>
53#include <ti/osal/HwiP.h>
54
52/* ========================================================================== */ 55/* ========================================================================== */
53/* Macros & Typedefs */ 56/* Macros & Typedefs */
54/* ========================================================================== */ 57/* ========================================================================== */
@@ -321,7 +324,7 @@ int32_t PRUICSS_registerIrqHandler(PRUICSS_Handle handle,
321 * \return 0 in case of successful registration, -1 otherwise. \n 324 * \return 0 in case of successful registration, -1 otherwise. \n
322 */ 325 */
323 326
324 327#ifndef __LINUX_USER_SPACE
325int32_t PRUICSS_registerIrqHandler2(PRUICSS_Handle handle, 328int32_t PRUICSS_registerIrqHandler2(PRUICSS_Handle handle,
326 PRUICSS_IntrCfg* intrCfg) 329 PRUICSS_IntrCfg* intrCfg)
327 330
@@ -411,7 +414,7 @@ int32_t PRUICSS_registerIrqHandler2(PRUICSS_Handle handle,
411 } 414 }
412 return(ret_val); 415 return(ret_val);
413 } 416 }
414 417#endif
415 418
416/* -------------------------------------------------------------------------- */ 419/* -------------------------------------------------------------------------- */
417/* Internal Function Definitions */ 420/* Internal Function Definitions */