Changeset 296426ad in mainline for kernel/arch/amd64/src/proc/thread.c


Ignore:
Timestamp:
2007-11-16T16:17:18Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9c2fb97
Parents:
e686744c
Message:

Support for 6 syscalls arguments on amd64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/proc/thread.c

    re686744c r296426ad  
    4242{
    4343        t->arch.tls = 0;
     44        t->arch.syscall_rsp[SYSCALL_USTACK_RSP] = 0;
     45        /*
     46         * Kernel RSP can be precalculated at thread creation time.
     47         */
     48        t->arch.syscall_rsp[SYSCALL_KSTACK_RSP] =
     49            (uintptr_t)&t->kstack[PAGE_SIZE - sizeof(uint64_t)];
    4450}
    4551
Note: See TracChangeset for help on using the changeset viewer.