Commit Graph

72556 Commits

Author SHA1 Message Date
jdolecek 7924882d2e remove unneded opt_compat_osf1.h stuff 2000-11-29 21:50:49 +00:00
tv 481261ff0a Minor updates, fixes, and cleanups. 2000-11-29 19:56:19 +00:00
tv 756cce5b1b Don't blindly write block 0 -- try reading it in, zero only the Sun label
section, and then write it back.  This allows other boot installers to work
*before* running mksunbootcd (saving space from rounding in some cases).
2000-11-29 19:47:31 +00:00
thorpej 14f5ab8928 ANSI'ify. 2000-11-29 18:22:17 +00:00
tsubai e4bfefe7bd Make spl functions no-inline. This saves size and even it runs faster on
some systems.
2000-11-29 17:55:52 +00:00
tv e0f0709744 Add description of the "extra" directory usage and to keep the directory
open, if otherwise empty.
2000-11-29 16:44:14 +00:00
tv 08784f837a An example config file for the CD build system. 2000-11-29 16:38:21 +00:00
tv 0bbb454b99 First draft of multiple-arch CD-ROM creation system. This is extremely
rough at this point, and needs more fleshing out in several areas.  Does not
yet do packages or check for the existence of support programs--to be fixed.
2000-11-29 16:35:03 +00:00
christos ebb980fc21 This is for completeness only (to make fdopen symmetric with fopen and freopen)
and to match the documentation. Return an error if "f" was specified and the
file descriptor does not refer to a plain file.
2000-11-29 15:36:42 +00:00
christos 8955e88e2f Add checks for O_NDELAY [which indicates that we only want plain files],
and return an error if the file was not plain.
2000-11-29 15:31:10 +00:00
christos 2a213d0e9a make sure we preserve errno. 2000-11-29 15:30:20 +00:00
christos e8048693f8 Open only plain files [please someone add O_REG_ONLY]. Since /etc/daily
runs calendar -a, a malicious user can put a fifo in his home directory
to prevent calendar from completing. Many thanks to: dynamo@ime.net
2000-11-29 15:29:51 +00:00
minoura 0bbc767215 Adjust the ramdisk size. 2000-11-29 14:45:27 +00:00
jdolecek 9cdf00b4bb remove rules for genassym.c, it's no longer pertinent 2000-11-29 13:02:51 +00:00
jdolecek 0e8ae0e54a convert to use common genassym.cf 2000-11-29 12:55:11 +00:00
wiz 972c941cf6 Fix typo in comment reported by Tetsuya Isaki in kern/11587. 2000-11-29 12:49:56 +00:00
tsutsui 7dc077e6f5 Change UPAGES from 3 to 2. (sync with hp300) 2000-11-29 12:32:06 +00:00
simonb ba632e7078 Use the vm.uvmexp2 sysctl. 2000-11-29 11:18:33 +00:00
aymeric 5deecf29d2 Fall back to previous memory segments detection code if BIOS reports no
correct memory segment.
This prevents some systems from losing with `can't find end of memory'.
Discussed with Bill Sommerfeld.
2000-11-29 09:56:02 +00:00
simonb 3c1b8a2b35 Add a vm.uvmexp2 sysctl that uses a ABI-safe 'struct uvmexp_sysctl'. 2000-11-29 09:52:18 +00:00
matt 1ebd90e347 Add -${MAKEFLAGS} so that make options (like -m) get used for the submake 2000-11-29 09:25:22 +00:00
scw 614e494d9e Add register prefixes. 2000-11-29 09:18:32 +00:00
scw 930411f925 Missed a couple of register prefixes... 2000-11-29 09:11:53 +00:00
scw fecb49d172 Add register prefixes. 2000-11-29 09:09:39 +00:00
minoura fb67decf9c Change the kernel name from netbsdsi(.gz) to netbsd(.gz). 2000-11-29 08:28:55 +00:00
thorpej 5f3a256833 Allocate the DMA windows out of the PCI memory extent map after
DMA is initialized.
2000-11-29 06:30:09 +00:00
thorpej 96294f7b26 Do the additional PCI memory initialization after configuring DMA. 2000-11-29 06:29:10 +00:00
thorpej 8f20972db2 Revert previous -- we'll do it differently. 2000-11-29 06:21:12 +00:00
thorpej d615083897 The AMD 751 doesn't have DMA windows, so allocate the RAM out of the
PCI memory extent map.  Bad things will happen if we try to assign
a device where RAM is mapped into PCI space.
2000-11-29 05:56:49 +00:00
thorpej 8ebabb1aae Increase the number of static extent descriptors from 8 to 16,
and add a means for calling a chip-specific init hook.
2000-11-29 05:53:29 +00:00
tv 1b4a4e04a5 Sysinst is no longer "experimental"; it is default on all platforms that
ship it.  Make the (I)nstall option invoke sysinst.
The old install and upgrade scripts are still available, for now, under
OI and OU.  Add note that these may be removed in a future release.
2000-11-29 03:06:18 +00:00
matt 435b4c7b35 Fix c896 support. If the first mem bar is 64bit, then the second one will
be too.  And offset for the 2nd being after the 1st by a 64-bit bar, not
32-bit.
2000-11-29 02:00:38 +00:00
jtb b0623ac1a4 Added Jason Beegan (jtb@netbsd.org) to the list of contributors. 2000-11-28 23:19:50 +00:00
jmc 50b6095c16 Alloc the keys structure with A_K_NKEYS as the multiplier rather than a
hardcoded value of 4.

A_K_NKEYS is currently 6 and this mismatch was stomping memory when
initializing the keys. (specifically gdb lost the exec file name if it was
a long path name).
2000-11-28 22:37:51 +00:00
jmc bc58fd4841 libbfd is ../../lib/libbfd. not ../../lib/bfd 2000-11-28 22:33:49 +00:00
mrg 6ce96c999f several clean ups:
- don't include eeprom support on sparc64.
	- work out if we are eeprom or openprom from the results of open()
	and/or ioctl(), rather than grovelling the kernel.
	- move all eeprom specific code to eehandlers.c
	- update manpage for sparc64 usage, remove delete -N switch

with these changes, eeprom(8) no longer needs to be setgid.
2000-11-28 22:31:37 +00:00
thorpej aa77dea4c2 No need to play silly name trickery when we know we're talking about
64-bit ELF binaries.
2000-11-28 21:58:12 +00:00
pk 13b10eb901 cdrom(): Look for the `instfs.tgz' image in the $MACHINE subdirectory of
the CD-R root first.
2000-11-28 21:51:09 +00:00
thorpej 366b23111a Make sure values for a %llx are long long. 2000-11-28 21:44:34 +00:00
augustss f9450fa993 Put neo* in alphabetical position. 2000-11-28 19:44:07 +00:00
jdc 25d69ca80f Boot OS is -b not -o. 2000-11-28 19:38:38 +00:00
eeh 054819083c Restore the top level `callout' command. 2000-11-28 19:27:46 +00:00
eeh 6a7e0164dd Implement db_show_callout() again. 2000-11-28 19:20:37 +00:00
wiz 779cdb4e70 Improve error output if executable file format isn't recognized. 2000-11-28 18:44:46 +00:00
thorpej 454f740bd4 Use AC97_REG_* constants rather than defining them ourselves. 2000-11-28 16:57:16 +00:00
thorpej 997701c6c1 Define additional AC'97 registers. 2000-11-28 16:54:17 +00:00
is 94f7c9c6f9 Sync with libc: make function exit one instruction faster, and function one
instruction shorter (Horimoto).
2000-11-28 15:26:34 +00:00
is a4fe32b56e Another change by Hiroshi Horimoto. 2000-11-28 15:23:09 +00:00
sommerfeld 057fcccd0c Default crontab size limit is 256k, not 32k; correct documentation to
match code.
2000-11-28 14:06:13 +00:00
mrg 51858ad725 backout part of execsw/LKM changes: netbsd_elf32_signature() is used by
the compat/netbsd32 code so de-static it again.
2000-11-28 13:10:41 +00:00