Home
last modified time | relevance | path

Searched hist:"31 ffd8039d49042e20b7a869ce0780d336e5a9d8" (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/amd64/amd64/
H A Dvm_machdep.cdiff 31ffd8039d49042e20b7a869ce0780d336e5a9d8 Mon May 13 23:47:17 CEST 2013 Ed Schouten <ed@FreeBSD.org> Improve readability of static assertions for OFFSET_* macros.

Instead of doing all sorts of weird casting of constants to
pointer-pointers, simply use the standard C offsetof() macro to obtain
the offset of the respective fields in the structures.
/freebsd/sys/i386/i386/
H A Dvm_machdep.cdiff 31ffd8039d49042e20b7a869ce0780d336e5a9d8 Mon May 13 23:47:17 CEST 2013 Ed Schouten <ed@FreeBSD.org> Improve readability of static assertions for OFFSET_* macros.

Instead of doing all sorts of weird casting of constants to
pointer-pointers, simply use the standard C offsetof() macro to obtain
the offset of the respective fields in the structures.