Re: svn commit: r281721 - head/sys/sys

2015-04-21 Thread Bruce Evans
On Tue, 21 Apr 2015, David Chisnall wrote: On 20 Apr 2015, at 17:19, Bruce Evans b...@optusnet.com.au wrote: Enums should never be used in ABIs, since their size can be anything large enough. The rules for the size of enums also differ between C and C++, though clang (and, I think, gcc)

Re: svn commit: r281721 - head/sys/sys

2015-04-21 Thread David Chisnall
On 20 Apr 2015, at 17:19, Bruce Evans b...@optusnet.com.au wrote: Enums should never be used in ABIs, since their size can be anything large enough. The rules for the size of enums also differ between C and C++, though clang (and, I think, gcc) support an attribute for specifying the enum

Re: svn commit: r281721 - head/sys/sys

2015-04-21 Thread Konstantin Belousov
On Tue, Apr 21, 2015 at 07:32:30PM +1000, Bruce Evans wrote: On Tue, 21 Apr 2015, David Chisnall wrote: On 20 Apr 2015, at 17:19, Bruce Evans b...@optusnet.com.au wrote: Enums should never be used in ABIs, since their size can be anything large enough. The rules for the size of

Re: svn commit: r281721 - head/sys/sys

2015-04-21 Thread Bruce Evans
On Tue, 21 Apr 2015, Konstantin Belousov wrote: On Tue, Apr 21, 2015 at 07:32:30PM +1000, Bruce Evans wrote: On Tue, 21 Apr 2015, David Chisnall wrote: On 20 Apr 2015, at 17:19, Bruce Evans b...@optusnet.com.au wrote: Enums should never be used in ABIs, since their size can be anything

Re: svn commit: r281721 - head/sys/sys

2015-04-20 Thread Bruce Evans
On Mon, 20 Apr 2015, John Baldwin wrote: On Sunday, April 19, 2015 12:33:22 AM Justin Hibbits wrote: Log: Fix the build. Commit the last part of e500 PMC. ... @@ -136,6 +138,7 @@ enum pmc_cputype { __PMC_CLASS(MIPS74K)/* MIPS 74K */ \

Re: svn commit: r281721 - head/sys/sys

2015-04-20 Thread Adrian Chadd
(this is why I'm not mfc'ing it.) hwpmc's ABI is not in any way usefully backwards compatible. -adrian ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to

Re: svn commit: r281721 - head/sys/sys

2015-04-20 Thread John Baldwin
On Sunday, April 19, 2015 12:33:22 AM Justin Hibbits wrote: Author: jhibbits Date: Sun Apr 19 00:33:21 2015 New Revision: 281721 URL: https://svnweb.freebsd.org/changeset/base/281721 Log: Fix the build. Commit the last part of e500 PMC. Pointy hat to: jhibbits Modified:

Re: svn commit: r281721 - head/sys/sys

2015-04-20 Thread Justin Hibbits
On Mon, Apr 20, 2015 at 9:19 AM, Bruce Evans b...@optusnet.com.au wrote: On Mon, 20 Apr 2015, John Baldwin wrote: On Sunday, April 19, 2015 12:33:22 AM Justin Hibbits wrote: Log: Fix the build. Commit the last part of e500 PMC. ... @@ -136,6 +138,7 @@ enum pmc_cputype {

svn commit: r281721 - head/sys/sys

2015-04-18 Thread Justin Hibbits
Author: jhibbits Date: Sun Apr 19 00:33:21 2015 New Revision: 281721 URL: https://svnweb.freebsd.org/changeset/base/281721 Log: Fix the build. Commit the last part of e500 PMC. Pointy hat to:jhibbits Modified: head/sys/sys/pmc.h Modified: head/sys/sys/pmc.h