Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sh3/include/ansi.h
RevisionDateAuthorComments
 1.17  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.16  17-Jun-2015  martin branches: 1.16.18;
Make clock_t unsigned int everywhere.
Ok: matt@, mrg@
 1.15  17-Jul-2011  joerg branches: 1.15.12; 1.15.28; 1.15.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.14  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.13  11-Jan-2009  christos branches: 1.13.4; 1.13.6;
merge christos-time_t
 1.12  17-Oct-2007  garbled branches: 1.12.16; 1.12.18; 1.12.22; 1.12.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.11  03-Sep-2007  drochner clean up some definitions around rune_t which are not needed anymore
 1.10  04-Oct-2006  tnozaki branches: 1.10.8; 1.10.16; 1.10.22; 1.10.26; 1.10.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.9  15-May-2006  uwe branches: 1.9.8; 1.9.10;
Change _BSD_VA_LIST_ from "void *" to "__builtin_va_list" for newer
gcc versions and "char *" otherwise. This is what most other arches
use, modulo different __GNUC_PREREQ__.

This is in preparation for replacing stdarg.h and varargs.h with
versions based on __builtin_* instead of handwritten code that gcc
3.3.6 and up refuse to compile b/c of lhs casts.

Identical binary code produced.
 1.8  11-Dec-2005  christos branches: 1.8.4; 1.8.6; 1.8.8; 1.8.12;
merge ktrace-lwp.
 1.7  07-Aug-2003  agc branches: 1.7.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.6  02-Mar-2003  tshiozak branches: 1.6.2;
add some ISO C 1995 I18N functions and types:
btowc, wctrans, towctrans, wcscoll, wcsxfrm, wctype_t and wctrans_t.
 1.5  03-Jan-2001  takemura replace 'long long' with int64_t to compile stand alone program with
compiler other than GCC.
 1.4  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.3  21-Dec-2000  itojun populate _BSD_MBSTATE_T_. add warning regarding to rune_t.
 1.2  27-Jun-2000  kleink G/c _BSD_INTPTR_T_ and _BSD_UINTPTR_T_.
 1.1  13-Sep-1999  itojun branches: 1.1.2; 1.1.10;
Merge in NetBSD/sh3 from cvs.kame.net repository.

Tree structure:
- sys/arch/sh3: sh3 generic code
As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
 1.1.10.1  28-May-2000  minoura Citrus Project XPG4DL, an implementation of I18N (locale) framework,
is imported.
 1.1.2.2  05-Jan-2001  bouyer Sync with HEAD
 1.1.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.6.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.2.1  03-Aug-2004  skrll Sync with HEAD
 1.7.16.3  27-Oct-2007  yamt sync with head.
 1.7.16.2  30-Dec-2006  yamt sync with head.
 1.7.16.1  21-Jun-2006  yamt sync with head.
 1.8.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.8.8.1  24-May-2006  yamt sync with head.
 1.8.6.1  01-Jun-2006  kardel Sync with head.
 1.8.4.1  09-Sep-2006  rpaulo sync with head
 1.9.10.1  22-Oct-2006  yamt sync with head
 1.9.8.1  18-Nov-2006  ad Sync with head.
 1.10.28.1  06-Nov-2007  matt sync with HEAD
 1.10.26.1  02-Oct-2007  joerg Sync with HEAD.
 1.10.22.1  10-Sep-2007  skrll Sync with HEAD.
 1.10.16.1  03-Oct-2007  garbled Sync with HEAD
 1.10.8.1  09-Oct-2007  ad Sync with head.
 1.12.30.1  19-Jan-2009  skrll Sync with HEAD.
 1.12.22.2  11-Aug-2010  yamt sync with head.
 1.12.22.1  04-May-2009  yamt sync with head.
 1.12.18.3  04-Jan-2009  christos revert all but time_t
 1.12.18.2  30-Mar-2008  christos time_t is now __int64_t
 1.12.18.1  29-Mar-2008  christos Welcome to the time_t=long long dev_t=uint64_t branch.
 1.12.16.1  17-Jan-2009  mjf Sync with HEAD.
 1.13.6.1  30-May-2010  rmind sync with head
 1.13.4.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.15.30.1  22-Sep-2015  skrll Sync with HEAD
 1.15.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.15.12.1  03-Dec-2017  jdolecek update from HEAD
 1.16.18.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed