Re: svn commit: r300257 - in head/sys/boot/i386: libi386 zfsboot

2016-05-20 Thread John Baldwin
On Friday, May 20, 2016 11:00:22 AM Allan Jude wrote: > On 2016-05-20 10:48, John Baldwin wrote: > > On Friday, May 20, 2016 01:41:47 AM Allan Jude wrote: > >> Author: allanjude > >> Date: Fri May 20 01:41:47 2016 > >> New Revision: 300257 > >> URL: https://svnweb.freebsd.org/changeset/base/300257

Re: svn commit: r300257 - in head/sys/boot/i386: libi386 zfsboot

2016-05-20 Thread Adrian Chadd
Right, but if you hand that malloc() pointer to any BIOS int calls, it's highly likely it won't work right. :) -a On 20 May 2016 at 08:00, Allan Jude wrote: > On 2016-05-20 10:48, John Baldwin wrote: >> On Friday, May 20, 2016 01:41:47 AM Allan Jude wrote: >>> Author: allanjude >>> Date: Fri M

Re: svn commit: r300257 - in head/sys/boot/i386: libi386 zfsboot

2016-05-20 Thread Allan Jude
On 2016-05-20 10:48, John Baldwin wrote: > On Friday, May 20, 2016 01:41:47 AM Allan Jude wrote: >> Author: allanjude >> Date: Fri May 20 01:41:47 2016 >> New Revision: 300257 >> URL: https://svnweb.freebsd.org/changeset/base/300257 >> >> Log: >> Fixup the geliboot sector rounding code >> >>

Re: svn commit: r300257 - in head/sys/boot/i386: libi386 zfsboot

2016-05-20 Thread John Baldwin
On Friday, May 20, 2016 01:41:47 AM Allan Jude wrote: > Author: allanjude > Date: Fri May 20 01:41:47 2016 > New Revision: 300257 > URL: https://svnweb.freebsd.org/changeset/base/300257 > > Log: > Fixup the geliboot sector rounding code > > Replace all rounding with the round{up,down}2 macr

svn commit: r300257 - in head/sys/boot/i386: libi386 zfsboot

2016-05-19 Thread Allan Jude
Author: allanjude Date: Fri May 20 01:41:47 2016 New Revision: 300257 URL: https://svnweb.freebsd.org/changeset/base/300257 Log: Fixup the geliboot sector rounding code Replace all rounding with the round{up,down}2 macros a missing set of braces caused the previous code to be incorrect