Commit Graph

47690 Commits

Author SHA1 Message Date
bouyer ce870816e0 Cosmetic changes, from Soren S. Jorvan. 1999-01-29 11:36:20 +00:00
bouyer 0bc97aaca7 In match_harddisk(), ignore "empty drive" type errors as well (from Soren S.
Jorvang).
1999-01-29 11:20:34 +00:00
bouyer 12868a7d80 Return ENODEV instead of EIO when we are trying to open a device without media
in the drive. restrict "opening of empty drive" to character devices only
(reading a block device returns a short read instead of ENODEV, which can lead
to confusion).
1999-01-29 11:17:58 +00:00
kleink 15afeeecca Remove an incorrect (but harmless) comment. 1999-01-29 08:42:27 +00:00
kleink fd13be3c46 Protect access of state with a mutex. Miscellaneous notes:
* still needs an implementation-independent ("reentrant.h") method for
disabling cancellation,
* break a leg to leave realloc() `storage compaction' as was for non-reentrant
code,
* use of stdio in assertion code is unsafe.
1999-01-29 08:11:36 +00:00
pk f9e92fac23 Fix bit test 1999-01-29 07:35:05 +00:00
scottr c9b4ff15c2 Add a pointer to the indent(1) profile, and a disclaimer regarding same. 1999-01-29 07:24:20 +00:00
simonb 916b809a51 Make a `machine' symlink to ..../pmax/include to locate new location of
the dec_????.h files.  Gleaned from other ports' stand/Makefile.inc's.
1999-01-29 05:51:15 +00:00
scottr ebefa9658b Once more, from the beginning: we really, really don't want to descend into
the domestic tree if we are building an EXPORTABLE_SYSTEM.

