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


Ignore:
Timestamp:
2010-07-14T12:15:10Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c8cd9a8
Parents:
0d1e976
Message:

Rewrite syscall_entry() to use the istate structure and save all GPRs in it.

File:
1 edited

Legend:

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

    r0d1e976 ra7220de  
    3434
    3535#include <proc/thread.h>
     36#include <arch/interrupt.h>
    3637
    3738/** Perform amd64 specific thread initialization.
     
    4950         */
    5051        thread->arch.syscall_rsp[SYSCALL_KSTACK_RSP] =
    51             (uintptr_t) &thread->kstack[PAGE_SIZE - sizeof(uint64_t)];
     52            (uintptr_t) &thread->kstack[PAGE_SIZE - sizeof(istate_t)];
    5253}
    5354
Note: See TracChangeset for help on using the changeset viewer.