Date: Sun, 20 Mar 2011 20:41:04 +0100 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: Roman Divacky <rdivacky@freebsd.org> Cc: current@freebsd.org Subject: Re: [TESTING]: boot2 compilation with -mregparm=3 Message-ID: <20110320204104.2cc0ef74@r500.local> In-Reply-To: <20110314185943.GA98118@freebsd.org> References: <20110314185943.GA98118@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/4ZNq3+Y40E5FYlUvTUdNbaY Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Roman Divacky <rdivacky@freebsd.org> wrote: > This patch: >=20 >=20 > http://lev.vlakno.cz/~rdivacky/boot2-mregparm.patch >=20 >=20 > makes boot2 to be compiled with -mregparm=3D3 (which shrinks it > some). It changes CFLAGS to include -mregparm=3D3 and also > rewrites sio.S to use register passing. >=20 > This survived my testing in qemu and jhb@s review. Works for me on amd64 with gcc, but I don't use either a serial console or gptboot/zfsboot. Fabian --Sig_/4ZNq3+Y40E5FYlUvTUdNbaY Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk2GWFcACgkQBYqIVf93VJ2YzQCfQPC/ys9xa9AEQ0aW0klop3OB +7YAnR8gjr7YeA+gNMvVqETwkdrTZ+CW =hQ6P -----END PGP SIGNATURE----- --Sig_/4ZNq3+Y40E5FYlUvTUdNbaY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110320204104.2cc0ef74>