Date: Sun, 1 Mar 2009 09:51:50 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sys vimage.h Message-ID: <200903010951.n219prXP064402@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2009-03-01 09:51:50 UTC FreeBSD src repository Modified files: sys/sys vimage.h Log: SVN rev 189223 on 2009-03-01 09:51:50Z by bz Add the infrastructure and expected sizeof() values for each supported architecture to implement size-guards on the vimage vnet_* structures. As CTASSERT_EQUAL() needs special compile time options we back it by CTASSERT() in the default case. Unfortunately CTASSERT() triggers first, thus add an option to allow compilation with CTASSERT_EQUAL() only. See the comments how to get new values if you trigger the assert and what to do in that case. Reviewed by: rwatson, zec (earlier versions) Revision Changes Path 1.10 +99 -0 src/sys/sys/vimage.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903010951.n219prXP064402>