Changes in kernel/generic/src/interrupt/interrupt.c [e4d96e9:908bb96] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/interrupt/interrupt.c
re4d96e9 r908bb96 54 54 #include <proc/thread.h> 55 55 #include <arch/cycle.h> 56 #include <arch/stack.h>57 56 #include <str.h> 58 57 #include <trace.h> … … 223 222 /* 224 223 * The istate structure should be right at the bottom of the kernel 225 * memorystack.224 * stack. 226 225 */ 227 return (istate_t *) &thread->kstack[MEM_STACK_SIZE - sizeof(istate_t)]; 226 return (istate_t *) ((uint8_t *) 227 thread->kstack + STACK_SIZE - sizeof(istate_t)); 228 228 } 229 229
Note:
See TracChangeset
for help on using the changeset viewer.