Commit Graph

96099 Commits

Author SHA1 Message Date
pk ebe575d3ca BUS_ADDR(): avoid signed conversions. 2002-04-23 07:17:29 +00:00
manu c7dcec33a1 Added IRIX /dev/usema and dev/usemaclone (void driver for now, will be
filled later)
2002-04-23 06:48:46 +00:00
augustss 0405958cec Check for write permission for some ioctls. 2002-04-23 06:34:11 +00:00
itohy f3e8a130b8 Make sure using stdin/stdout/stderr is safe
after opening any file.
2002-04-23 06:10:42 +00:00
gmcgarry 8561815f09 Clarify that only miniroot installs are supported ATM. 2002-04-23 05:56:44 +00:00
gmcgarry 7df0b0a5ed - only describe the floppy directory if floppies are supported for machine
- the kern set has grown an extension
- add new kernels for hp300
2002-04-23 05:55:23 +00:00
manu ee5b3b3977 Added a void IRIX /dev/usema and /dev/usemaclone pseudodevice driver.
IRIX uses this for implementing atomics operation on semaphores

This will be filled later.
2002-04-23 05:51:14 +00:00
manu f599dce291 Added fchdir, fchown and fchmod system calls 2002-04-23 05:47:38 +00:00
lukem 1608f561f2 after consideration, don't bother with compat symlinks, as it might
cause end-user confusion if the syntax changed between
/usr/mdec/installboot and /usr/sbin/installboot
2002-04-23 02:39:33 +00:00
fredette fd6a9fbbbf Be sure to use /usr/sbin/installboot instead of /usr/mdec/installboot,
since the status of any compatability link or script is up in the air.
2002-04-23 02:27:40 +00:00
bjh21 93fb47689e Sun Workshop C 5.0 objects to generating object files with suffixes other than
.o.  Work around this by generating host object files with a .lo.o suffix and
then renaming to .lo.
2002-04-23 00:15:45 +00:00
bjh21 a64574e0e7 Add test for alloca() and <alloca.h>, since Sun Workshop C 5.0 needs this. 2002-04-23 00:13:50 +00:00
bjh21 bfebd5429d <stdint.h> belongs before <sys/endian.h>. 2002-04-22 23:40:10 +00:00
bjh21 35d3ac9968 Define __CONCAT if the host doesn't. 2002-04-22 23:39:38 +00:00
bjh21 43102f34cc When testing __STDC__, consistently use #ifdef rather than #if. The Sun
Workshop 5.0 C compiler defines __STDC__ to 0 unless it's in full-ANSI mode,
and in full ANSI mode it won't give us 64-bit integers (at least on a 32-bit
CPU).
2002-04-22 23:31:44 +00:00
bjh21 1723b1333c When printf'ing a size_t, cast it to unsigned long and use a %lu format.
This gets rid of a warning when compiling for ARM.
2002-04-22 23:24:10 +00:00
bjh21 a3e433c6fa include <bsd.own.mk> for _SRC_TOP_ 2002-04-22 23:23:05 +00:00
kleink 0b463cc8f9 Express tempsave and disisave addresses using the symbolic names of the
exception handlers which they are `borrowed' from.
2002-04-22 23:20:08 +00:00
fredette 3da37c5b67 Converted sun2 to the new distrib world order. It is now
possible to do full release unprivileged cross-builds.
2002-04-22 21:17:48 +00:00
fredette 5c3869c64c Removed the old installboot, we now use the new /usr/sbin/installboot.
Now install a raw binary version of bootxx, since that's what this
new installboot expects.
2002-04-22 21:15:40 +00:00
fredette 3b190a12d6 To make things build correctly, rely totally .PATH and never
have source files be explicit paths.
2002-04-22 21:13:34 +00:00
fredette 7493ba97a6 Install the compatability symlink for sun2.
In the sun68k handler, add some sync()s to make sure we
get a coherent picture of the filesystem.  Maybe should
be in the MI filesystem code?
2002-04-22 21:11:45 +00:00
wiz 2eb0022dc2 Sort sections. 2002-04-22 21:10:55 +00:00
fredette d39487cb88 Added support for the __ramdisk pseudo-argument. When given,
we make fewer devices to conserve inodes on the ramdisk.
2002-04-22 21:09:14 +00:00
ad 8c02ac5aed Add icpsp. 2002-04-22 21:07:47 +00:00
ad 9a09578e25 Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.
2002-04-22 21:05:19 +00:00
bouyer 84b0f1e37d Adapt for script "wait MSG_OUT after select" change: now, when we get
selection timeout, SCRATCHE points to the slot which triggered the timeout,
not the next one.
2002-04-22 20:47:20 +00:00
bouyer dbe8f22921 Regen: block on wait MSG_OUT after a SELECT. 2002-04-22 20:45:59 +00:00
bouyer 5242b16c65 It seems that the script processor continue to exec a few intructions
after the selection timeout is posted but the number executed isn't
reliable. So wait for MSG_OUT rigth after the select so that the state of
the script when the interruption is handled is known.
2002-04-22 20:45:27 +00:00
bouyer 8ba368a0b6 Really, don't set siop_cmd->tag in setup_table() 2002-04-22 20:31:49 +00:00
matt fd0e30f1c5 Let's not free an uninitialized variable. 2002-04-22 19:29:55 +00:00
bjh21 8515070701 Use the correct subdir name. 2002-04-22 19:24:28 +00:00
bjh21 c5b9549c5f Create sys/endian.h if it doesn't exist, since rmd160.c includes it directly. 2002-04-22 19:23:33 +00:00
uch d1b9873090 make these compile with gcc -O0 2002-04-22 18:57:43 +00:00
kleink 0b82377f11 Fix a swapped register pasto(?) introduced in rev. 1.17. 2002-04-22 18:31:11 +00:00
lukem 878d42b158 Add sun2 backend from Matthew Fredette.
(Implemented with "sun68k.c" as it should eventually support "sun3" as well.)
2002-04-22 17:17:35 +00:00
rearnsha 05430be236 Ensure we take any double-word adjustment into account when
constructing the epilogue sequence.
2002-04-22 16:14:22 +00:00
lukem ed5fff8877 formatting consistency frobs 2002-04-22 16:03:07 +00:00
bouyer b5c850f201 Regen: tagged queuing support, and led on/off fragments. 2002-04-22 15:55:37 +00:00
bouyer 9080ea0aa3 Add the led_on/led_off script fragments. 2002-04-22 15:55:09 +00:00
bouyer 4cda08fb6e Add support for tagged queuing to esiop (256 tags per device).
For this add another indirecton: the DSA in the LUN table points to
a table of DSA indexed by the tag number when tagged command is in use.
For non tagged command, the LUN DSA still points to the tables describing the
xfer directly.
2002-04-22 15:53:39 +00:00
bouyer e3f96dde51 Fix last change: assign siop_cmd->tag in callers instead of siop_setuptables(),
and use siop_cmd->tag instead of xs->xs_tag_id. This way siop can use
xs->xs_tag_id + 1 without interferences with esiop.
2002-04-22 15:48:55 +00:00
bouyer 458fca4e6a Add esiop at pci. 2002-04-22 15:45:19 +00:00
lukem 2e4e525416 add -I. to HOST_CPPFLAGS 2002-04-22 15:18:57 +00:00
ad 034f7b1db1 Name the thread after the device. 2002-04-22 15:16:56 +00:00
lukem 7de4309228 add UINT32_MAX if it's not defined 2002-04-22 15:09:19 +00:00
wiz 554a5b8a3a Don't default the portname to devices that don't exist on NetBSD. 2002-04-22 13:08:34 +00:00
augustss a3343212c3 Add spic. 2002-04-22 13:03:06 +00:00
augustss 93e745b84c Another disk quirk. 2002-04-22 12:48:40 +00:00
augustss 0545947a9e Add spic. 2002-04-22 12:43:50 +00:00