Bug 54209 - Define CPU_TO_LE32 on OpenBSD
Summary: Define CPU_TO_LE32 on OpenBSD
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other OpenBSD
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-29 13:09 UTC by Martin Pieuchot
Modified: 2012-08-29 14:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Define CPU_TO_LE32 on OpenBSD (792 bytes, patch)
2012-08-29 13:09 UTC, Martin Pieuchot
Details | Splinter Review

Description Martin Pieuchot 2012-08-29 13:09:22 UTC
Created attachment 66273 [details] [review]
Define CPU_TO_LE32 on OpenBSD

Currently the CPU_TO_LE32 macro on OpenBSD is extended to the bswap32() function which doesn't exist.

The attached patch correctly defines this macro required for big-endian architectures. It has been tested on powerpc and is already present in OpenBSD's source tree (Mesa 7.11.2).

Is it possible to include it? Please tell me if I missed something.
Comment 1 Brian Paul 2012-08-29 14:06:45 UTC
Thanks.  Committed: c4c4d4ad1e2dd25656543bac5bde3a59b85e22b8


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.