Commit Graph

69164 Commits

Author SHA1 Message Date
thorpej
58e7a6954b Add spllock(). See spl(9) for details. 2000-08-22 19:46:26 +00:00
tv
09c7751d41 Put vax in the "nbsd" emulation. 2000-08-22 17:41:24 +00:00
tv
35db5d3725 Re-add TARGET_SYMBOL_FIELDS until this is redone correctly using
TC_SYMFIELD_TYPE.
2000-08-22 17:39:43 +00:00
bjh21
b5279973df Switch arm26 to -O2. Most of my kernels are compiled with this anyway,
and gcc's code generation should be the same as for arm32, so I think this
is safe.
2000-08-22 17:38:49 +00:00
thorpej
a2f2d10800 Slight adjustment to INTERLOCK_*() macros to make it easier
for the compiler to optimize.
2000-08-22 17:31:32 +00:00
thorpej
f759220f40 Define the MI parts of the "big kernel lock" perimeter. From
Bill Sommerfeld.
2000-08-22 17:28:28 +00:00
augustss
a5626942dc Add usr/include/dev/usb/usbdevs.h 2000-08-22 16:51:35 +00:00
eeh
3787c3f7fd Should use an intrptr_t' for address calculations rather than int'. 2000-08-22 16:44:51 +00:00
mjl
8895a2f9a6 Use sockaddr_storage.
Use correct var for strncpy length.
2000-08-22 16:42:37 +00:00
tron
0012d64356 Fixed reversed result test in call to chown(2) which caused bogus
error message.
2000-08-22 16:23:15 +00:00
sommerfeld
867ca7767a Fill in next mtu field of NEEDFRAG ICMP error message.
From Marc Horowitz, pr10857
2000-08-22 16:02:16 +00:00
minoura
fb119983f3 X68k now uses sysinst.
Also update reflecting the current version.
More cleanup is needed before pulling it up to netbsd-1-5.
2000-08-22 15:34:00 +00:00
thorpej
25fe521af4 Fix a locking glitch in callwheel_slock handling. Noted by Bill Sommerfeld. 2000-08-22 15:30:59 +00:00
leo
67f170f93c Need to specify BINDIR or the executable ends up in / 2000-08-22 14:26:04 +00:00
tron
815deae8b6 Use vfork(2) instead of fork(2) to create child process for "gzip" and
wait until it terminates. Problem noted by Enami Tsugutomo on
"current-users@netbsd.org"
2000-08-22 14:20:17 +00:00
abs
863e9c9128 Bring up to date and save some more space (as ever). 2000-08-22 14:11:45 +00:00
abs
911ac86efa Switch to boot.400000, as the default sparc boot breaks if the in kernel
ramdisk is greater than 2950 (for the current INSTALL kernel).
2000-08-22 14:11:07 +00:00
abs
5838140e1a Add COPYSTRIPCOMMENTS, which passes files through sed to strip comments and
some whitespace, which halves the size of at least /etc/services...
2000-08-22 14:08:47 +00:00
abs
bd9b9e0b4c Shave another few bytes here and there - compile with -Os 2000-08-22 14:06:37 +00:00
abs
ec021a9f22 Fix some netinstall related text 2000-08-22 13:44:45 +00:00
abs
02a00854f4 Diet a little to help fitting onto a floppy 2000-08-22 13:36:14 +00:00
joda
991b448f39 add newline at end of file, to please (the quite buggy) mkid 2000-08-22 12:24:17 +00:00
lukem
003803c5d4 - add rc.conf.d to list of items to link
- update man page to reflect reality
- use mdoc macros correctly...
2000-08-22 12:06:46 +00:00
wdk
caa807ac35 * Tidy up reading of Mips volume header information
All compatable values are copied from the MIPS volume header to the
  BSD disklabel structures.

* Add support for writing Mips volume header.

* Remove support for writing NetBSD label directly (this was broken)

These changes allow the kernel to read either a BSD disklabel created under
NetBSD/sparc or a MIPS volume header created under RISC/os.

