Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/amd64



Module Name:    src
Committed By:   dsl
Date:           Sat Jan  5 12:08:51 UTC 2008

Modified Files:
        src/sys/arch/amd64/amd64: linux_syscall.c syscall.c
        src/sys/arch/amd64/include: frame_regs.h reg.h

Log Message:
Reorder the amd64 trapframe (swap rcx/r10 and add 4 spare slots after r9).
This allows the syscall code to pass the syscall args directly from the
trapframe instead of copying them to a separate structure.
It is still possible that some lurking code still assumes that
'struct trapframe', 'struct mcontext' and 'struct reg' all have the
registers in the same order, but I've fixed enough of them to get gdb working.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/sys/arch/amd64/amd64/linux_syscall.c
cvs rdiff -r1.34 -r1.35 src/sys/arch/amd64/amd64/syscall.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/amd64/include/frame_regs.h
cvs rdiff -r1.5 -r1.6 src/sys/arch/amd64/include/reg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index