Date: Mon, 21 Mar 2011 19:21:43 +0100 From: Roman Divacky <rdivacky@freebsd.org> To: Fabian Keil <freebsd-listen@fabiankeil.de> Cc: current@freebsd.org Subject: Re: [TESTING]: boot2 compilation with -mregparm=3 Message-ID: <20110321182142.GA73111@freebsd.org> In-Reply-To: <20110320204104.2cc0ef74@r500.local> References: <20110314185943.GA98118@freebsd.org> <20110320204104.2cc0ef74@r500.local>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 20, 2011 at 08:41:04PM +0100, Fabian Keil wrote: > Roman Divacky <rdivacky@freebsd.org> wrote: > > > 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. > > Works for me on amd64 with gcc, but I don't use either > a serial console or gptboot/zfsboot. thank you for testing, although I really need someone to test this on serial console {gpt,zfs}boot it seems to work for me and fail for the other tester so I really dont know what to think roman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110321182142.GA73111>