Commit Graph

49389 Commits

Author SHA1 Message Date
thorpej
195403fe38 malloc the arg temporary buffer, rather than declaring it as an automatic
array of ARG_MAX size.  ARG_MAX is currently 256k, which causes a rather
serious stack overflow (kernel stacks are not very large, usually 8k).

Fixes memory corruption problems observed after accessig /proc/1/cmdline
during tests.  Problem in my case manifested itself as massive lossage
in ffs_sync(), resulting in a crash, and sometimes, pooched file systems.

XXX This could, and probably should, be rewritten to use a much smaller
temporary buffer, and a loop around uiomove().
1999-03-13 22:26:48 +00:00
ragge
8cf98df79f Fixes for vax 4K pages. (Whereever did these go???) 1999-03-13 22:20:49 +00:00
ragge
f285208477 Need a small prototype. (Where did it go?) 1999-03-13 22:15:25 +00:00
sommerfe
6a5409ffe2 Update comment about newfs parameters for 1.44M disks
(and make it clear they're not going to get better)
1999-03-13 21:43:34 +00:00
is
a02a989bcf The 53c720 and up are really different. For example, the method to determine,
when disconnecting etc., how much data were transferred, has changed.
Symptom: SIOP invalid instructions when doing data transfers to disks that
disconnect.
XXX The bits etc. need to be defined correctly in the siopreg.h file, and
symbolic values used.
1999-03-13 21:30:55 +00:00
sommerfe
72b3c2be3c Shrink ramdiskbin by ~184K.
- use libhack to avoid dragging in YP and DB (saves about 108K of libc
   we have no need for).
 - use more of the -DSMALL utils from distrib/utils/x_*  (saves about 76K)
	(except x_gzip, which is actually bigger).
People who want to be able to install files which have been translated
into EBCDIC, or install over XNS, can probably figure out other ways
to get this done.

This means that a boot image again fits on a single 1.44M floppy, with
about 50k to spare.
1999-03-13 21:21:51 +00:00
tron
32e0182e15 $(OBJS) -> ${OBJS} 1999-03-13 20:58:25 +00:00
sommerfe
2f946a25db Don't over-reserve space in the tarball for the bootfile; strip the bootblocks
(just being used as a "spacer" in the tarball).
1999-03-13 20:44:16 +00:00
ragge
4d77aa3c15 Avoid warning if !QBA. 1999-03-13 20:26:50 +00:00
sommerfe
d9994f64bd Copy compressed kernel with miniroot inside to "netbsd" rather than
"netbsd.gz".  This speeds the boot by a small but perceptable amount.

The time between when the bootblocks print "no such file or directory"
for netbsd and when they show signs of actually having found netbsd.gz
is long enough to be noticeable, and looks bad..
1999-03-13 20:02:32 +00:00
christos
3456da383e Fix i386 problem, when we are relocating ourselves... We cannot depend
on the address of GOT or _DYNAMIC.
1999-03-13 20:00:14 +00:00
sommerfe
2ccf28fc88 Install bootblocks before the kernel; this speeds the boot slightly as
the system doesn't have to seek to the end of the disk and then back
again.
Use gzip -9 to try to squeeze every last bit in.
1999-03-13 19:58:44 +00:00
drochner
c0433847af make complaints about missing platform support match reality 1999-03-13 19:46:58 +00:00
is
48c33b2e56 Adjust to match the assembled code 1999-03-13 19:42:52 +00:00
sommerfe
40b1ba1fb9 Use installboot and bootblocks from DESTDIR 1999-03-13 19:19:03 +00:00
sommerfe
93c6dea365 Make it more clear where this came from. 1999-03-13 19:11:54 +00:00
sommerfe
a8ff351bae Warnsify.
Add reduced version of getcap routines, so sysinst need not drag in
the database goop via libtermcap.
1999-03-13 19:08:43 +00:00
drochner
04937535d2 cleaner error message, from "Soren S. Jorvang" <soren@t.dk> 1999-03-13 17:25:55 +00:00
ragge
6831afc23a unbalanced `#endif', pointed out by Ken Wellsch. 1999-03-13 17:09:51 +00:00
ragge
0c86849162 Oops, forgot this file. 1999-03-13 15:44:01 +00:00
matthias
00cd9c886f First batch of changes needed to make gas.new work with PIC on the ns32k.
Todo: Modify tc_gen_reloc to frob the relocations correctly, add code for
missing relocation types to libbfd.
1999-03-13 15:18:49 +00:00
ragge
f9b0eec83a Change vsbus to take a locator for all devices.
Figure out interrupt vector/mask on vsbus by forcing all devices to
generate interrupts in the match routine, like on unibus.
1999-03-13 15:16:47 +00:00
ragge
9f6b94f820 Outdated files. 1999-03-13 15:14:29 +00:00
matthias
638ac9a15d config.h for ns32k. 1999-03-13 15:13:01 +00:00
drochner
b0d64df6ba first cut on a wscons configuration script
(to be included in / sourced from rc.local)
1999-03-13 14:54:22 +00:00
drochner
7cfac216d7 Don't initialize any virtual screens (except the system console) at
autoconfiguration time; this can be done better from rc.local.
(For INSTALL kernels, WSDISPLAY_DEFAULTSCREENS can be defined which
sets up that many screens with default parameters.)
1999-03-13 14:46:20 +00:00
drochner
b2cc9c9bc2 pull in missing miscfs/procfs/procfs_cmdline.c 1999-03-13 14:29:27 +00:00
drochner
98294086d9 make this compile again 1999-03-13 14:09:46 +00:00
drochner
71f26e545a pull in a part of [nisimura-pmax-wscons] rev 1.5.4.3: remove unneeded
kdbpeek() prototype
1999-03-13 13:16:29 +00:00
drochner
6bcfb2cd72 g/c regdef.h 1999-03-13 13:07:43 +00:00
drochner
93d26ccd4b g/c regdef.h (went into asm.h) 1999-03-13 13:05:49 +00:00
drochner
51b87dd93c g/c regdef.h 1999-03-13 13:03:26 +00:00
drochner
7482575685 regdef.h is gone 1999-03-13 11:24:59 +00:00
drochner
0265284ce4 This file is unneeded since <mips/regdef.h> went into <mips/asm.h>. 1999-03-13 11:24:11 +00:00
drochner
2b8eb20358 Remove unneeded <mips/regdef.h>. Its contents went into asm.h while ago. 1999-03-13 11:20:55 +00:00
drochner
26a8d91a28 one more mipse[bl]->mips substitution, from Jonathan Stone 1999-03-13 10:57:38 +00:00
itohy
29b70cd215 Use G0 (not G1) for the alternative character set (DEC line graphics).
Delete "\E)0" sequences and make ":as=\E(0:ae=\E(B:"
(some terminals use "1" for "0").
This change makes it easy to use 8-bit encodings, such as ISO8859, EUC, etc.
PR #7126.
1999-03-13 09:03:28 +00:00
eeh
3c92d3e233 Make things link correctly again. 1999-03-13 03:42:33 +00:00
thorpej
4865d6ff88 Some changes to `cmdline' to make it work properly:
- Don't error out on P_SYSTEM or SZOMB processes; instead, do what ps(1)
  would do, i.e. the p_comm in parenthesis.
- Use uvm_io() (or procfs_rwmem() if !UVM) to read the target process's
  psstrings and argument vector.  Using copyin() is problematic, because
  it operates on the current processes!  That is, the old code would
  always get the `cmdline' of the process reading the file, not that of
  the target process.
1999-03-13 01:01:30 +00:00
thorpej
5e7b128211 Expose procfs_rwmem(). (This function will go away entirely when we
delete Mach VM.)
1999-03-13 00:57:13 +00:00
jonathan
9797e6cf17 Pad out mips1 inter-tick delay loop with two nops, to match
gcc-2.7.2.2+myc1 calibration.
XXX rewrite in assembler to remove compiler dependency.
1999-03-13 00:05:39 +00:00
perry
21ce7a4f23 nuke ovbcopy reference 1999-03-12 23:08:11 +00:00
perry
2bbefd75ec remove ovbcopy reference 1999-03-12 23:05:42 +00:00
perry
240d1ad927 remove ovbcopy references 1999-03-12 23:03:31 +00:00
perry
5b25cace4c ovbcopy -> memmove 1999-03-12 22:59:23 +00:00
perry
02a2323b29 ovbcopy->memmove 1999-03-12 22:56:21 +00:00
perry
a92175a153 nuke ovbcopy 1999-03-12 22:54:58 +00:00
perry
d446fb449c exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145 1999-03-12 22:42:30 +00:00
sommerfe
bf1e79f956 Build and install gcov, a basic block profiler/code coverage tool.
This program just formats the output.
Compiler and runtime support are already enabled in egcs for the
platforms I've tried (i386, arm32).
No man page (yet).
The info file is already being installed.
1999-03-12 22:06:43 +00:00
is
d662e94812 fix some typos introduced when integrating the driver 1999-03-12 20:17:47 +00:00