Home | History | Annotate | Download | only in include
History log of /src/sys/arch/mips/include/ansi.h
RevisionDateAuthorComments
 1.30  07-May-2019  kamil Switch all users (except ia64) of custom machine/ansi.h to common_ansi.h

Deduplicate the code among ports and poll definitions of types
directly from a compiler.

This fixes miscompilation of certain programs that instruct compilers
to generate code for different types. This bug has been detected with
-fshort-wchar in EFI firmware.

Proposed and discussed on a mailing list (twice).

Itanium uses custom !ELF fallback switch, temporarily leave it as it is.
 1.29  17-Jun-2015  matt branches: 1.29.18;
Make _BSD_CLOCK_T_ unsigned int so it's the same for IPL32 and LP64
environments. We don't really have a powerpc64 native userland
and the mips64 native userland is IPL32 so this shouldn't affect anything.
 1.28  17-Jul-2011  joerg branches: 1.28.12; 1.28.28; 1.28.30;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.27  27-Mar-2010  tnozaki 1. {wctype,wctrans,mbstate}_t: switch MD to MI like other
libc implementation (such as *BSD and glibc2).

2. don't typedef void * wc{type,trans}_t, suggested by soda@-san.
it may pass through compiler type check, it's harmful.
so i introduce dummy struct __tag_wc{type,trans}_t(iconv_t already does).

no ABI change was made.
 1.26  14-Dec-2009  matt branches: 1.26.2; 1.26.4;
Fix merge botch (we use 64bit times now).
 1.25  14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.24  11-Jan-2009  christos merge christos-time_t
 1.23  17-Oct-2007  garbled branches: 1.23.16; 1.23.18; 1.23.22; 1.23.30; 1.23.38;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.22  03-Sep-2007  drochner clean up some definitions around rune_t which are not needed anymore
 1.21  04-Oct-2006  tnozaki branches: 1.21.8; 1.21.16; 1.21.22; 1.21.26; 1.21.28;
fix gcc -Werror -Wmissing-braces problem
mbstate_t(this is opaque object)'s initializer should be ``{ 0 }'',
so changed 1st field of union from character array to integer.
 1.20  11-Dec-2005  christos branches: 1.20.20; 1.20.22;
merge ktrace-lwp.
 1.19  25-Oct-2003  mycroft branches: 1.19.16;
Update for GCC3 (basically, use the __builtin_va_* implementation).
 1.18  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.17  30-May-2003  simonb branches: 1.17.2;
#define<tab>
 1.16  02-Mar-2003  tshiozak add some ISO C 1995 I18N functions and types:
btowc, wctrans, towctrans, wcscoll, wcsxfrm, wctype_t and wctrans_t.
 1.15  03-Nov-2002  thorpej Add _LP64 types.
 1.14  03-Jan-2001  takemura branches: 1.14.8;
replace 'long long' with int64_t to compile stand alone program with
compiler other than GCC.
 1.13  26-Dec-2000  itojun make mbstate_t bigger (32 -> 128 bytes).
XXX if you have libc after citrus locale import, please recompile libc,
and your applications that use mbstate_t (rather rare). really sorry
for the mess.
 1.12  21-Dec-2000  itojun populate _BSD_MBSTATE_T_. add warning regarding to rune_t.
 1.11  27-Jun-2000  kleink G/c _BSD_INTPTR_T_ and _BSD_UINTPTR_T_.
 1.10  24-Apr-1999  simonb branches: 1.10.2; 1.10.10;
Nuke register and remove trailling white space.
 1.9  27-Apr-1998  kleink branches: 1.9.12;
Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
types large enough to hold any pointer.
 1.8  23-Nov-1997  kleink Add _BSD_SUSECONDS_T_ and _BSD_USECONDS_T_; do some space vs. tab formatting
cleanup
 1.7  15-Nov-1996  jtc Define _BSD_CLOCKID_T_ and _BSD_TIMER_T_
 1.6  16-Mar-1996  jtc Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1.
 1.5  26-Oct-1994  cgd new RCS ID format.
 1.4  27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.3  27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.2  15-Oct-1993  deraadt update from rick, tarfile of Oct 11 10:46
 1.1  12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1  12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.9.12.1  21-Jun-1999  thorpej Sync w/ -current.
 1.10.10.1  28-May-2000  minoura Citrus Project XPG4DL, an implementation of I18N (locale) framework,
is imported.
 1.10.2.2  05-Jan-2001  bouyer Sync with HEAD
 1.10.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.14.8.1  11-Nov-2002  nathanw Catch up to -current
 1.17.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.17.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.17.2.1  03-Aug-2004  skrll Sync with HEAD
 1.19.16.2  27-Oct-2007  yamt sync with head.
 1.19.16.1  30-Dec-2006  yamt sync with head.
 1.20.22.1  22-Oct-2006  yamt sync with head
 1.20.20.1  18-Nov-2006  ad Sync with head.
 1.21.28.1  06-Nov-2007  matt sync with HEAD
 1.21.26.1  02-Oct-2007  joerg Sync with HEAD.
 1.21.22.1  10-Sep-2007  skrll Sync with HEAD.
 1.21.16.1  03-Oct-2007  garbled Sync with HEAD
 1.21.8.1  09-Oct-2007  ad Sync with head.
 1.23.38.1  11-Dec-2009  matt Unless we are in O32, use long int for size_t/ptrdiff_t/intptr_t. This
allows N32 and N64 use both use the same type.
 1.23.30.1  19-Jan-2009  skrll Sync with HEAD.
 1.23.22.3  11-Aug-2010  yamt sync with head.
 1.23.22.2  11-Mar-2010  yamt sync with head
 1.23.22.1  04-May-2009  yamt sync with head.
 1.23.18.3  04-Jan-2009  christos handle LP64
 1.23.18.2  30-Mar-2008  christos time_t is now __int64_t
 1.23.18.1  29-Mar-2008  christos Welcome to the time_t=long long dev_t=uint64_t branch.
 1.23.16.1  17-Jan-2009  mjf Sync with HEAD.
 1.26.4.1  30-May-2010  rmind sync with head
 1.26.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.28.30.1  22-Sep-2015  skrll Sync with HEAD
 1.28.28.1  16-Jul-2015  riz Pull up following revision(s) (requested by martin in ticket #846):
sys/arch/mips/include/ansi.h: revision 1.29
sys/arch/sh3/include/ansi.h: revision 1.16
sys/arch/sparc64/include/ansi.h: revision 1.18
sys/arch/m68k/include/ansi.h: revision 1.24
sys/arch/powerpc/include/ansi.h: revision 1.30
sys/arch/hppa/include/ansi.h: revision 1.14
sys/arch/i386/include/ansi.h: revision 1.27
sys/arch/alpha/include/ansi.h: revision 1.25
sys/arch/usermode/include/ansi.h: revision 1.5
sys/arch/sparc/include/ansi.h: revision 1.24
Make _BSD_CLOCK_T_ unsigned int so it's the same for IPL32 and LP64
environments. We don't really have a powerpc64 native userland
and the mips64 native userland is IPL32 so this shouldn't affect anything.
Make clock_t unsigned
Make clock_t unsigned int everywhere.
Ok: matt@, mrg@
 1.28.12.1  03-Dec-2017  jdolecek update from HEAD
 1.29.18.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed