Source-Changes archive

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

CVS commit: src/sys/arch/sparc/sparc



Module Name:    src
Committed By:   martin
Date:           Thu Jun 29 15:05:07 UTC 2006

Modified Files:
        src/sys/arch/sparc/sparc: syscall.c trap.c

Log Message:
The arguments to syscalls (struct args) need 64 bit alignment for some
syscalls (like mmap), and the same is true for return values (lseek).
Make both structs a union to force alignment. Thanks to uwe for helping
analyze this!
While there move the non syscall-related functions out of this file
(back to trap.c).

This makes kernels compiled with gcc4 and -Os work.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/arch/sparc/sparc/syscall.c
cvs rdiff -r1.167 -r1.168 src/sys/arch/sparc/sparc/trap.c

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