Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sparc/include/ansi.h
RevisionDateAuthorComments
 1.25  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.24  17-Jun-2015  martin branches: 1.24.18;
Make clock_t unsigned int everywhere.
Ok: matt@, mrg@
 1.23  17-Jul-2011  joerg branches: 1.23.12; 1.23.28; 1.23.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.22  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.21  11-Jan-2009  christos branches: 1.21.4; 1.21.6;
merge christos-time_t
 1.20  17-Oct-2007  garbled branches: 1.20.16; 1.20.18; 1.20.22; 1.20.30;
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.19  03-Sep-2007  drochner clean up some definitions around rune_t which are not needed anymore
 1.18  04-Oct-2006  tnozaki branches: 1.18.8; 1.18.16; 1.18.22; 1.18.26; 1.18.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.17  11-Dec-2005  christos branches: 1.17.20; 1.17.22;
merge ktrace-lwp.
 1.16  20-Apr-2005  matt branches: 1.16.2;
For GCC3 and later, use the __builtin_va* constructs.
 1.15  07-Aug-2003  agc branches: 1.15.8; 1.15.14; 1.15.18;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.14  02-Mar-2003  tshiozak branches: 1.14.2;
add some ISO C 1995 I18N functions and types:
btowc, wctrans, towctrans, wcscoll, wcsxfrm, wctype_t and wctrans_t.
 1.13  03-Jan-2001  takemura replace 'long long' with int64_t to compile stand alone program with
compiler other than GCC.
 1.12  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.11  21-Dec-2000  itojun populate _BSD_MBSTATE_T_. add warning regarding to rune_t.
 1.10  27-Jun-2000  kleink G/c _BSD_INTPTR_T_ and _BSD_UINTPTR_T_.
 1.9  05-Jun-1999  pk branches: 1.9.2; 1.9.10;
64-bit safety to help sharing compilation tools with sparc64.
 1.8  27-Apr-1998  kleink branches: 1.8.10;
Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
types large enough to hold any pointer.
 1.7  23-Nov-1997  kleink Add _BSD_SUSECONDS_T_ and _BSD_USECONDS_T_; do some space vs. tab formatting
cleanup
 1.6  15-Nov-1996  jtc Define _BSD_CLOCKID_T_ and _BSD_TIMER_T_
 1.5  31-Mar-1996  pk Various cleanup; mostly trailing spaces/tabs.
 1.4  16-Mar-1996  jtc Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1.
 1.3  20-Nov-1994  deraadt copyright/Id cleanup
 1.2  24-May-1994  deraadt liten
 1.1  10-Oct-1993  deraadt need these
 1.8.10.1  21-Jun-1999  thorpej Sync w/ -current.
 1.9.10.1  28-May-2000  minoura Citrus Project XPG4DL, an implementation of I18N (locale) framework,
is imported.
 1.9.2.2  05-Jan-2001  bouyer Sync with HEAD
 1.9.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.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.14.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.14.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.14.2.1  03-Aug-2004  skrll Sync with HEAD
 1.15.18.1  30-Apr-2006  riz Pull up following revision(s) (requested by nakayama in ticket #1296):
sys/arch/sparc/include/stdarg.h: revision 1.22
sys/arch/sparc64/include/ansi.h: revision 1.10
sys/arch/sparc/include/ansi.h: revision 1.16
For GCC3 and later, use the __builtin_va* constructs.
 1.15.14.1  30-Apr-2006  riz Pull up following revision(s) (requested by nakayama in ticket #1296):
sys/arch/sparc/include/stdarg.h: revision 1.22
sys/arch/sparc64/include/ansi.h: revision 1.10
sys/arch/sparc/include/ansi.h: revision 1.16
For GCC3 and later, use the __builtin_va* constructs.
 1.15.8.1  29-Apr-2005  kent sync with -current
 1.16.2.2  27-Oct-2007  yamt sync with head.
 1.16.2.1  30-Dec-2006  yamt sync with head.
 1.17.22.1  22-Oct-2006  yamt sync with head
 1.17.20.1  18-Nov-2006  ad Sync with head.
 1.18.28.1  06-Nov-2007  matt sync with HEAD
 1.18.26.1  02-Oct-2007  joerg Sync with HEAD.
 1.18.22.1  10-Sep-2007  skrll Sync with HEAD.
 1.18.16.1  03-Oct-2007  garbled Sync with HEAD
 1.18.8.1  09-Oct-2007  ad Sync with head.
 1.20.30.1  19-Jan-2009  skrll Sync with HEAD.
 1.20.22.2  11-Aug-2010  yamt sync with head.
 1.20.22.1  04-May-2009  yamt sync with head.
 1.20.18.2  30-Mar-2008  christos time_t is now __int64_t
 1.20.18.1  29-Mar-2008  christos Welcome to the time_t=long long dev_t=uint64_t branch.
 1.20.16.1  17-Jan-2009  mjf Sync with HEAD.
 1.21.6.1  30-May-2010  rmind sync with head
 1.21.4.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.23.30.1  22-Sep-2015  skrll Sync with HEAD
 1.23.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.23.12.1  03-Dec-2017  jdolecek update from HEAD
 1.24.18.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed