Commit Graph

99488 Commits

Author SHA1 Message Date
itojun 0e227d8095 regress test for getaddrinfo/getnameinfo. 2002-07-05 15:42:41 +00:00
tsutsui 0fe49daba1 Add keydescs for swapctrlcaps, and clean up formating. 2002-07-05 14:29:06 +00:00
enami c7d782764a Add an entry for Avlab Technology, Inc. Low Profile PCI 4 Serial (in Japan,
sold by Kuroutoshikou as SERIAL4P-LPPCI.)
2002-07-05 14:10:32 +00:00
scw 8324df7cf0 Sync the ktrsyscall() arguments with -current reality. 2002-07-05 14:05:58 +00:00
scw 63fd77b84b Sync the sendsig() argument list with -current reality. 2002-07-05 14:04:00 +00:00
enami 76899eae10 Regen. 2002-07-05 14:03:33 +00:00
scw 8aecaeac04 Roll our own CWARNFLAGS. There are some things in MI code which the
SuperH version of gcc barfs over.
2002-07-05 14:02:31 +00:00
enami d2235ed345 Add vendor id of Avlab technology, Inc. and product id of Low Profile PCI
4 Serial (but not used actually).
2002-07-05 13:59:14 +00:00
joda d1acc508df add a couple of Analog device names 2002-07-05 13:50:47 +00:00
scw 881a4dcac0 Cast pointers first to uintptr_t before casting to register_t.
On SH-5, sizeof(register_t) is always 8, even if sizeof(void *) is 4
as is the case when compiling for ILP32.
2002-07-05 13:49:26 +00:00
abs eb73becae2 Ensure all INSTALL config files consistantly include PIPE_SOCKETPAIR,
MALLOC_NOINLINE, and VNODE_OP_NOINLINE. The exceptions are when they
include another config files that already defines the options, or if
they are for an embedded board, just define a few extra options, and
do not already define PIPE_SOCKETPAIR.
2002-07-05 13:40:10 +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
abs d38d8c6c75 Regen from GENERIC.in 1.2:
Only difference is that INSTALL now defines VNODE_OP_NOINLINE and MALLOC_NOLINE
2002-07-05 13:27:59 +00:00
abs a98e1ff5cc Ensure INSTALL media has PIPE_SOCKETPAIR, MALLOC_NOINLINE and VNODE_OP_NOINLINE 2002-07-05 13:18:21 +00:00
abs 7be2718ed4 Use MALLOC_NOINLINE (saves 11K on FOURMEG) 2002-07-05 13:06:45 +00:00
abs f20c5099f6 Introduce MALLOC_NOINLINE, which mirrors the effect of DIAGNOSTIC
and similar in making MALLOC/FREE not inline. Saves 11k on acorn26
FOURMEG config.
2002-07-05 13:05:14 +00:00
wiz c065268e41 Nitpicks in last. 2002-07-05 10:46:44 +00:00
gmcgarry 88d8a7dd2f Protect local variables in MALLOC/FREE to avoid shadowing
arguments.  Problem reported by David Laight: david@l8s.co.uk.
2002-07-05 06:54:45 +00:00
nathanw b15d37b9dc Note that these functions must be called with the scheduler lock held. 2002-07-05 04:03:15 +00:00
nathanw fefd2b4a29 Remove ess at isa. 2002-07-05 04:02:14 +00:00
lukem b8e7104984 be consistent about how va_[acm]time is set to the current time
(inspired by how procfs does it)
2002-07-05 03:24:06 +00:00
lukem 20657af5c3 set vap->va_ctime to vap->va_atime (the current time),
rather than vap->va_ctime (which is a no-op).
2002-07-05 02:02:00 +00:00
thorpej 6a5e35f6cc Return 0, not NULL, when we mean 0. 2002-07-05 00:16:26 +00:00
thorpej a08a4aecac Regenerate: Added __sigaction_sigtramp at #340. 2002-07-04 23:34:28 +00:00
thorpej 011d4d5f44 Add kernel support for having userland provide the signal trampoline:
* struct sigacts gets a new sigact_sigdesc structure, which has the
  sigaction and the trampoline/version.  Version 0 means "legacy kernel
  provided trampoline".  Other versions are coordinated with machine-
  dependent code in libc.
