Commit Graph

11 Commits

Author SHA1 Message Date
scw
1a4432c02e It helps to use the right register for the return value. 2002-07-10 13:21:56 +00:00
scw
eb817bdf5a Add some missing FP support code. 2002-07-10 13:09:04 +00:00
scw
2ff17a3936 Ditch the leading underscores for bswap*() 2002-07-10 12:42:28 +00:00
scw
5754eadb38 Compensate for an over-pedantic assembler. 2002-07-10 11:45:51 +00:00
scw
c7810bb6a8 Fixed a botched blink insn. 2002-07-10 11:43:16 +00:00
scw
9f405d4e5c Don't include <machine/endian.h> in asm source. 2002-07-10 11:29:32 +00:00
scw
2ecd583666 Fix register number botch. 2002-07-10 11:05:19 +00:00
scw
15107aacfc Remove whitespace from WEAK_ALIAS macro invocation. 2002-07-10 11:02:24 +00:00
scw
0c3e5a70d1 Use C versions of string functions for now. 2002-07-10 09:12:21 +00:00
scw
ad8fdcc166 Forgot these in the last commit. 2002-07-05 13:32:58 +00:00
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