kato
7dbfcf7956
Sync with sys/i386/isa/diskslice_machdep.c revision 1.30.
1998-07-27 09:49:23 +00:00
dfr
93ab89b30e
Macros for accessing alpha sparse device ports and memory.
1998-07-27 09:40:35 +00:00
dfr
bd66cc2399
Support the disabled keyword for isa devices.
1998-07-27 09:38:26 +00:00
dg
2b482f824a
Only call m_reclaim() if M_WAIT since calling it from an interrupt can
...
cause problems.
PR: 7403
1998-07-27 03:59:48 +00:00
alex
be85829abc
A better solution to the rm_at_exit problem: Register the exit function
...
during first mount. Unregister the exit function at last unmount.
Concept by: sef
Reviewed by: sef
Implemented by: alex
1998-07-27 01:07:01 +00:00
imp
573de313c0
fd_set is documented to be a typedef, not a struct. Conform more
...
closely to the documented interface.
Inspired-by: similar changes in OpenBSD
1998-07-26 18:49:36 +00:00
dfr
0668f6953d
Fix a stupid bug preventing gdb from seeing the right value of 'v0'.
1998-07-26 18:47:47 +00:00
dfr
9c96ae361d
Notify pmap when a page is freed on the alpha to allow it to clean up
...
its emulated modified/referenced bits.
1998-07-26 18:15:20 +00:00
dfr
03ddb15c2b
Fix a stupid bug in the new pmap_remove().
...
Arrange for soft modified/referenced flags to be cleared when a page is freed.
1998-07-26 18:13:28 +00:00
imp
3f6e3c331a
Use malloc + sprintf rather than asprintf to ensure portability to
...
other, less advanced architecutres. This should minorly help porting
efforts of FreeBSD. I've done several make worlds since this came up
with this change, as well as debugging several interesting nits with
-V (which is the only thing this change will affect really).
1998-07-26 17:06:05 +00:00
imp
685645c4eb
Remove comment relevant to 16bit integers only.
1998-07-26 16:49:20 +00:00
hoek
5fda2c7571
Fix compilation for the case where neither ioctl(TIOCGWINSZ)
...
nor ioctl(WIOCGETD) exist. This case doesn't occur under FreeBSD.
PR: bin/5996
Submitted by: Max Euston <meuston@jmrodgers.com>
1998-07-26 16:15:26 +00:00
imp
c9bfb10fa5
o Fix Y2K buffer overflow.
...
o Fix zero filling bug in all years % 100 < 10.
1998-07-26 16:00:16 +00:00
imp
1336d33aa2
Y2K fix. Fix by jsm28@cam.ac.uk via OpenBSD
1998-07-26 15:30:48 +00:00
jkoshy
284d56c0e6
Add Xref to ldd(1).
...
PR: 7397
1998-07-26 04:16:04 +00:00
bde
3b18043bd8
Don't pass the label to diskerr(), since the label is being constructed
...
and may be invalid. In particular, d_secpercyl may be 0, and diskerr()
divides by it.
1998-07-25 16:35:06 +00:00
bde
c382e95b1e
Fixed bugs in `disklabel -R...':
...
- nonstandard sector sizes didn't work because the sector size in the
ASCII label was not read before a (default, wrong) sector size was used.
- the exit status was 0 after exiting early due to an invalid ASCII label.
Abort `disklabel -B...' if the secondary bootstrap doesn't fit.
1998-07-25 16:19:10 +00:00
alex
4ab63c85e2
Override the default VFS LKM dispatch functions so that a module
...
unload function can be provided (this is necessary to unregister
the at_exit handler).
1998-07-25 15:52:44 +00:00
alex
4c90ac575d
Allow VFS LKMs to override the default module dispatch functions if
...
VFS_LKM_NO_DEFAULT_DISPATCH is defined.
1998-07-25 15:52:10 +00:00
dfr
1b2d3de986
Make __weak_reference work on the alpha.
1998-07-25 14:37:37 +00:00
hoek
5fc8e33e13
Really delete -# option.
1998-07-25 05:58:04 +00:00
hoek
37782d6a71
Nuke obsolote and broken -# option.
...
Order options.
PR: bin/5996
Submitted by: Max Euston <meuston@jmrodgers.com>
1998-07-25 05:56:49 +00:00
hoek
f70bf0b5e7
Keep "-c" (top_scroll) through viewing help.
...
PR: bin/5996
Submitted by: Max Euston <meuston@jmrodgers.com>
1998-07-25 05:28:32 +00:00
mjacob
a3b54b46a3
minphys means something different in FreeBSD than in NetBSD- not needed here and in the way
1998-07-25 04:48:25 +00:00
dfr
f424d5f084
Fix pmap_enter_quick() to stop it hanging when the level 2 pte exists
...
but isn't valid.
Reimplement pmap_remove() to be much more efficient at removing large
stretches of addresses.
As part of reimplementing pmap_remove() fix pmap_protect() so that it stands
a hope of working.
1998-07-24 09:43:27 +00:00
ache
1bbb61bc9b
Add (struct timezone *) cast to NULL for K&R
1998-07-24 08:28:33 +00:00
phk
4257119700
By default, /usr/bin/time writes its output to stderr. Two options
...
have been added to time(1) to write output to an alternative destination.
Option "-f filename" will write to filename, and filename can be - to
write to stdout. Option "-a filename" will append the output to filename.
Time(1) man page has been updated to reflect the change.
PR: 7368
Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1998-07-24 07:19:29 +00:00
phk
2e8d660a6e
During compilation of a Fortran program f2c/f77 will spew the
...
name of entry points, functions, subroutines, and program to
stderr error. The enclosed patches do 3 things:
(1) Silenced the output to stderr.
(2) Added a -v option to f2c and f77. This will turn on a verbose
mode, and dumps quite a bit of stuff to stderr.
(3) Updated the f2c man page.
PR: 7369
Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1998-07-24 07:13:57 +00:00
ache
5b6f7049f1
Use NULL as gettimeofday arg instead of 0 cast
...
Add missing arg to error diagnostic
Print yet one arg of error diagnostic
1998-07-23 20:05:02 +00:00
phk
9b9e03a220
A bit of PR7278 which belongs here.
...
PR: 7278
Reviewed by: phk
Submitted by: Harlan.Stenn@pfcs.com
1998-07-22 20:34:24 +00:00
julian
c77c9fb18b
Don't return an error if the magic number is not present.
...
Failing to probe is not an error, just a negative result.
1998-07-22 19:37:02 +00:00
phk
dbb03b6d18
last patch misapplied.
1998-07-22 14:24:12 +00:00
dg
76fd38da9c
Improved pager input failure message.
1998-07-22 09:38:04 +00:00
dfr
8414aaec0d
Add a call to a platform-specific irq remapping function for alpha platforms
...
which don't record the correct irqs in PCI config space.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-22 08:40:46 +00:00
dfr
02ecd6d029
On the alpha, ports may be allocated above 64k.
...
Change the port address argument to pci_map_port to pci_port_t* which is
defined as u_int on the alpha, u_short on i386. This is a stopgap with a
hopefully limited lifetime.
Discussed with: Stefan Esser <se@freebsd.org>
1998-07-22 08:39:08 +00:00
dfr
a573865db3
Add some very simple support for a compiled in (from config(8)) resource
...
database.
1998-07-22 08:35:52 +00:00
dfr
953622fb2a
Add ISA support.
...
Remove mcclock hack which was only needed because ISA wasn't done yet.
1998-07-22 08:34:19 +00:00
dfr
15d5de14dc
Add some convenience functions for accessing device memory.
...
Add a DDB command to allow access to inb/inw/inl from the debugger.
1998-07-22 08:33:30 +00:00
dfr
cc3eb8a152
Merge KN20AA support from Andrew Gallatin.
...
Add support for device memory access.
Add support for ISA irqs.
1998-07-22 08:32:17 +00:00
dfr
f103a50fde
Move the mcclock from root to isa.
1998-07-22 08:30:25 +00:00
dfr
eb3dbdd0de
Add a simple ISA bus. No support for memory mapped devices or DMA as yet.
1998-07-22 08:29:26 +00:00
dfr
9cb558a8da
Add sio support.
1998-07-22 08:28:24 +00:00
dfr
8964f60d8e
Add platform functions for manipulating PCI irqs.
...
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-22 08:27:56 +00:00
dfr
9bc86e47bd
Add declaration of {aquire,release}_timer2().
1998-07-22 08:26:23 +00:00
dfr
b5978db404
Add macros and chipset support for accessing device i/o memory on the alpha.
1998-07-22 08:25:39 +00:00
dfr
5dfe812895
Add KN20AA support.
...
Add entries for syscons.
1998-07-22 08:24:39 +00:00
dfr
d2bedeabab
Tweaks to stop config(8) warnings and to avoid an unfinished experiment of
...
mine.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-22 08:23:26 +00:00
dfr
90402a6db5
Support header for sysbeep() implementation.
1998-07-22 08:21:36 +00:00
dfr
db52332709
Make ptrace single steps over branches work as intended.
1998-07-22 08:20:57 +00:00
dfr
6651610ba2
Add support for sio's soft interrupts.
1998-07-22 08:20:15 +00:00