Date: Mon, 14 Mar 2011 19:59:43 +0100 From: Roman Divacky <rdivacky@freebsd.org> To: current@freebsd.org Subject: [TESTING]: boot2 compilation with -mregparm=3 Message-ID: <20110314185943.GA98118@freebsd.org>
next in thread | raw e-mail | index | archive | help
--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
This patch:
http://lev.vlakno.cz/~rdivacky/boot2-mregparm.patch
makes boot2 to be compiled with -mregparm=3 (which shrinks it
some). It changes CFLAGS to include -mregparm=3 and also
rewrites sio.S to use register passing.
This survived my testing in qemu and jhb@s review.
Please test this patch with boot2 booting via serial console,
and with gptboot/zfsboot using serial console.
Thank you! This is the last FreeBSD patch in the clang-boot2
saga so please help.
roman
--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
iEYEARECAAYFAk1+ZZ4ACgkQLVEj6D3CBEwImQCeNFeF9o4p2/3enbZrLeOKnzOl
1H4Ani/el7WJcU4jgWnmIT34TNgoeMIN
=RxqV
-----END PGP SIGNATURE-----
--MGYHOYXEY6WxJCY8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110314185943.GA98118>
