Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sparc64/include/types.h
RevisionDateAuthorComments
 1.29  08-Aug-2021  thorpej Define preprocessor symbols (__HAVE_OPENFIRMWARE_VARIANT_AAPL and
__HAVE_OPENFIRMWARE_VARIANT_SUNW) that lets generic OpenFirmware
code deal with differences / quirks among implementation variants.
 1.28  06-Apr-2019  thorpej branches: 1.28.16;
Overhaul the API used to fetch and store individual memory cells in
userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms. The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.
 1.27  26-Jan-2017  christos branches: 1.27.14;
provide __HAVE_COMPAT_NETBSD32 and fix multiple include protection consistently.
 1.26  14-Nov-2013  martin branches: 1.26.6; 1.26.10; 1.26.14;
Allow TOPDOWN-VM only for binaries compiled with appropriate code model.
No change yet, as __HAVE_TOPDOWN is not yet defined.
 1.25  11-Dec-2005  christos branches: 1.25.6; 1.25.112; 1.25.122; 1.25.128;
merge ktrace-lwp.
 1.24  10-Jul-2005  christos Now that sparc has syscall intern, no need to define it here too.
 1.23  10-Jul-2005  christos Re-factor syscall, and make it use syscall_{plain,fancy}.
 1.22  20-Jul-2002  mrg branches: 1.22.6;
use <sparc/foo.h> where appropriate. now these files become very
very difficult to get out of sync. add bootinfo.h and promlib.h
(using the same method) so that sparc64 headers can build sparc
stand (not yet finished.)
 1.21  03-May-2002  thorpej branches: 1.21.2;
Revert revision 1.20.
 1.20  03-May-2002  eeh Provide _LP64 definition if we are generating LP64 binaries.
 1.19  28-Feb-2002  simonb Use "#define<tab>".
 1.18  04-Dec-2001  darrenr defopt "options SUN4*", put #define for each of SUN4, SUN4C, SUN4M and SUN4U
into opt_arch_sparc.h and include this wherever they are used.
 1.17  12-May-2001  kleink branches: 1.17.2; 1.17.8;
Delint my previous change.
 1.16  28-Apr-2001  kleink * Move definitions of exact-width integer types from <machine/types.h>
to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
intmax_t, pointer-type and size_t arguments.
 1.15  14-Jan-2001  thorpej branches: 1.15.2;
Rename __GENERIC_SOFT_INTERRUPTS to __HAVE_GENERIC_SOFT_INTERRUPTS,
and place the definition in <machine/types.h>. This can now be used
as a flag to indicate whether or not <machine/intr.h> can be included
to get the generic soft interrupt API.
 1.14  03-Jan-2001  takemura replace 'long long' with int64_t to compile stand alone program with
compiler other than GCC.
 1.13  04-Dec-2000  mrg Remove __BROKEN_CONFIG_UNIT_USAGE. (sync with sparc)
 1.12  05-Feb-2000  cgd add __BROKEN_CONFIG_UNIT_USAGE #define, becuase these ports do very
wrong things with device configuration data "cf_unit" information.
 1.11  01-Feb-2000  danw #define __HAVE_DEVICE_REGISTER on ports that have it, and check for
that, rather than a list of architecture defines, in config_attach
 1.10  27-Nov-1999  eeh Apparently sys/sysctl.h includes vm/vm_map.h which makes use of vaddr_t,
 1.9  27-Nov-1999  mrg merge sparc64 types.h; these files are now identical.
 1.8  31-Jan-1999  mrg branches: 1.8.8; 1.8.14;
retire _LP64; use compiler provided __arch64__, but still defined _LP64 where we used to anyway.
 1.7  07-Sep-1998  eeh Make register32_t unsigned so we don't have sign extension problems.
 1.6  30-Aug-1998  eeh Some more 64-bit cleanup. Now everything compiles.
 1.5  22-Aug-1998  eeh Fix typo in previous fix.
 1.4  22-Aug-1998  eeh 64-bit-ify this. Depend on _lp64.
 1.3  13-Aug-1998  eeh Merge paddr_t changes into the main branch.
 1.2  20-Jun-1998  kleink branches: 1.2.2;
Merge in recent changes:
GC the unused `physadr' type, which was not able to hold a complete physical
address on 2 architectures anyhow. Also, move the definition of the `label_t'
type inside _KERNEL protection, since it is specific to the in-kernel
setjmp()/longjmp() implementations.
 1.1  20-Jun-1998  eeh branches: 1.1.1;
Initial revision
 1.1.1.1  20-Jun-1998  eeh Import of sparc64.
 1.2.2.2  12-Aug-1998  eeh Protect XOPEN and POSIX code from vm_offset_t, paddr_t, vaddr_t, vm_size_t, psize_t, and vsize_t.
 1.2.2.1  30-Jul-1998  eeh Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
 1.8.14.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.8.4  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.8.8.3  05-Jan-2001  bouyer Sync with HEAD
 1.8.8.2  08-Dec-2000  bouyer Sync with HEAD.
 1.8.8.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.15.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.17.8.5  01-Aug-2002  nathanw Catch up to -current.
 1.17.8.4  20-Jun-2002  nathanw Catch up to -current.
 1.17.8.3  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.17.8.2  08-Jan-2002  nathanw Catch up to -current.
 1.17.8.1  12-May-2001  nathanw file types.h was added on branch nathanw_sa on 2002-01-08 00:28:00 +0000
 1.17.2.4  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.17.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.17.2.2  16-Mar-2002  jdolecek Catch up with -current.
 1.17.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.21.2.1  31-Aug-2002  gehenna catch up with -current.
 1.22.6.1  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.25.128.1  18-May-2014  rmind sync with head
 1.25.122.2  03-Dec-2017  jdolecek update from HEAD
 1.25.122.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.25.112.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.25.6.2  02-Jun-2006  kardel - support timecounters
 1.25.6.1  27-May-2006  kardel sparc64 has yet to be converted so #undef __HAVE_TIMECOUNTER
 1.26.14.1  21-Apr-2017  bouyer Sync with HEAD
 1.26.10.1  20-Mar-2017  pgoyette Sync with HEAD
 1.26.6.1  05-Feb-2017  skrll Sync with HEAD
 1.27.14.1  10-Jun-2019  christos Sync with HEAD
 1.28.16.1  14-May-2021  thorpej Define __HAVE_OPENFIRMWARE_VARIANT_SUNW for sparc64 systems and handle
its OpenFirmware quirks with respect to i2c:

- "reg" property is 2 cells, the first one containing the channel the
device is on, the second one containing the i2c device address.
- The i2c device address is shifted left 1 bit to account for the r/w
bit on the wire.

RSS XML Feed