Commit Graph

130628 Commits

Author SHA1 Message Date
thorpej
f9684c51b5 Definitions for the EFI GUID Partition Table partition table format.
From FreeBSD.
2004-09-25 03:29:32 +00:00
yamt
17dfcbf73e fix a typo in a comment. 2004-09-25 03:05:23 +00:00
lukem
0b757c12fd ANSI KNF 2004-09-25 02:55:25 +00:00
wiz
d35635608b Fix typo in hp700 man page name, reported by Hisashi T Fujinaka. 2004-09-24 18:22:40 +00:00
nathanw
3a5631a0b6 PXA255 has 85 GPIO pins, not 81.
(The first revision of the manual listed the wrong number, although it had
 all 85 in the table).
2004-09-24 17:30:22 +00:00
wiz
0209c3cfba Add sti(4) and the new hp700 man(4) pages. 2004-09-24 13:50:06 +00:00
wiz
177b99eda2 Install sti(4) and descend into man4.hp700. 2004-09-24 13:49:50 +00:00
wiz
925099bfb3 Add /usr/share/man/{cat,man,html}4/hp700. 2004-09-24 13:48:51 +00:00
wiz
d355f71bc3 Dig {cat,man,html}4/hp700. 2004-09-24 13:47:46 +00:00
he
9f596d4761 Since the implementation of bsd_to_linux_statfs64() is conditional,
also make the forward declaration conditional.  Fixes compile
problem for m68k ports.
2004-09-24 13:10:46 +00:00
yamt
43a9ac14d6 __UNCONST: add parens around a macro argument. 2004-09-23 22:13:40 +00:00
tshiozak
922c0d0065 add system dependent strings support.
this hopefully allows to use .mo files generated by gettext-0.12 or later.
2004-09-23 21:35:27 +00:00
tron
ce2c46e673 Because "paddr_t" is not a pointer type initialize "pa" to 0 and not NULL. 2004-09-23 21:30:36 +00:00
tron
bcb61538fb Initialize variable "pa" to NULL in pmap_extract() to fix a compiler
error while building a debug kernel. Problem pointed out by S.P.Zeidler
on "port-amiga" mailing list.
2004-09-23 21:10:31 +00:00
yamt
139aa9db9e a little safer impl of __UNCONST, using __typeof__ if __GNUC__. 2004-09-23 17:40:16 +00:00
tshiozak
29be49b448 - add hash table support.
- make use of __UNCONST() instead of LINTED.
2004-09-23 16:44:26 +00:00
tsutsui
ef820af6db Rename if_mec_mace.c -> if_mec.c.
This file contains not only an attachment but whole driver functions.
2004-09-23 14:45:20 +00:00
he
ce985b87e9 Add sys/cpu_data.h and sys/cc_microtime.h. 2004-09-23 12:54:58 +00:00
yamt
ac65f2420a nfs_readdirplusrpc: fix spurious EBUSYs. 2004-09-23 10:46:44 +00:00
yamt
832a9b868e release kernel lock in uiomove(). 2004-09-23 10:45:08 +00:00
he
f42ec45764 Install the new cpu_info.h and cc_microtime.h headers to allow
lib/libkvm to build.
2004-09-23 10:06:21 +00:00
tls
849c42925b Changes from Christian Limpach to improve timekeeping on NetBSD/xen by
actually adjusting the time correctly (calling hardclock as needed, not
just blindly every time Xen schedules us) based on Xen's idea of the
time in the shared page.

Xen source repo change info:
 ChangeSet
   2004/09/22 13:47:22+01:00 cl349@freefall.cl.cam.ac.uk
   Fix time.

 netbsd-2.0-xen-sparse/sys/arch/xen/xen/clock.c
   2004/09/22 13:47:21+01:00 cl349@freefall.cl.cam.ac.uk +28 -3
   Don't call hardclock on spurious timer interrupt and call hardclock
   for missed interrupts.

 netbsd-2.0-xen-sparse/sys/arch/xen/conf/XEN
   2004/09/22 13:47:21+01:00 cl349@freefall.cl.cam.ac.uk +0 -1
   Don't need custom HZ value any longer.

: ----------------------------------------------------------------------
2004-09-23 02:24:22 +00:00
heas
9d64f3ebc8 Take the modulus of the AEN queue tail number rather than the mask of. Now
the tail pointer advances properly.
2004-09-23 01:16:34 +00:00
heas
ad8109e2b5 Typo in define; PhysSectorNym -> PhysSectorNum 2004-09-23 01:14:50 +00:00
thorpej
6e82649d8e Change the default volume label from "NO NAME" to "NO_NAME". Note the
default in the manual page.
2004-09-22 23:52:38 +00:00
thorpej
3af81aff5a Default the OEM ID to "NetBSD" rather than "BSD 4.4". (Geez, did 4.4BSD
even have a newfs_msdos command?)
2004-09-22 23:46:38 +00:00
thorpej
d06c5d9fc6 Correct some examples, and note when it was first included in NetBSD,
not FreeBSD.
2004-09-22 23:40:49 +00:00
enami
633ef38973 Create kernel thread and let it to issue the write request. We can't
do this from trace target process since we can't sleep at certain
trace point (otherwise system may hang).  Address PR#23155.
2004-09-22 22:15:03 +00:00
snj
619df63ccc Typo police: sytem -> system. 2004-09-22 21:24:07 +00:00
dyoung
6c7d5c9634 Process the new files in libpcap 0.8.3.
Match the end-of-line after file extensions, so that *.[ch] files
with version numbers in their pathnames (e.g., libpcap-0.8.3/gencode.c)
do not match the manual-page regular expression.
2004-09-22 19:35:47 +00:00
jkunz
da38616ada Import hp700 / hppa specific man pages from OpenBSD. 2004-09-22 16:38:26 +00:00
christos
d980bf3418 Keep track of the length of the gnu long name/link hack, so that
we can append to it. Modify the code so that file_write is re-entrant,
even in the gnu long name/link hack.

