Commit Graph

97550 Commits

Author SHA1 Message Date
briggs
f03fce66ce Fix odd typo from addition of pba_bridgetag. 2002-05-22 23:54:14 +00:00
bjh21
f402b4faa2 Regen (sorting). 2002-05-22 23:46:53 +00:00
bjh21
2a1092efaa Sort the Wild Vision parallel card into order. 2002-05-22 23:46:36 +00:00
bjh21
1e170f49cd Regen (merge of RISC iX manufacturers list). 2002-05-22 23:27:16 +00:00
bjh21
35010db489 Merge in the list of manufacturer IDs from <arm/xcb.h> on RISC iX 1.2.
Where they differ with what we've had historically, I've kept our value
and added a comment.  The RISC iX list stops at 65 (0x41).
2002-05-22 23:23:23 +00:00
bjh21
205186731b Substantial overhaul of podule IDs. Unlike on PCI or USB, podule IDs are
assigned by RISCOS Ltd (and were assigned by Acorn) to be unique across all
manufacturers.  This means that associating each one with a manufacturer (and
checking the manufacturer when attaching) is bogus.  Thus, we don't do that
any more.

This should have the pleasant side-effect of getting APDL IDE interfaces
working, since they're just ICS ones with a different manufacturer ID.
2002-05-22 22:43:13 +00:00
bjh21
6d59ad5ec5 Add podule_readcmos(), for getting the CMOS configuration for a podule.
Only implemented on acorn26 for now, but the acorn32 implementation should
be pretty much identical.
2002-05-22 22:13:12 +00:00
manu
d72c924447 First implementation of a few usync_cntl commands. 2002-05-22 21:32:21 +00:00
thorpej
d4260bb037 Back out an unintended change. 2002-05-22 19:06:23 +00:00
lukem
fa9f459228 unused 2002-05-22 18:04:04 +00:00
wiz
f7d76b1062 bcmp -> memcmp. 2002-05-22 16:03:14 +00:00
wiz
45bbb2368f bcopy -> memcpy. Reviewed by Greg Oster. 2002-05-22 15:40:47 +00:00
uch
c46d7a2d08 increase partition to 16. 2002-05-22 15:02:22 +00:00
uch
ba28fa4dc2 change disklabel to
16 partition.
 no bsd area of the disk.
2002-05-22 15:01:33 +00:00
tron
f2679ef4e3 Revert last change after protoype of getnameinfo(3) has been changed back. 2002-05-22 14:42:37 +00:00
drochner
7a829b7e85 -Subtract vm_map_min(kernel_map) from kernel virtual addresses to get offsets
into kernel_object where this was missing.
 (important here because VM_MIN_KERNEL_ADDRESS != 0)
-add some diagnostics
-eliminate some differences to other Utah derived pmaps
2002-05-22 14:34:26 +00:00
drochner
60b6f587bc Subtract vm_map_min(kernel_map) from kernel virtual addresses to get offsets
into kernel_object where this was missing.
This is a no-op on ports where VM_MIN_KERNEL_ADDRESS==0, ie all but
cesfic.
Confirmed and corrected by Chuck Silvers.
2002-05-22 14:29:23 +00:00
simonb
c9e9cab056 We don't need the code to discard setgid privileges if we aren't setgid! 2002-05-22 13:12:27 +00:00
wiz
5f7ebe2497 Grammar fix, and drop a .Pp after a section header. 2002-05-22 10:22:41 +00:00
bjh21
6bd902a1db Adapt for recent lib/libc/softfloat changes. 2002-05-22 10:20:20 +00:00
kleink
a24f74d0fd Turn the flags argument to getnameinfo(3) back into an int (from unsigned
int); this is consistent with RFC2553, the current draft-ietf-ipngwg-
rfc2553bis-05 and the majority of deployed implementations.

Also, there is an effort under way to have this changed back to int in
XBD6/XSH6, XNS, and POSIX-2001 TC1.
2002-05-22 09:42:37 +00:00
itojun
0ee7a49136 if called multiple times with different names, only the last pid file
will be kept
2002-05-22 07:37:26 +00:00
itojun
c2c2980f42 change return type of pidfile(3) to int (-1 on error), to inform caller
of errors.  behavior now in sync with openbsd implementation.
(see tech-userlevel and bsd-api-discuss)
2002-05-22 07:31:40 +00:00
simonb
1c5a1746ae Fix space/tab indentation nit. 2002-05-22 05:49:57 +00:00
manu
381f22f4de File forgotten in the previous commit. 2002-05-22 05:14:51 +00:00
manu
23f31f2a3a First implementation of IRIX /dev/usemaclone functionnalities. This
successfully emulates a few test program that use poll semaphores,
including the attach-to-file-descriptor-and-select feature.

There are a few issues:
1) at least one ioctl need to set retval. We handle this in irix_sys_ioctl()
by replacing the data argument by a pointer to a strucutre in the stackgap
that carries the real data and retval. The underlying ioctl methods can
therefore retreive both data and retval.

