Subversion Repositories HelenOS

Rev

Rev 2927 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2927 Rev 3149
Line 44... Line 44...
44
    t->arch.syscall_rsp[SYSCALL_USTACK_RSP] = 0;
44
    t->arch.syscall_rsp[SYSCALL_USTACK_RSP] = 0;
45
    /*
45
    /*
46
     * Kernel RSP can be precalculated at thread creation time.
46
     * Kernel RSP can be precalculated at thread creation time.
47
     */
47
     */
48
    t->arch.syscall_rsp[SYSCALL_KSTACK_RSP] =
48
    t->arch.syscall_rsp[SYSCALL_KSTACK_RSP] =
49
        (uintptr_t)&t->kstack[PAGE_SIZE - sizeof(uint64_t)];
49
        (uintptr_t) &t->kstack[PAGE_SIZE - sizeof(uint64_t)];
50
}
50
}
51
 
51
 
52
/** @}
52
/** @}
53
 */
53
 */