svn commit: r300154 - head/sys/net

Ed Maste emaste at freebsd.org
Wed May 18 17:24:01 UTC 2016


On 18 May 2016 at 13:11, Juli Mallett <juli at clockworksquid.com> wrote:
> On Wed, May 18, 2016 at 9:41 AM, Justin Hibbits <chmeeedalf at gmail.com> wrote:
>> #if (defined(__powerpc__) && !defined(__powerpc64__)) ||
>> (defined(__mips__) && !defined(__mips64__))
>>
>> should work.
>
> Depending on what the point of this is on MIPS, it is probably also
> inadequate.  I believe you want a MIPS ABI check, as we can support
> 64-bit atomics with n32 and n64 ABIs, so !defined(__mips_n32) &&
> !defined(__mips_n64).

I've started trying to collect these details on
https://wiki.freebsd.org/EdMaste/ArchitectureSpecifics .  (My plan is
to move it to a better location when it's reasonably complete.)

There's no information for the MIPS variants right now; I'd be happy
for someone who knows those details to update the wiki page.


More information about the svn-src-all mailing list