Date: Mon, 4 Apr 2011 18:23:55 +0000 (UTC) From: Roman Divacky <rdivacky@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/boot/i386/boot2 Makefile lib.h sio.S Message-ID: <201104041824.p34IO8xI064937@repoman.freebsd.org>
index | next in thread | raw e-mail
rdivacky 2011-04-04 18:23:55 UTC
FreeBSD src repository
Modified files:
sys/boot/i386/boot2 Makefile lib.h sio.S
Log:
SVN rev 220337 on 2011-04-04 18:23:55Z by rdivacky
Build boot2 with -mregparm=3, ie. pass upto 3 arguments via registers.
This modifies CFLAGS and tweaks sio.S to use the new calling convention.
The sio_init() and sio_putc() prototypes are modified so that other
users of this code know the correct calling convention.
This makes the code smaller when compiled with clang.
Reviewed by: jhb
Tested by: me and Freddie Cash <fjwcash gmail com>
Revision Changes Path
1.67 +1 -0 src/sys/boot/i386/boot2/Makefile
1.4 +2 -2 src/sys/boot/i386/boot2/lib.h
1.11 +9 -8 src/sys/boot/i386/boot2/sio.S
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104041824.p34IO8xI064937>
