summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrasad Konnur2019-09-24 03:57:59 -0500
committerPrasad Konnur2019-09-25 04:10:41 -0500
commit8ed31c2d8188f2a7f117866e6778f6ebf48fdfea (patch)
tree630a9ee7de8157fbba8eaf75b4d180f47769e412 /src/tirtos/HwiP_tirtos.c
parentc9676c773ae6034a7a4af6caf451e58dfa2b442a (diff)
downloadosal-8ed31c2d8188f2a7f117866e6778f6ebf48fdfea.tar.gz
osal-8ed31c2d8188f2a7f117866e6778f6ebf48fdfea.tar.xz
osal-8ed31c2d8188f2a7f117866e6778f6ebf48fdfea.zip
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Diffstat (limited to 'src/tirtos/HwiP_tirtos.c')
-rwxr-xr-x[-rw-r--r--]src/tirtos/HwiP_tirtos.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tirtos/HwiP_tirtos.c b/src/tirtos/HwiP_tirtos.c
index 4faaa74..faa1fae 100644..100755
--- a/src/tirtos/HwiP_tirtos.c
+++ b/src/tirtos/HwiP_tirtos.c
@@ -122,7 +122,7 @@ void HwiP_clearInterrupt(int32_t interruptNum)
122HwiP_Handle HwiP_create(int32_t interruptNum, HwiP_Fxn hwiFxn, 122HwiP_Handle HwiP_create(int32_t interruptNum, HwiP_Fxn hwiFxn,
123 const HwiP_Params *params) 123 const HwiP_Params *params)
124{ 124{
125 HwiP_tiRtos *handle = NULL_PTR; 125 HwiP_tiRtos *handle = (HwiP_tiRtos *) NULL_PTR;
126 Hwi_Params hwiParams; 126 Hwi_Params hwiParams;
127 Error_Block eb; 127 Error_Block eb;
128 uint32_t i; 128 uint32_t i;
@@ -185,7 +185,7 @@ HwiP_Handle HwiP_create(int32_t interruptNum, HwiP_Fxn hwiFxn,
185 185
186 if (params == NULL_PTR) 186 if (params == NULL_PTR)
187 { 187 {
188 Hwi_construct(&handle->hwi, interruptNum, (Hwi_FuncPtr)hwiFxn, NULL_PTR, &eb); 188 Hwi_construct(&handle->hwi, interruptNum, (Hwi_FuncPtr)hwiFxn, (Hwi_Params *) NULL_PTR, &eb);
189 } 189 }
190 else 190 else
191 { 191 {
@@ -261,7 +261,7 @@ HwiP_Handle HwiP_create(int32_t interruptNum, HwiP_Fxn hwiFxn,
261 { 261 {
262 /* Free the allocated memory and return null */ 262 /* Free the allocated memory and return null */
263 handle->used = FALSE; 263 handle->used = FALSE;
264 handle = NULL_PTR; 264 handle = (HwiP_tiRtos *) NULL_PTR;
265 } 265 }
266 } 266 }
267 } 267 }
@@ -334,7 +334,7 @@ void HwiP_enableInterrupt(int32_t interruptNum)
334 */ 334 */
335void HwiP_Params_init(HwiP_Params *params) 335void HwiP_Params_init(HwiP_Params *params)
336{ 336{
337 params->name = NULL_PTR; 337 params->name = (char *) NULL_PTR;
338 params->arg = 0; 338 params->arg = 0;
339 params->priority = HWIP_USE_DEFAULT_PRIORITY; 339 params->priority = HWIP_USE_DEFAULT_PRIORITY;
340 params->evtId = 0; 340 params->evtId = 0;