There is a small amount of losage with the conversion between the 2
types of disk labels (mainly to do with file system types).
A table is used to map partition numbers and types between the two
types, and unless someone does something real fancy (or crazy) it should
work in both senario's

This change will allow the stand alone shell to directly load a NetBSD
kernel and mount a file system, avoiding the need for a seperate disk or
bootp server to bootstrapping NetBSD.

NetBSD/mipsco is now self sufficiant.  We are not far from having a
miniroot filesystem and removing the need to have another NetBSD
machine to create the base filesystems.

Minor Trap for young players:
   The root partition must be created with 'newfs -O' in order for the
   stand alone shell to boot the kernel

TODO:
   Add support for writing NetBSD disk labels back in - it will be useful
   for non boot disks.   I'm just not sure how to control the 2 behavours
2000-08-22 11:59:34 +00:00
tsubai
eaa177d2f1 Add a missing entry to chrtoblktbl. 2000-08-22 11:48:23 +00:00
joda
ce1bf05583 update description 2000-08-22 11:42:14 +00:00
abs
671e8ba97c unxexpand -a 2000-08-22 11:31:28 +00:00
tsubai
f406aae2d2 MD part of mcount. 2000-08-22 11:25:49 +00:00
tsubai
84ecfb5e88 Call mcount for profiling. 2000-08-22 11:24:41 +00:00
lukem
fa2f94238c - document `nostart' support for /etc/rc
- use bootconf.sh instead of fsck.sh as the `foo.sh' example
- add information how a normal script can stop the boot with kill -TERM $$
- update history
2000-08-22 08:53:17 +00:00
lukem
ab1ba36358 replace references to /etc/rc.wscons with /etc/rc.d/wscons 2000-08-22 08:49:01 +00:00
joda
71cabc49dd (rbus_pccbb_parent_mem): make the rbus minimum start address
configurable (RBUS_MIN_START), since default value of 1GB doesn't work
well on some ThinkPads
2000-08-22 08:42:55 +00:00
lukem
05ad37d692 repalce rc.d/fsck.sh with rc.d/fsck 2000-08-22 08:38:54 +00:00
lukem
1d1d5add83 depreceate rc.wscons & rc.d/fsck.sh 2000-08-22 08:38:08 +00:00
mrg
d12156f1bf #include <compat/netbsd32/netbsd32.h> if necessary 2000-08-22 07:36:04 +00:00
mrg
6c9a390cac sparc64 base set bits 2000-08-22 06:22:46 +00:00
mrg
1e067c72f0 add fstab.wd 2000-08-22 05:35:53 +00:00
mrg
7396e4ef69 for PCIIDE users. 2000-08-22 05:33:27 +00:00
mrg
743c8178fc base/md.sparc64 2000-08-22 05:31:13 +00:00
wdk
699089b936 Add mipsco port 2000-08-22 05:17:43 +00:00
wdk
b45cb63296 Add portmaster for mipsco port 2000-08-22 05:10:10 +00:00
mrg
8638251139 declare struct firm_event32 2000-08-22 03:35:14 +00:00
erh
df316aa06c Change the heap limit from 40000 to 50000 so the heap is the same size as it was before the "Hack from Hell'. 2000-08-22 02:46:30 +00:00
enami
f6836da7ad Fix two more typos. 2000-08-22 01:33:52 +00:00
thorpej
14c0be9cd4 Protect hardclock_ticks and softclock_ticks with the callwheel
lock to prevent a race between hardclock() and callout_reset().
2000-08-21 23:51:33 +00:00
thorpej
b7e86fa7a8 spllowersoftclock() is already void; no need to cast it. 2000-08-21 23:43:30 +00:00
thorpej
012500bf1f Add a lock for the callwheel (callout facility), and only go to
splclock() while holding it.
2000-08-21 23:40:56 +00:00
lukem
ebc99afce8 sort lines. add nonlocalswap, securelevel 2000-08-21 23:39:07 +00:00
lukem
e26f093e93 convert fsck.sh -> fsck (using kill -TERM $$ to stop autoboot). 2000-08-21 23:38:07 +00:00
lukem
b94d4bd809 sort REQUIRE lines 2000-08-21 23:36:50 +00:00