<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/powerpc/include/_limits.h, branch releng/10.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2011-01-08T12:43:05Z</updated>
<entry>
<title>On mixed 32/64 bit architectures (mips, powerpc) use __LP64__ rather than</title>
<updated>2011-01-08T12:43:05Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2011-01-08T12:43:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a56e818f29e03249aa03610ff136d2566ed0b0e3'/>
<id>urn:sha1:a56e818f29e03249aa03610ff136d2566ed0b0e3</id>
<content type='text'>
architecture macros (__mips_n64, __powerpc64__) when 64 bit types (and
corresponding macros) are different from 32 bit. [1]

Correct the type of INT64_MIN, INT64_MAX and UINT64_MAX.

Define (U)INTMAX_C as an alias for (U)INT64_C matching the type definition
for (u)intmax_t. Do this on all architectures for consistency.

Suggested by:	bde [1]
Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>Fix types of some values in machine/_limits.h.</title>
<updated>2011-01-08T11:13:34Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2011-01-08T11:13:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9858863cd4959006703cb9529d07777637315c69'/>
<id>urn:sha1:9858863cd4959006703cb9529d07777637315c69</id>
<content type='text'>
On some architectures UCHAR_MAX and USHRT_MAX had type unsigned int.
However, lacking integer suffixes for types smaller than int, their type
should correspond to that of an object of type unsigned char (or short)
when used in an expression with objects of type int. In that case unsigned
char (short) are promoted to int (i.e. signed) so the type of UCHAR_MAX and
USHRT_MAX should also be int.

Where MIN/MAX constants implicitly have the correct type the suffix has
been removed.

While here, correct some comments.

Reviewed by:	bde
Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>Remove unused support for 64 bit long on 32 bit architectures.</title>
<updated>2011-01-07T22:57:31Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2011-01-07T22:57:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=911127a0d6496519eccd4e9b8ff1170bb04c957f'/>
<id>urn:sha1:911127a0d6496519eccd4e9b8ff1170bb04c957f</id>
<content type='text'>
It was used mainly to discover and fix some 64-bit portability problems
before 64-bit arches were widely available.

Discussed with:	bde
Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>MFppc64:</title>
<updated>2010-07-13T05:32:19Z</updated>
<author>
<name>Nathan Whitehorn</name>
<email>nwhitehorn@FreeBSD.org</email>
</author>
<published>2010-07-13T05:32:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c3e289e1ce8c9af8d14e9f727632e22b3bf901f9'/>
<id>urn:sha1:c3e289e1ce8c9af8d14e9f727632e22b3bf901f9</id>
<content type='text'>
Kernel sources for 64-bit PowerPC, along with build-system changes to keep
32-bit kernels compiling (build system changes for 64-bit kernels are
coming later). Existing 32-bit PowerPC kernel configurations must be
updated after this change to specify their architecture.
</content>
</entry>
<entry>
<title>Move MINSIGSTKSZ from &lt;machine/signal.h&gt; to &lt;machine/_limits.h&gt; and rename</title>
<updated>2005-08-20T16:44:41Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2005-08-20T16:44:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a1f85d7f83f899786626708083839512b2cd4ebd'/>
<id>urn:sha1:a1f85d7f83f899786626708083839512b2cd4ebd</id>
<content type='text'>
it to __MINSIGSTKSZ.  Define MINSIGSTKSZ in &lt;sys/signal.h&gt;.

This is done in order to use MINSIGSTKSZ for the macro PTHREAD_STACK_MIN
in &lt;pthread.h&gt; (soon &lt;limits.h&gt;) without having to include the whole
&lt;sys/signal.h&gt; header.

Discussed with:		bde
</content>
</entry>
<entry>
<title>/* -&gt; /*- for license, minor formatting changes</title>
<updated>2005-01-07T02:29:27Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-07T02:29:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=60727d8b86294910d41cbda1a50a855ea0537449'/>
<id>urn:sha1:60727d8b86294910d41cbda1a50a855ea0537449</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove advertising clause from University of California Regent's</title>
<updated>2004-04-07T05:00:01Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2004-04-07T05:00:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2fcbca0d8575cf5ca6924283517b3adfc7d6d113'/>
<id>urn:sha1:2fcbca0d8575cf5ca6924283517b3adfc7d6d113</id>
<content type='text'>
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.

Approved by: core, peter, alc, rwatson
</content>
</entry>
<entry>
<title>sys/sys/limits.h:</title>
<updated>2003-05-19T20:29:07Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2003-05-19T20:29:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=980ded9a7d8747828c4ec547654c90cbcb3b6910'/>
<id>urn:sha1:980ded9a7d8747828c4ec547654c90cbcb3b6910</id>
<content type='text'>
 - Fix visibilty test for LONG_BIT and WORD_BIT.  `#if defined(__FOO_VISIBLE)'
   is alays wrong because __FOO_VISIBLE is always defined (to 0 for
   invisibility).

sys/&lt;arch&gt;/include/limits.h
sys/&lt;arch&gt;/include/_limits.h:

 - Style fixes.

Submitted by:	bde
Reviewed by:	bsdmike
Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>Style fixes.</title>
<updated>2003-05-04T22:13:04Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2003-05-04T22:13:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0eda4c08a53f76ceee2b96ac299d2b470ed7dcab'/>
<id>urn:sha1:0eda4c08a53f76ceee2b96ac299d2b470ed7dcab</id>
<content type='text'>
Remove DBL_DIG, DBL_MIN, DBL_MAX and their FLT_ counterparts, they
were marked for deprecation ever since SUSv1 at least.
Only define ULLONG_MIN/MAX and LLONG_MAX if long long type is
supported.
Restore a lost comment in MI _limits.h file and remove it from
sys/limits.h where it does not belong.
</content>
</entry>
<entry>
<title>Add a new sys/limits.h file which in turn depends on machine/_limits.h</title>
<updated>2003-04-23T21:41:59Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2003-04-23T21:41:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6fd839f9c737f75c37d85477cffac22def69f98f'/>
<id>urn:sha1:6fd839f9c737f75c37d85477cffac22def69f98f</id>
<content type='text'>
to get actual constant values. This is in preparation for machine/limits.h
retirement.

Discussed on:	standards@
Submitted by:	Craig Rodrigues &lt;rodrigc@attbi.com&gt;  (*)
Modified by:	kan
</content>
</entry>
</feed>
