Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   dsl
Date:           Sun Sep 16 22:35:04 UTC 2007

Modified Files:
        src/sys/arch/amd64/include: netbsd32_machdep.h
        src/sys/arch/powerpc/include: netbsd32_machdep.h
        src/sys/arch/sparc64/include: netbsd32_machdep.h
        src/sys/compat/netbsd32: netbsd32.h

Log Message:
Define netbsd32_uint64 for 64bit integers with the alignment requirement
of the corresponding 32bit architecture.
Use it for the 64bit items in netbsd32_statvfs so that the structure
doesn't collect 8byte alignment (and 4 bytes of trailing padding).
This replaces the 'packed' attribute which wasn't architecture specific
and would cause massive overheads accessing every member of sparc64.
Should allow the MIPS64 port do DTRT.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/arch/amd64/include/netbsd32_machdep.h
cvs rdiff -r1.2 -r1.3 src/sys/arch/powerpc/include/netbsd32_machdep.h
cvs rdiff -r1.22 -r1.23 src/sys/arch/sparc64/include/netbsd32_machdep.h
cvs rdiff -r1.66 -r1.67 src/sys/compat/netbsd32/netbsd32.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