Commit Graph

49499 Commits

Author SHA1 Message Date
kleink
882fe49366 Add KNF-style RCS Id at start of file. 1999-03-14 01:42:20 +00:00
kleink
afe8703841 * Use id_t instead of making guesses about the definitions of [gu]id_t.
* Declare internal helper functions static.
* G/C unused globals and declarations.
1999-03-14 01:39:48 +00:00
hubertf
4e308589b1 Fix RB_STRING, per PR 7147 by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-14 01:30:16 +00:00
kleink
4f3756d205 Define id_t, an integral type wide enough to hold a value of type gid_t, pid_t
or uid_t (SVID/XSH5).
XXX Unlike the System V definitions and pid_t, [gu]id_t are unsigned here.
1999-03-14 01:24:18 +00:00
simonb
e4dd1abb05 Merge contents of filesystem.c into conf.c, and remove declaration of
errno from conf.c and put it in boot.c.
1999-03-14 00:57:06 +00:00
fvdl
35d517b9f1 Hack to make biosboot_ser work.
XXX The makefile structure in src/sys/arch/i386/stand is very bad.
1999-03-14 00:04:06 +00:00
lukem
7e1c62baf8 set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-13 23:17:46 +00:00
ender
5a333883e0 Fix a typo. 1999-03-13 23:17:04 +00:00
lukem
a3b1d07c9b set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-13 23:16:55 +00:00
is
bed6716015 Identify the chip type when attaching. 1999-03-13 22:43:30 +00:00
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