FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/gpf/osl/os_isr.c @ 474:6e6d4c1ec733
os_isr.c: os_CreateOSISR(): missed the assignment to .stack
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 27 Jun 2014 01:20:23 +0000 |
parents | e63ab4a97e24 |
children |
comparison
equal
deleted
inserted
replaced
473:658b141a1600 | 474:6e6d4c1ec733 |
---|---|
126 priority, (VOID *)hisr_stack, stacksize) | 126 priority, (VOID *)hisr_stack, stacksize) |
127 != NU_SUCCESS) | 127 != NU_SUCCESS) |
128 goto error; | 128 goto error; |
129 strncpy(OSISRTable[handle].name, name, RESOURCE_NAMELEN); | 129 strncpy(OSISRTable[handle].name, name, RESOURCE_NAMELEN); |
130 OSISRTable[handle].name[RESOURCE_NAMELEN-1] = 0; | 130 OSISRTable[handle].name[RESOURCE_NAMELEN-1] = 0; |
131 OSISRTable[handle].stack = hisr_stack; | |
131 *hisr_handle = handle; | 132 *hisr_handle = handle; |
132 os_SetInterruptState(old_state, &state); | 133 os_SetInterruptState(old_state, &state); |
133 return(OS_OK); | 134 return(OS_OK); |
134 } | 135 } |
135 | 136 |