Commit Graph

51570 Commits

Author SHA1 Message Date
christos
c4f1bab08e Make the usage consistant and document it:
if the path was given in a user buffer, return the new path in
a user buffer.
if the path was given in a kernel buffer, allocate a new kernel buffer
to return the new path; the caller is responsible for freeing the buffer
if we fail always set the new path to NULL.
This usage broke when I adde the /../ shortcut. Noted by cgd.
1999-04-27 11:36:47 +00:00
nisimura
3e9afa8b4d - Save Mach_splX() calls which don't fit well with DECstation. MIPS
spl machinary will be reworked, someday.
1999-04-27 08:07:26 +00:00
cgd
f355b96b7a note that this document is now out of date 1999-04-27 06:39:49 +00:00
cgd
7e3ad9e963 evil hack to work around non-fixed mmap requests 1999-04-27 06:37:12 +00:00
ross
c36a5f5190 Unconditionalize `rval' declaration referenced in usr.bin/chpass/ via .PATH 1999-04-27 06:08:58 +00:00
thorpej
ce5ede558e Fix excessive memory usage, and fix handling of SZOMB processes. PR #7164,
Jaromir Dolecek.
1999-04-27 06:02:09 +00:00
cgd
6ef8f59ae6 dynamic executable/loader handling, done right 1999-04-27 05:38:08 +00:00
cgd
e85db685e9 * don't have the [onz]magic setup functions set up the stack.
* add arguments describing the vnode and ecoff header of the executable
  being set up to the [onz]magic setup functions.
* export the stack setup function and the [onz]magic setup functions.
* call the MD ecoff hook _before_ the [onz]magic and stack setup
  functions, and bail out early if the MD hook sets up vmcmds.
1999-04-27 05:36:43 +00:00
cgd
5338149302 correct comment: turn off set-id if MNT_NOSUID is set, not MNT_NOEXEC. 1999-04-27 05:28:44 +00:00
thorpej
0837de9c4b Add support for the Fujitsu Towa LA501 Ethernet card. PR #6524, Stephen Ma. 1999-04-27 04:56:18 +00:00
thorpej
ae3e4919c2 Regen. 1999-04-27 04:52:04 +00:00
thorpej
7931c9f84e Add the Fujitsu LA501 Ethernet card. PR #6524, Stephen Ma. 1999-04-27 04:48:43 +00:00
simonb
31aebad029 + Build (but don't install) INSTALL and RAMDISK kernels.
+ Make installation/diskimage installation/netboot in ${RELEASEDIR}

+ snap_md_post depends on the diskimage, the diskimage tar file and
  the install kernel, and installs these into the right places in
  ${RELEASEDIR}.
1999-04-27 04:36:25 +00:00
cgd
743038a6cb clean up for ecoff_machdep.h changes, look for the loader 1999-04-27 03:19:44 +00:00
simonb
ae25beb28c + Put directories to create in ${RELEASEDIR} into a variable that
port-specific Makefiles can add to.
+ Separate snap_md into snap_md_pre and snap_md_post that are depended
  on before and after snap_kern.
+ Build all kernels listing in ${BUILD_KERNELS}, but don't put them in
  ${RELEASEDIR}.
1999-04-27 03:08:02 +00:00
thorpej
d5a491540c Disable power management until the bug that caused it to hang the
machine can be found.

Addresses kern/6488, from Thorsten Frueauf.
1999-04-27 02:53:30 +00:00
cgd
7b8e7abdd6 use osf1_exec_ecoff_hook() 1999-04-27 02:33:35 +00:00
cgd
6f2f5becb6 Alpha ECOFF object type definitions 1999-04-27 02:32:33 +00:00
cgd
fe6198f6e2 do special OSF/1-specific ECOFF recognition (not yet complete), and
implement a copyargs function to do special argument copying for
emulated processes.
1999-04-27 01:45:03 +00:00
simonb
f76b42c7a5 Make the "all" target depend in the ramdisk image and not the crunched
binary.
1999-04-27 01:37:13 +00:00
simonb
1ba2319263 Gzip the diskimage. 1999-04-27 01:34:49 +00:00
thorpej
4f0ff8a077 Const'ify mbtypes[]. 1999-04-27 00:05:44 +00:00
ad
3dc48bf302 Bump WSFONT_L2R/R2L by +1 so 0 can mean no specific order is required.
Change entry for QVSS to match bitorder.
1999-04-26 23:41:57 +00:00
thorpej
82f0525910 Make the 3Com Etherlink XL driver work on big-endian systems. From
Izumi Tsutsui, PR #7279.
1999-04-26 23:28:31 +00:00
ad
aa89ae23ba Last fix broke kbd and mouse input under X for the console device. Fixed. 1999-04-26 23:26:11 +00:00
thorpej
1eb689a712 Make the VIA Rhine driver work on big-endian systems. From Izumi Tsutsui,
PR #7305.
1999-04-26 23:19:10 +00:00
thorpej
5d82bfc656 Garbage-collect VM_MBUF_SIZE. 1999-04-26 22:47:34 +00:00
thorpej
b8073b401b Garbage-collect the VM_MBUF_SIZE constant. Instead, use the size
(nmbclusters * mclbytes), so that the right amount of KVA space is
allocated if those variables are patched.
1999-04-26 22:46:44 +00:00
thorpej
44ee87006e Add support for kern.mbuf.* 1999-04-26 22:13:52 +00:00
thorpej
3d23eb3ce3 More improvements to mbuf and mbuf cluster allocation:
- Initialize mbpool and mclpool with msize and mclbytes, respectively,
so that those values may be patched and have an actual affect on the
next system reboot.

- Set low water marks on mbpool (default: 16) and mclpool (default: 8).
This should be of great help for diskless systems, which need to allocate
mbufs in order to clean dirty pages; the low water marks increase the
chances of this being possible to do in memory starvation situations.

- Add support for getting/setting some mbuf-related parameters via sysctl.
* msize and mclsize (read-only)
* nmbclusters (read-only unless the platform has direct-mapped pool pages,
in which case the value can be increased).
* mblowat and mcllowat (read/write)
1999-04-26 22:04:28 +00:00
thorpej
879070ef90 Add support for the kern.mbuf sysctl node. 1999-04-26 21:56:23 +00:00
thorpej
b80d6596cd Add mbuf sysctl variables: msize, mclbytes, nmbclusters, mblowat, and
mcllowat.
1999-04-26 21:55:53 +00:00
thorpej
3750ef06a0 Add mbuf sysctl definitions. 1999-04-26 21:54:46 +00:00
thorpej
c92294ac82 Add mblowat' and mcllowat' low water mark variables for mbufs and mbuf
clusters.
1999-04-26 21:53:59 +00:00
is
af3d525792 Fix adosfs's locking panic 1999-04-26 20:33:18 +00:00
ad
6a54b4d668 Update to reflect current status of driver. 1999-04-26 20:27:29 +00:00
is
7d8031561f Adapt minimum memory and disk requirements to reality:
- due to a pmap bug, really low memory booting doesn't work
- NetBSD-1.4 needs much more disk than earlier releases.
1999-04-26 19:29:45 +00:00
is
655935bd49 Remove comments about additional bootblock remarks, and add additional
remarks about bootblock limitations where they were missing.
1999-04-26 19:18:23 +00:00
cgd
bd33916784 exec internals have been moved (and improved) to osf1_exec.c. Not much
there yet, but more to come.
1999-04-26 18:34:05 +00:00
abs
0d2cfcdb5a Update vanity config 1999-04-26 18:30:45 +00:00
mellon
3c82a97a8d Merge with ISC source. 1999-04-26 15:47:03 +00:00
mellon
58d7576468 Patchlevel 27 1999-04-26 15:43:06 +00:00
kleink
5ea46286eb mii_phy_auto(): don't rely on an implicit declaration of the waitfor argument. 1999-04-26 14:48:57 +00:00
ad
0c221127eb More fixes to get the PXG working and keep the PX happy. 1999-04-26 12:05:11 +00:00
ad
e54fa8abad Fix silly bug where fbconnect() doesn't realize that it's already been
called during early console initalization, then pouts because there appears
to be n+1 framebuffers. This whole thing is a mess.
1999-04-26 12:03:53 +00:00
is
5baac5a0fb Disable line editing for the ftp-scripts. Apparently, this is what makes
ftp installs work again.
1999-04-26 10:50:44 +00:00
nisimura
56a9b84b91 - MIPS processors do not impose inclusive (nesting) interrupt levels with
their interrupt lines.  The notion and implemention of 'spl' are left
for how target ports approach to it.
1999-04-26 09:42:14 +00:00
nisimura
9e798fbe20 - Forgot to commit these two. 1999-04-26 09:36:05 +00:00
nisimura
c33ad91e49 - Sweep machdep.c; mostly imported from a development branch. Little
exposure of TC device any more.  Correct comments which are no longer
feasible.  Reorder declarations and definitions.  Introduce 'clkread'
pointer to pull up model dependent high resolution timer value.  Have
prom_systype() call.
- Place routines for model dependent high resolution timer.
- Program IOASIC registers inside os_init() call and nuke ioasic_init().
1999-04-26 09:23:21 +00:00
hannken
c2e396b2c7 Fix buffer allocation in function `raw_cat'. It was possible to get a
buffer size of zero if stdout has a block size of 0.
The command `rsh <host> cat <files>' gives no output and no error.

- Allocate a minimum of BUFSIZ bytes for buffer.
- Use a static buffer if either `fstat' or `malloc' fails.
- Do the allocation once since stdout will not change block size.
1999-04-26 09:15:59 +00:00