2) usemaclone is a cloning device: each time it is open, it creates a new
context, and ioctl operation on each open file descriptor will lead to
different behavior. This functionnality is available in NetBSD through the
devvp branch. This first implementation does not use devvp yet, but this
should be done later. Currently, we create a new vnode, and we provide our
own vnode operations. Some operation are applied to the cloned vnode, others
are applied to the original vnode. The v_data field is used to hold a
reference to the original vnode so that we can work on it.

3) at least the setattr vnode operation needs some customisation: IRIX
libc relies on the fact that fchmod on /dev/usema will return 0 in case
of failure.
2002-05-22 05:14:00 +00:00
manu
c56a07ad1c Added an irix_machdep.h (in the future, COMPAT_IRIX will be available on
several MIPS architectures)
2002-05-22 04:59:45 +00:00
tv
d2f1bd9cd1 Wouldn't it be nice if there were only one thing that needed changing on a
full version bump?  (Fix comment after __NetBSD_Version__.)
2002-05-22 03:29:09 +00:00
tv
3479915ba0 And it would probably be nice if 1.6 were reflected in the list of version
numbers.
2002-05-22 03:27:52 +00:00
tv
9f4e74bc62 1.6 has branched. Welcome to "NetBSD 1.6A". 2002-05-22 03:18:19 +00:00
itojun
6a3445b8a3 be picky about string manipulation in reverse lookups 2002-05-22 02:39:15 +00:00
itojun
b617695b31 use strlcpy, not strcpy 2002-05-22 01:52:24 +00:00
uch
dd2fce922b fix device minor. 2002-05-22 01:28:57 +00:00
nathanw
86d9b59155 We're up to libcurses 5 these days. 2002-05-22 00:26:10 +00:00
bjh21
8f63ecd333 Correct the types of float_rounding_mode and float_exception_flags. 2002-05-22 00:01:35 +00:00
bjh21
e60b25c155 Adapt for recent changes to lib/libc/softfloat 2002-05-21 23:58:42 +00:00
nathanw
be856ef968 When attempting to guess the filesystem type from the disklabel, don't
consider a out-of-range partition letter at the end of the special
device node to be a fatal error; just return NULL and let the caller
fall back to FFS.

This fixes the "mount -u /kern/rootdev /" done by the script installer.

XXX this is still gross, and breaks things like
"mount /my/strange/dev/path/b /mnt". Perhaps it should stat the node
and use the minor number as an index instead?
2002-05-21 23:51:19 +00:00
bjh21
936b7f4cf8 Import the 32-bit version of SoftFloat 2a and separate it and the 64-bit
version into different directories.  Which version a given port uses is
controlled by the SOFTFLOAT_BITS make variable.  This is set to 64 (which
uses the same code we had before) by default.  32-bit platforms that don't
need extended precision support might get better performance by using 32.

Set the ARM port to use the 32-bit version of SoftFloat, since this is more
than a factor of two faster than the 64-bit version.  This should get the
floating-point performance back to what it was in 1.5.
2002-05-21 23:51:04 +00:00
itojun
861f132ad1 use pidfile(3). sync w/kame 2002-05-21 23:35:18 +00:00
rafal
7a98b3fbfe Another one from Scott Taylor: add boot.elf to sgimips MD base list. 2002-05-21 23:23:48 +00:00
itojun
1b614e8939 minor sync w/kame (prototype location) 2002-05-21 23:16:39 +00:00
rafal
4a3f0ef3a4 sysinst updates for sgimips from Scott Taylor with some tweaks from me.
For now, we keep the GENERIC/GENERIC_INDY sets, but make the labels a
bit clearer as to their purposes.

XXX: Still need code to install bootloader into volhdr; need either to
integrate into MI installboot or fix up sgivol (I have changes from Scott
for sgivol, just haven't folded them in yet).
2002-05-21 21:59:03 +00:00
rafal
3ac921616c Make sure to read from stdin, not stdout. From Scott Taylor. 2002-05-21 21:53:35 +00:00
rafal
722dca8509 Turn kernels into ecoff as well by default. 2002-05-21 21:01:34 +00:00
rafal
a5a7e0f25c Add RAMDISK kernels for installation. 2002-05-21 21:00:35 +00:00
rafal
be1025a9ed Add glue for release stuff, extra ramdisk kernels, etc. 2002-05-21 20:56:19 +00:00
rafal
8917c72df2 Release machinery for port-sgimips; original work by Scott Taylor (sgimips
at mrynet.com), NDWO-ified by me (so all bugs are probably my fault).
2002-05-21 20:54:16 +00:00
rafal
3d46bd9251 For reference purposes (as it currently doesn't build): add miniroot build
directory; the ramdisk build also relies on the termcap entry here, so this
isn't totally useless.  All based on work by Scott Taylor (sgimips at
mrynet.com), with bugs most likely added by me.
2002-05-21 20:51:34 +00:00
matt
077fee836c Add code to distinguish between apple and sun gem cores. 2002-05-21 19:58:24 +00:00
tsutsui
8157a94d99 Define and use both HOSTTOTARGET32() and TARGET32TOHOST() properly.
(just for consistency)
2002-05-21 16:49:19 +00:00