Translate the conditional to English so as to avoid future problems
when people are tempted to modify it.
1999-01-29 05:42:35 +00:00
simonb 9a3172af0e Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...> 1999-01-29 05:37:45 +00:00
simonb 0b2a74160d Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
Remove unused include files.
1999-01-29 05:33:49 +00:00
simonb 3675e80580 Removed unused include file 1999-01-29 05:31:23 +00:00
simonb fe1bdc0a06 Move via repository copy to pmax/include - the kernel uses these
includes too.
1999-01-29 05:28:59 +00:00
nisimura aa68b32c4f - Forgot to replace a stub of 'eret' instruction with correct value. 1999-01-29 02:18:42 +00:00
tv 02abe744f1 Fix comment: new elements can be added to a simpleq after an existing
element, but not before.
1999-01-29 01:05:03 +00:00
cjs 32a8cb8434 Make /var/spool/news owned by news:news. 1999-01-29 00:55:16 +00:00
cjs e6427037cb Add descriptions of fields in the ipmon output. I considered converting
this to mandoc and didn't, but that's not to say we should or shouldn't.
1999-01-29 00:47:55 +00:00
cjs 82a6d74841 Turn on NTP PLL by default. 1999-01-29 00:01:22 +00:00
cjs 99a170d159 Have NTP PLL on by default. 1999-01-29 00:00:17 +00:00
fvdl b94126e9f9 Change ld_entry handling a bit to make dl*() from init sections work. 1999-01-28 23:59:49 +00:00
fvdl 0810c73a0e Move the ldentry initialization up so that dl*() from init sections
works.
1999-01-28 23:58:49 +00:00
thorpej 9b50aa223b ELFSIZE=32. 1999-01-28 23:38:27 +00:00
thorpej 2d24864f72 Add i[3456]86-*-netbsdelf*) target. 1999-01-28 23:32:51 +00:00
thorpej 876f7929f4 Use ping -n; if we're running a local nameserver, it may try to
reverse-resolve the IP address we're given, which will take a while
to time out, since we're still scanning cached leases (i.e. the network
isn't up yet).
1999-01-28 23:09:07 +00:00
christos 74d863263c Use loadfile() to load the bootblocks, so that we are going to be able
eventually to load boot blocks with this. Unfortunately the elf assembler
chokes currently on our bootblocks, so the ELF portion does not work (yet).
1999-01-28 22:47:25 +00:00
christos f1fd49f426 Add support for selectively loading sections, and make this compile in
userland with -DINSTALLBOOT
1999-01-28 22:45:06 +00:00
thorpej 9f32ccf21d Add an i[34567]86-*-netbsdelf*) target. 1999-01-28 22:01:27 +00:00
thorpej 18c36e6cd5 Add an i386-*-netbsdelf*) target. 1999-01-28 22:00:20 +00:00
thorpej 9b3208fc2b Add an i[3456]86-*-netbsdelf* target, and add bfd_elf32_i386_vec to
i[3456]86-*-netbsd*.
1999-01-28 21:59:53 +00:00
itohy 7751c2e2eb ~htons(...) is always negative. 1999-01-28 21:29:27 +00:00
drochner 7847c0f52e make it compile with !UVM 1999-01-28 21:18:00 +00:00
kleink d041717701 stderr is not always but initially unbuffered. 1999-01-28 20:25:32 +00:00
christos 9fa73628c9 Minor changes to prototypes. 1999-01-28 20:22:31 +00:00
christos 63546de24a Remove a.out loading code and use loadfile.c for everything.
Populate the btinfo_symtab structure.
1999-01-28 20:21:24 +00:00
tron ec6fc987ae Because neither the original shell script nor the new C program can
handle multiple argument sets don't use them in the manual page.
1999-01-28 20:19:42 +00:00
christos 0fcf083702 Add loadfile.c (stolen from Jason's alpha/stand/common/loadfile.c)
loadfile.h contains macros that are supposed to be MD, but loadfile.c is now MI.
Fixes:
- a.out support
- pass information values via an array not global variables
- don't assume that you can access memory directly.
- remove MD parts
- remove some printfs.
XXX:  loadfile.c needs to be moved somewhere where other ports can use it.
XXX2: read() routines on the i386 don't appear to set errno on failure.
1999-01-28 20:18:31 +00:00
kleink 18949858f3 Per ANSI C, place the error message on the stderr stream rather than on
STDERR_FILENO.
1999-01-28 20:13:40 +00:00
christos 408aa9a669 Bump number to 2.6 and say ELF works!
But, this is not selfhosting yet. I need to fix the installboot crap.
[i.e. you need the a.out tools to build it and install it].
1999-01-28 20:12:49 +00:00
tron b3ba9219f4 Fix usage messages in case we are going to revive one of these. 1999-01-28 20:11:54 +00:00
christos 72ba98061e Add btinfo_symtab, to pass symbol table information.
Actually the current ddb_init interface sucks, since there is no
magic number for a.out and it applies heuristics. It would be nice
if the boot blocks passed more info.
1999-01-28 20:10:55 +00:00
christos c46e7e7756 Use btinfo_symtab to find the symbol table if it is available. 1999-01-28 20:06:31 +00:00
christos 6922bd9c58 Add ELF bits. -N does not work, because ld does not compute the correct
memsz.
1999-01-28 20:04:54 +00:00
mjacob 6092648541 oops- pooched last delta 1999-01-28 19:58:52 +00:00
mjacob 81924c1d9c add disklabel_mbr.h so that builds continue to work (another cleanup after XXX task 1999-01-28 19:53:25 +00:00
mhitch ae4fe46357 Fix the TLBMiss handler to not use an undefined operation (32 bit operation
on 64 bit register that's not correctly signed extended.  The R4x00 support
works again on DECstations.  A similar change to the XTLBMiss handler probably
needs to be made, but I have not done that since I am unable to test any
changes to that.
Also re-order a couple of instructions to allow for delay with mfc0.
1999-01-28 18:37:02 +00:00
kleink f71d010d24 Add support for the export and readonly -p option. 1999-01-28 18:11:50 +00:00
ross a1b52a0723 Remove the original -g, as a duplicate was (accidently?) added in 1.108,
and comment it out like it used to be, at least for now.
1999-01-28 18:03:56 +00:00
tv 74a786bfb5 Make __pure_virtual() use __terminate(), not _exit(), so that it's easier
to catch within a debugger.
1999-01-28 16:05:26 +00:00
scottr 98e31beeee If doing a "domestic" build, make sure whatis.db is built _after_ the
domestic tree.
1999-01-28 15:36:48 +00:00
chuck 486cfd0e5a comment cleanup, shift around the inline stuff a bit,
rename VM_AMAP_PPREF (to UVM_AMAP_PPREF).
1999-01-28 14:46:27 +00:00