is
cf2e4206b1
make /dev/reload optional. (It is only implemented for a.out kernels at the
...
moment.)
2003-04-16 20:42:34 +00:00
thorpej
ce68b169df
* Change the APIs that handle the sync period to work with 100ths of ns,
...
rather than 10ths of ns. This is necessary in order to represent
Ultra320 SCSI.
* Add Ultra320 SCSI to the scsipi_syncparams[] table.
We're not going to bother bumping any version numbers with this change; only
the "hba" driver uses scsipi_sync_period_to_factor(), and the uses of
scsipi_sync_factor_to_period() are all internal to the scsipi code. Most
things just pass the factor around, which is unchanged by this.
Reviewed by Frank van der Linden.
2003-04-16 20:25:59 +00:00
christos
c0d7b8d87a
move declaration of getcwd_common and constant to the header file.
2003-04-16 20:00:03 +00:00
dsl
35632a80ac
lfs code is built from ufs.c
2003-04-16 19:52:58 +00:00
dsl
01761b17f4
Remove unnecessary caddr_t casts
2003-04-16 19:20:33 +00:00
dsl
ab1f41a716
Add definitions (#defined out) to pass the result of the v3.x bios
...
extended disk information request to the kernel.
Binary compatible with the existing code, disabled because I don't
have a system with a bios that supports the request.
2003-04-16 19:16:42 +00:00
dsl
1c31ec44a3
Don't set the RTC to kernel time during shutdown.
...
This stops the system RTC drifting if any hardclock ticks were missed (eg
if the system spent any time at the kdb prompt).
The RTC is set whenever the system clock is set, so setting at shutdown
is unnecessary.
2003-04-16 19:07:34 +00:00
dsl
fe778b7b70
Remove definition of LIBSA_SUPPORT_UFS2, the source will only build separate
...
ufsv1 and ufsv2 objects (the merged one was too large for the code that only
supported a single fs type).
2003-04-16 19:03:33 +00:00
nathanw
a74799949a
pthread_mutex_trylock(): It's not an error to call trylock() on a
...
mutex already locked by the calling thread, even for non-recursive
mutexes.
2003-04-16 18:59:12 +00:00
petrov
7d83b6157f
Comment out debug printf.
2003-04-16 18:53:50 +00:00
nathanw
008033bb65
When a thread sleeps on a mutex or cv, have it put itself on the
...
front of the sleep queue rather than the back. This is more
cache-friendly behavior and within the (lack of) constraints on wakeup
ordering imposed on equal-priority threads.
2003-04-16 18:30:43 +00:00
dsl
586810c59b
Routines to switch between 16bit real and 32bit protected modes
2003-04-16 17:38:43 +00:00
nathanw
8114703654
Fix a fencepost error in writing to the debug buffer.
2003-04-16 17:37:47 +00:00
wiz
1a4ff7f91d
Fix typo in macro name.
2003-04-16 16:13:29 +00:00
wiz
e2b9f7144c
Use .In instead of .Fd.
2003-04-16 16:09:04 +00:00
wiz
7a1ffdc377
Document .In, based on the documentation in groff-1.18.1.
...
Noted missing by perry.
2003-04-16 16:05:56 +00:00
dsl
0c5af93233
Add some debug prints to the memory size code
2003-04-16 15:03:59 +00:00
bouyer
aec10dd80c
Nake return values from bounds_check_with_label() conform to the man
...
page: -1 for error, 0 for EOF, 1 otherwise. Inspired by an OpenBSD commit
message, pointed out by Miod Vallat in private mail.
vax/mba/hp.c: check return value <= 0, not < 0 to be concistent with how
other places handle return values from bounds_check_with_label().
2003-04-16 15:00:59 +00:00
dsl
cb61d88cb5
Add baud_rate arg to cominit_d
2003-04-16 14:58:32 +00:00
dsl
e60ac53619
Modify baud rate handling to make it easier to take it from a variable.
...
Default to 9600 if the requested baud rate is illegal.
2003-04-16 14:56:55 +00:00
yamt
503590c138
sync a comment with reality.
2003-04-16 14:51:55 +00:00
yamt
aa51f25824
ufs_rwXX: cast to unsigned even without FFS_EI to avoid
...
possible nasty signed vs unsigned problems.
2003-04-16 14:27:03 +00:00
dsl
d5b5933e8c
remove unused defines
2003-04-16 14:23:11 +00:00
dsl
616c6baa61
Add code to parse V3.x bios disk information.
...
This should let NetBSD guarantee to tie together the bios disk numbers
with the physical hardware.
#defined out because I don't have a system with a bios that supports it.
2003-04-16 14:22:29 +00:00
yamt
1963d34b78
use bswap32 and bswap64 correctly.
...
(fs_pendingblocks and fs_pendinginodes)
2003-04-16 14:20:25 +00:00
grant
82d6823e89
df -G argument
2003-04-16 14:03:08 +00:00
grant
a1dd31060d
add -G argument for output in gigabytes.
...
ok'd by perry@, mrg@
2003-04-16 14:00:30 +00:00
dsl
621f25533d
Add cvs version, delete unused definition
2003-04-16 13:49:21 +00:00
dsl
2ae46742a2
Add prototyps for all the asm bios/dos calls
2003-04-16 13:47:53 +00:00
tsutsui
ddc6c721bc
Fix pasto.
2003-04-16 13:44:35 +00:00
jmmv
14f04cdd26
Capitalize "Reset" to match descriptions of all other items in the same list
...
(all starting with capital letter).
2003-04-16 13:37:50 +00:00
wiz
472351e13d
Use
...
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
martin
eb1ff84c33
Until timeval.tv_sec becomes a time_t, we can't pass a pointer to
...
it to ctime(). tv_sec is long, while time_t is int on some archs.
2003-04-16 13:32:58 +00:00
dsl
4cf0478777
additional support routines for boot code
2003-04-16 13:24:09 +00:00
grant
8e37d38a09
grammar fix.
2003-04-16 13:17:52 +00:00
wiz
3fd1d09240
Fix typo, and break overly long line.
2003-04-16 13:10:40 +00:00
wiz
037dbec1f7
New sentence, new line.
2003-04-16 13:05:01 +00:00
wiz
77c7ae1259
Drop superfluous .Pp; bump date for last.
2003-04-16 13:04:27 +00:00
wiz
80d074c338
Bump date for last; sort authors; add comma after e.g.
2003-04-16 13:02:45 +00:00
grant
f3014f2c17
sync usage args with reality.
2003-04-16 12:57:24 +00:00
wiz
1745a4efd2
Combine no-argument options in SYNOPSIS.
2003-04-16 12:55:15 +00:00
wiz
44b6aa4c8b
Mostly mdoc improvements, some typos.
2003-04-16 12:53:37 +00:00
wiz
1b8a3850d5
A-Law -> A-law.
2003-04-16 12:53:08 +00:00
dsl
1d68743dfc
C code now sets length of disk info structure
2003-04-16 12:45:10 +00:00
dsl
7119639d07
used daddr_t for disk block numbers,
...
add definitions for v2 and v3 disk info structures
2003-04-16 12:43:45 +00:00
wiz
4e9fe74ce2
Bump date for last, and add commas after i.e. and e.g.
2003-04-16 12:43:43 +00:00
wiz
99193808f4
Bump date for last.
2003-04-16 12:41:36 +00:00
dsl
fd18f39232
Use daddr_t for disk block numbers,
...
Set size of extended disk info structure in the C code
2003-04-16 12:41:03 +00:00
wiz
e0f416155a
New sentence, new line.
2003-04-16 12:36:44 +00:00
wiz
848d4d3dde
getch(3), not curses_getch(3). New sentence, new line.
2003-04-16 12:29:42 +00:00