NetBSD/sys/lib/libkern
scw 59474a8c82 NetBSD, meet the SH-5 cpu.
SH-5, meet NetBSD.

Let's hope this is the start of a long and fruitful relationship. :-)

This code, funded by Wasabi Systems, adds initial support for the
Hitachi SuperH(tm) SH-5 cpu architecture to NetBSD.

At the present time, NetBSD/evbsh5 only runs on a SH-5 core simulator
which has no simulated devices other than a simple console. However, it
is good enough to get to the "root device: " prompt.

Device driver support for Real SH-5 Hardware is in place, particularly for
supporting the up-coming Cayman evaluation board, and should be quite
easy to get running when the hardware is available.

There is no in-tree toolchain for this port at this time. Gcc-current has
rudimentary SH-5 support but it is known to be buggy. A working toolchain
was obtained from SuperH to facilitate this port. Gcc-current will be
fixed in due course.

The SH-5 architecture is fully 64-bit capable, although NetBSD/evbsh5 has
currently only been tested in 32-bit mode. It is bi-endian, via a boot-
time option and it also has an "SHcompact" mode in which it will execute
SH-[34] user-land instructions.

For more information on the SH-5, see www.superh.com. Suffice to say it
is *not* just another respin of the SH-[34].
2002-07-05 13:31:28 +00:00
..
arch NetBSD, meet the SH-5 cpu. 2002-07-05 13:31:28 +00:00
Makefile Updated version of cscope/mkid support. Check libkern and compat lib 2002-06-18 23:46:52 +00:00
Makefile.inc Don't make clean and cleandir depend on the lib subdir. Just check for it's 2001-11-21 22:10:54 +00:00
__assert.c Don't prototype __assert() if not STANDALONE - <sys/systm.h> has already 2000-03-29 03:19:52 +00:00
__cmsg_alignbytes.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
__main.c
_que.c Move _insque()/_remque() to libkern. Once remaining uses would 2001-08-12 08:35:31 +00:00
adddi3.c
anddi3.c
arc4random.c discard 256 bytes of output every time we stir (not just when initializing) 2002-06-14 03:05:46 +00:00
ashldi3.c
ashrdi3.c
bcmp.c
bcopy.c
bswap16.c
bswap32.c
bswap64.c
bzero.c
cmpdi2.c
divdi3.c
ffs.c
htonl.c sync argument/return type of [hn]to[nh][ls] to XNET 5.2 (uint{16,32}_t). 2001-08-22 07:42:07 +00:00
htons.c sync argument/return type of [hn]to[nh][ls] to XNET 5.2 (uint{16,32}_t). 2001-08-22 07:42:07 +00:00
imax.c
imin.c
index.c
inet_addr.c ctype-like functions are now in libkern. 2001-04-18 15:40:58 +00:00
intoa.c
iordi3.c
libkern.h have arc4random(9). 2002-05-28 10:09:24 +00:00
lmax.c
lmin.c
lshldi3.c
lshrdi3.c
max.c
mcount.c Move the Alpha _mcount() into a .S file so that it can be 2000-09-05 16:28:30 +00:00
md4c.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
md5c.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
memchr.c
memcmp.c
memcpy.c
memmove.c
memset.c
milieu.h o IEEE 754 floating-point completion code. 2001-04-26 03:10:44 +00:00
min.c
moddi3.c
muldi3.c
negdi2.c
notdi2.c
ntohl.c sync argument/return type of [hn]to[nh][ls] to XNET 5.2 (uint{16,32}_t). 2001-08-22 07:42:07 +00:00
ntohs.c sync argument/return type of [hn]to[nh][ls] to XNET 5.2 (uint{16,32}_t). 2001-08-22 07:42:07 +00:00
pmatch.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
qdivrem.c Update from libc. 2000-12-12 17:44:04 +00:00
quad.h Use __GNUC_PREREQ__(). 2000-05-05 00:20:22 +00:00
random.c Kill some more register declarations. 2000-03-30 12:19:46 +00:00
rb.c Add "Red Black +" balanced binary tree routines to libkern. These provide 2001-10-24 22:40:56 +00:00
rb.h Add "Red Black +" balanced binary tree routines to libkern. These provide 2001-10-24 22:40:56 +00:00
rindex.c
scanc.c convert to ansi knf, and fix a bug where the last arg was incorrectly 2001-08-09 08:03:34 +00:00
sha1.c Prevent the compiler from blowing up on sparc64. From mrg. 2000-09-17 19:55:28 +00:00
skpc.c Kill some more register declarations. 2000-03-30 12:19:46 +00:00
softfloat-macros.h o IEEE 754 floating-point completion code. 2001-04-26 03:10:44 +00:00
softfloat-specialize.h o IEEE 754 floating-point completion code. 2001-04-26 03:10:44 +00:00
softfloat.c o IEEE 754 floating-point completion code. 2001-04-26 03:10:44 +00:00
softfloat.h o IEEE 754 floating-point completion code. 2001-04-26 03:10:44 +00:00
strcasecmp.c Add a strcasecmp(), modified from chopps's strncasecmp(). 2000-11-01 19:37:18 +00:00
strcat.c
strchr.c
strcmp.c
strcpy.c
strlen.c
strncasecmp.c
strncmp.c
strncpy.c
strrchr.c
strtoul.c fix the null pointer access bug when arg2 (char **endptr) == NULL 2000-05-25 01:22:41 +00:00
subdi3.c
ucmpdi2.c
udivdi3.c
ulmax.c
ulmin.c
umoddi3.c
xordi3.c