Commit Graph

7162 Commits

Author SHA1 Message Date
scw 2675306718 Add IEEE FP mode control functions and definitions for SH5. 2002-07-12 12:20:24 +00:00
scw 4c8e482124 Add SH5 support. (Missed these during the last sweep of my local tree) 2002-07-11 21:46:21 +00:00
thorpej ad4531774a Need <machine/psl.h> and <machine/signal.h>. Problem pointed out
by Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>.
2002-07-11 17:47:11 +00:00
scw 11c9d0366e Fix a tryping error. 2002-07-11 17:41:40 +00:00
scw 8c43a4afe4 Userland side of SH5 signals/setjmp. 2002-07-11 14:23:04 +00:00
wiz 0b7a1dde4c Use Fn instead of Xr to ourselves in one place. 2002-07-10 23:37:19 +00:00
wiz f2dd6f768a Remove Xr to ourselves from SEE ALSO. 2002-07-10 23:37:03 +00:00
wiz 1d92e86fd4 Remove Xrefs to ourselves in SEE ALSO. 2002-07-10 23:31:32 +00:00
wiz d3bfd7c06d Drop trailing space. 2002-07-10 23:31:07 +00:00
wiz 95238a678f Sort SEE ALSO. 2002-07-10 23:30:48 +00:00
wiz d0cb86c2c8 Markup improvement. 2002-07-10 22:24:32 +00:00
yamt 38b935dc19 add CAVEATS. 2002-07-10 14:46:10 +00:00
yamt 673cbedc13 import CAVEATS sections from OpenBSD.
with little tweak by me.
2002-07-10 14:37:12 +00:00
scw 1a4432c02e It helps to use the right register for the return value. 2002-07-10 13:21:56 +00:00
scw c7b95fdc37 Use an assembler trampoline to call the real start entrypoint, at least
until we switch to the native toolchain.
2002-07-10 13:13:47 +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 10344af629 Minor correction: s/i386/SH3/ 2002-07-10 09:17:02 +00:00
scw 2dceef3c5c SH-5 kvm glue, based on sh3 version. 2002-07-10 09:16:29 +00:00
scw 0c3e5a70d1 Use C versions of string functions for now. 2002-07-10 09:12:21 +00:00
kent 4d7aae1097 Avoid redundant memory access.
Fix diagnostic code for bcopy().
2002-07-10 06:01:51 +00:00
thorpej c061e6bf8b Enable the libc-provided signal trampoline. The old __sigaction14
entry point has been replaced by the new __sigaction14() which is a
wrapper around the __sigaction_sigtramp system call (which is itself
not directly exposed outside of libc).

No shared library version change is necessary; no new symbols
are exposed outside of libc.
2002-07-10 04:29:05 +00:00
thorpej 86223838f0 Also need <machine/fsr.h> and <machine/psl.h>. 2002-07-10 03:27:23 +00:00
thorpej 522edd584e Add prototype for __sigaction_sigtramp(). This system call is used
only by libc internally, and thus does not need to be exported in
any other header file.
2002-07-09 23:35:49 +00:00
thorpej 8aa4d3caec New __sigaction14() system call stub which registers the signal
trampoline, and the signal trampolines themselves.

NOTE: These are not yet enabled; they will be enabled after further
testing on more architectures.
2002-07-09 23:32:35 +00:00
blymn ecd0dffb79 * Set character attributes when adding pad to field, null fields will
now be displayed correctly (fixes part 1 of pr 17480)
* Prevent field manipulations on null fields, the fields have nothing in
  them so they should not be manipulated.
2002-07-08 10:43:37 +00:00
bjh21 fcbf1cae9e Mention lchflags in the NAME section. 2002-07-07 14:59:49 +00:00
fvdl f80efcf37c Enable building libx86_64 2002-07-06 10:19:08 +00:00
yamt cd7f302646 s/resolved_name/resolvedname/g
s/resolved_path/resolvedname/g
2002-07-06 02:46:41 +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
christos 5438b79c88 restore 0 padding for %2 and %3. From David Laight. 2002-07-04 18:47:28 +00:00
thorpej 2ce52bf270 Remove "_THREAD_SAFE" stuff that is not used on NetBSD. 2002-07-04 16:48:44 +00:00
kent 763eb5645a memcpy/memmove/bcopy: Add diagnostic code to check pointer wraparound.
The code is enabled only when _DIAGNOSTIC is defined.
2002-07-04 15:48:40 +00:00
fvdl bda216ee7f This is the x86_64 version, not i386. 2002-07-04 12:24:40 +00:00
fvdl 04bc80b71e Add and enable x86_64_iopl 2002-07-04 10:53:26 +00:00
blymn 8845943881 Prevent set_field_buffer from redrawing field that is attached to a form
when the form is not posted.
2002-07-04 10:51:02 +00:00
pooka ff89c16683 adapt for vis()/svis() check separation 2002-07-03 17:18:09 +00:00
pooka 2fcb6fa0a5 add check for HAVE_USER_FROM_UID 2002-07-03 17:17:35 +00:00
wiz 78ad51bec2 The function is called scale_menu, not scale_window.
Closes lib/17381.
2002-07-03 11:24:46 +00:00
itojun 024d45a179 use sysctl(kern.urandom) if /dev/urandom is not present (like chroot jail) 2002-07-02 17:10:19 +00:00
itojun a4cf77c9bb pacify lint. from he@netbsd 2002-07-01 22:05:08 +00:00
itojun 754f8759a4 lint clean. from martin husemann 2002-07-01 21:05:56 +00:00
bjh21 3763adaefd Avoid leaving junk in the top half of R0 on return.
This fixes port-arm/17440.
2002-07-01 19:07:18 +00:00
fredette 58e86abcb7 Changes to allow libc to compile as PIC on the hppa. 2002-07-01 16:00:50 +00:00