* sigaction1() grows two more arguments -- the trampoline pointer and
  the trampoline version.
* A new __sigaction_sigtramp() system call is provided to register a
  trampoline along with a signal handler.
* The handler is no longer passed to sensig() functions.  Instead,
  sendsig() looks up the handler by peeking in the sigacts for the
  process getting the signal (since it has to look in there for the
  trampoline anyway).
* Native sendsig() functions now select the appropriate trampoline and
  its arguments based on the trampoline version in the sigacts.

Changes to libc to use the new facility will be checked in later.  Kernel
version not bumped; we will ride the 1.6C bump made recently.
2002-07-04 23:32:02 +00:00
itojun 44f496c00a sync with audit result from kame.
- sprintf() can return negative value on error, so p += sprintf(p, blah)
  is unsafe
- signed/unsigned mixup
- wrong assumption: sizeof(time_t) <= sizeof(int)
- need to init errno to 0 before strtoul()
2002-07-04 23:30:39 +00:00
lukem 62e9bafd31 use cdev_mouse_init() for wsmux 2002-07-04 23:24:43 +00:00
itojun b5c8e03553 no need to care about crypto portion on import - license is
not compatible with netbsd.
2002-07-04 22:46:04 +00:00
thorpej 00e59f25b7 Eliminate two unused sigframe members. 2002-07-04 21:33:43 +00:00
itojun c77aaee737 correct Version #. cvs did something weird during pullups? 2002-07-04 21:27:45 +00:00
rjs 048edd40f2 Regenerate. 2002-07-04 21:00:32 +00:00
rjs e97486826e Add Peak System Technik CAN Controller. 2002-07-04 20:51:35 +00:00
christos 5740d23c54 Fix selection code [and remove trailing spaces] from Julio Merino. 2002-07-04 20:50:29 +00:00
thorpej 625abcf84b Eliminate two unused sigframe members. 2002-07-04 20:22:50 +00:00
thorpej bf7d5bca07 Eliminate 4 unused sigframe members. 2002-07-04 19:20:01 +00:00
christos 5438b79c88 restore 0 padding for %2 and %3. From David Laight. 2002-07-04 18:47:28 +00:00
scottr c509ab3f19 Add (unimplemented) cases to handle the 68020 and 68030 to
bus_dmamap_sync().  This corrects a fatal bug on at least some 68030-
based Macs. Closes PR 17180.
2002-07-04 18:09:59 +00:00
scottr ee8f37fa3f Add support for DHCP network configuration. 2002-07-04 17:59:33 +00:00
junyoung c8d459a985 alloc_attr -> allocattr
Approved by Matthias Drochner.
2002-07-04 17:58:02 +00:00
wiz d83279f5c1 Missed a trailing space. 2002-07-04 17:35:44 +00:00
wiz a556b47d76 mdoc'ify. Contents need cleanup (e.g., we don't have adb...). 2002-07-04 17:35:08 +00:00
junyoung 72b7223680 alloc_attr -> allocattr
Approved by Matthias Drochner.
2002-07-04 17:33:19 +00:00
junyoung 98edf775dc Rename rasops_alloc_cattr and rasops_alloc_mattr to
rasops_allocattr_color and rasops_allocattr_mono, respectively.
2002-07-04 17:15:28 +00:00
thorpej 2ce52bf270 Remove "_THREAD_SAFE" stuff that is not used on NetBSD. 2002-07-04 16:48:44 +00:00
thorpej fe53f433d8 The signal trampoline runs in userspace; do not profile it. 2002-07-04 16:44:10 +00:00
thorpej 9759b269b6 Add ENTRY_NOPROFILE(). 2002-07-04 16:43:21 +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
junyoung 3d826105dc alloc_attr -> allocattr
Approved by Matthias Drochner.
2002-07-04 14:37:10 +00:00
itojun 2cdb2f419e japan fix due to emperor change (1988) - 4/29 is now called greenary day,
12/23 is the new emperor's birthday.
2002-07-04 14:16:56 +00:00