mrg
f6c91ed9ca
use poll() instead of select()
1996-12-17 03:55:20 +00:00
jonathan
c66d855eb2
Configure pmax elf_machdep.h as little-endian elf.
1996-12-17 03:45:05 +00:00
jonathan
20d6ace077
Mipsel changes to ELF ldd/ld.so:
...
* don't abort() on NetBSD/pmax 1.1 elf binaries;
* Assume 32-bit elf unless compiling for Alpha;
* note bugs in ldd's README.
1996-12-17 03:42:44 +00:00
mrg
f5e4cc118e
use poll() instead of select()
1996-12-17 03:35:52 +00:00
mrg
074bac7fd2
use sysctl() instead of getdtablesize()
1996-12-17 03:27:08 +00:00
thorpej
01daecba3a
Implement pci_decompose_tag().
1996-12-17 01:55:56 +00:00
thorpej
c0fe650b17
Eliminate unsafe calls to strcpy() and sprintf().
1996-12-16 22:30:43 +00:00
leo
9f8a5d9694
Move up the initialisations for the delay routine in the initialisation
...
process. It's now also available to the different device probes.
1996-12-16 22:03:23 +00:00
leo
977de7d51c
Add rtc-device.
1996-12-16 21:30:37 +00:00
leo
dff699a434
The file hdfd_intr.s should only be included in conjunction with the
...
Hades floppy driver.
1996-12-16 21:25:45 +00:00
leo
de3b8c8e4b
Implement an rtc-device. Credits for the idea goes to Wolfgang Solfrank.
...
Because there is no way yet to tell init(1) to execute commands before
single user-mode is entered, the inittodr() function is still partly
functional. It retrieves the value of the RTC and sets the time as if
the RTC was running at UTC. The resettodr() function is a No-Op. The
RTC can only be changed by a write to /dev/rtc.
The TIMEZONE and DST options are no longer needed and removed from the
config files.
1996-12-16 21:24:00 +00:00
cgd
693a05816e
disable weak aliases in libc until something actually uses them. When
...
using __weak_alias in libc, __indr_reference should probably be defined
to do nothing (but defined, so that duplicate functions/variables aren't
compiled). However, when not using __weak_alias, __indr_reference causes
them to be omitted completely, which is a lose. So, until weak aliases
are going to be used, don't define __weak_alias or __indr_reference.
1996-12-16 21:01:55 +00:00
cgd
41fe218b25
First cut at an ELF shared loader. Originally from John Polstra's FreeBSD elf
...
kit, then hacked on by Matt Thomas <matt@3am-software.com>, then by me (to
make it work with new versions of the toolchain, etc.). This runs, but it's
in serious need of cleaning and/or a fair bit of reworking. See the README
file for more information, and a list of things to do.
1996-12-16 20:37:55 +00:00
cgd
5a09b2d886
on the alpha, if ELF_TOOLCHAIN, add ld.elf_so to the subdirs list
1996-12-16 20:01:34 +00:00
cgd
10243648ef
on the alpha, add 'ldd' to the subdirs list
1996-12-16 20:00:26 +00:00
cgd
033e366657
First cut at an elf-aware ldd. Originally from John Polstra's FreeBSD elf
...
kit, then hacked on by Matt Thomas <matt@3am-software.com>, then by me.
This runs, but it's in serious need of cleaning and/or a fair bit of
reworking. See the README file for more information, and a list of things
to do.
1996-12-16 19:59:55 +00:00
cgd
d9842e70b9
declare the keywords structure 'extern' in keywords.h, to avoid a common defn.
1996-12-16 19:53:02 +00:00
is
af2691cdb5
The original docs for the Phase 5 Development SCSI boards had a edito,
...
making me think that the Blizzard-IV and the Blizzard-2060 scsi
options have nearly identical DMA engines (just with a different
address offset). Alas, this isn't true.
Herewith I replace the "bznsc" (all-new-Blizzard-models) driver with the
"bztzsc" (Blizzard Two Zero).
1996-12-16 16:17:27 +00:00
scottr
9b4055eb72
Convert all foo_match() functions to use a `struct cfdata *' for their
...
second argument. The NuBus autoconfig code had to be reorganized as a
result of this, and looks much more like a directly-attached bus now.
These changes eliminate __BROKEN_INDIRECT_CONFIG.
1996-12-16 16:17:02 +00:00
christos
a00e49c200
Getopts bugs again (I'll never get this right).
...
- make sure that OPTIND is set correctly even in the absence of options.
- don't keep stale state between getopts calls.
1996-12-15 20:37:09 +00:00
scottr
c5d19fd124
Make this compile #ifdef DDB:
...
- Prototype debugging functions
- Replace %x and %lx with %p as appropriate
1996-12-15 10:02:30 +00:00
cjs
f271ac2363
Make it clearer how to use alternate delimiters in context patterns.
1996-12-15 08:28:46 +00:00
gwr
31a2dbff56
No longer used.
1996-12-14 15:51:31 +00:00
leo
c473681077
Remove some code accidently checked in on previous commit.
1996-12-14 13:52:01 +00:00
leo
2d4e2c3931
Fix type (COPT -> COPTS).
1996-12-14 13:48:29 +00:00
leo
ae092ee765
Merge the formatting code from the i386-port.
1996-12-14 13:47:12 +00:00
fvdl
a90e5523d6
Use the 'nochdir' argument to daemon(), so as not to undo the chdir
...
already done. Close PR 3025,3026,3023
1996-12-14 12:06:48 +00:00
mycroft
e1a87dc790
Make sure to initialize the memory we just allocated.
1996-12-14 10:50:32 +00:00
mycroft
be33336052
If attaching the console, reinitialize it immediately.
1996-12-14 10:46:38 +00:00
mycroft
58e4442168
Turn off the baud rate changing optimization.
1996-12-14 08:56:23 +00:00
cgd
84e780e7f0
-I expected location of ELF shared loader
1996-12-14 06:03:14 +00:00
cgd
6fbbbb1eb2
add endianness constants, relocation types
1996-12-14 05:46:13 +00:00
gwr
aaa60cfea6
Add ZSWR1_IMASK (all intr. enable bits in WR1)
1996-12-13 21:02:39 +00:00
gwr
250c59b7a6
Files with just an include line do not need a wrapper.
1996-12-13 20:23:51 +00:00
gwr
5eaee56ccf
Increase MAXMCAST from 50 to 250 (to match dev/ic/i82586.h).
1996-12-13 19:54:08 +00:00
gwr
5736d8f544
Kill some dead code.
1996-12-13 19:50:10 +00:00
gwr
6d6e6e45e0
Define MAXBSIZE as 32KB to limit the size clustered transfers.
1996-12-13 19:46:14 +00:00
scottr
823c2433dc
Freshen up a bit:
...
- Replace deprecated sigblock() with sigprocmask()
- Redraw the current display if SIGWINCH is caught
- Style police
1996-12-13 19:26:18 +00:00
mikel
e719764e0e
add NetBSD RCSID.
1996-12-13 08:32:00 +00:00
mikel
f17c8ad1a1
Merge libpcap-0.2.1.
...
Includes numerous improvements (see CHANGES), fixes PR bin/2031.
1996-12-13 08:25:54 +00:00
mikel
2b79ace362
Import of LBL libpcap version 0.2.1
1996-12-13 08:17:29 +00:00
mikel
6d303ec98e
add missing LIBPCAP definition.
1996-12-13 08:02:52 +00:00
mikel
9aba065e07
add ATM data-link type; reqd. for libpcap.
1996-12-13 07:57:33 +00:00
mycroft
11f8dfe58d
Format police.
1996-12-12 00:43:28 +00:00
thorpej
9a8786f719
Clean up cpu_startup() a bit:
...
- move data structure allocation into a new function, allocsys(), like
the i386 port.
- garbage-collect the BUFFERS_UNMANAGED code.
1996-12-11 16:49:23 +00:00
mycroft
f056beb022
Undo silly part of previous change.
1996-12-11 09:37:42 +00:00
thorpej
f82a494e0f
Fix typo in comment.
1996-12-11 09:10:38 +00:00
mikel
b5177ace3a
Import of LBL libpcap version 0.2.1
1996-12-11 08:15:24 +00:00
thorpej
8e41017b18
After passing the terminating NULL for the argv list to execle(),
...
don't forget the (NULL) envp.
From Lennart Augustsson <augustss@cs.chalmers.se>, PR #2737 .
1996-12-11 04:05:21 +00:00
thorpej
0097f7bcc8
Make df(1) more liberal (and intelligent) about what it accepts
...
as arguments (for -t and -l flags, specifically).
From Hubert Feyrer <feyrer@rfhs8002.fh-regensburg.de>, PR #2869 .
1996-12-11 03:48:42 +00:00