The old code assumed that the buffer already contained the necessary
blocks to satisfy the read file request that contained the long
filename. This is not always the case, specially when we are dealing
with pipes which do shorter reads, thus having more probability
that a long file name will fall across a buffer boundary.

To reproduce, create a tar archive with a lot of gnu-long-names
(pkgsrc/devel/libsigc++2 is a good example), do a tar -tf to get
a list of filenames, compress it and do a tar -tzf to get another
list of the filenames. Notice that the two lists differ.
2004-09-22 15:03:18 +00:00
christos
d6bc453dfc update the comment that documents the fields initialized in the array below. 2004-09-22 14:52:00 +00:00
christos
448fdb0c85 fd can be -1 or -2 for the gnu long name/link hack. So check for >= 0
instead of -1 if we need to flush.
2004-09-22 14:51:12 +00:00
kent
54cf6460d6 ac97_host_if::reset() returns non-zero value if codec reset fails, and
ac97 is not attached in that case.

PR: kern/26973
2004-09-22 12:20:24 +00:00
lukem
e0c9340497 Add "unmounting disks..." [unmount] " done" to vfs_unmountall(),
so the user has some idea what's occurring after "syncing disks... done"
2004-09-22 11:47:23 +00:00
yamt
d2fe4b34bb move some per-cpu data definitions to MI place so that they can be modified
without touching all ports.  discussed on tech-kern@.
2004-09-22 11:32:02 +00:00
yamt
96d1da145d fix printf formats to match with sys/buf.h 1.75. 2004-09-22 09:56:18 +00:00
yamt
52f0c217f7 introduce M_EXT_RW to allow mbuf external storage R/W.
discussed on tech-net@.
2004-09-21 21:57:30 +00:00
rumble
dab9f713b9 Do not exceed 80 columns. No functional change. 2004-09-21 15:47:32 +00:00
thorpej
d01a5a57e8 Regenerate for VNODE_LOCKDEBUG changes. 2004-09-21 03:11:53 +00:00
thorpej
11afd11faa Add a new VNODE_LOCKDEBUG option, which enables checks in the VOP_*()
calls to ensure that the vnode lock state is as expected when the VOP
call is made.  Modify vnode_if.src to set the expected state according
to the documenting lock table for each VOP.  Modify vnode_if.sh to emit
the checks.

Notes:
- The checks are only performed if the vnode has the VLOCKSWORK bit
  set.  Some file systems (e.g. specfs) don't even bother with vnode
  locks, so of course the checks will fail.
- We can't actually run with VNODE_LOCKDEBUG because there are so many
  vnode locking problems, not the least of which is the "use SHARED for
  VOP_READ()" issue, which screws things up for the entire call chain.

Inspired by similar changes in OpenBSD, but implemented differently.
2004-09-21 03:10:35 +00:00
thorpej
14a961d318 Fix a mis-placed wdc_init_shadow_regs(). 2004-09-21 02:46:46 +00:00
jdolecek
81ed8f7972 move definition of linux_fsid_t to common/linux_types.h - it's identical
across all Linux archs
2004-09-20 18:51:55 +00:00
jdolecek
43b3feff28 regen:
implement support for Linux statfs64() syscall - 64bit variant of statfs()
2004-09-20 18:42:23 +00:00
jdolecek
110cc1cc61 implement support for Linux statfs64() syscall - 64bit variant of statfs() 2004-09-20 18:41:07 +00:00
jdolecek
845beacce3 add 'mounts' file for -o linux, which lists all currently mounted
filesystems; Linux glibc statvfs() uses this to get some of mount flags,
and this file is also useful as /emul/linux/etc/mtab (via symlink)
2004-09-20 17:53:08 +00:00
drochner
a8f458743f Replace the last spurious ISACF_IRQ_DEFAULT. 2004-09-20 17:31:57 +00:00
drochner
231121a8df another pointless ISACF_IRQ_DEFAULT - that's just
a -1
2004-09-20 17:00:39 +00:00
drochner
96f4400c0c remove an occurence of ISACF_DRQ_DEFAULT where it doesn't
belong
(I didn't find where this piece of code is made use of,
likely stale stuff.)
found by Havard Eidnes
2004-09-20 16:57:27 +00:00