Commit Graph

158140 Commits

Author SHA1 Message Date
skrll
5790e46e8b Correct a comment. 2007-04-07 09:02:50 +00:00
skrll
406c4f0d55 de-__P()
s/lwp/l/ for argument name in pmap_deactivate.
2007-04-07 09:02:07 +00:00
skrll
693a79edd7 Add ldcw as a store instruction. From OpenBSD. 2007-04-07 08:38:28 +00:00
skrll
6e5bbbab10 de-__P() 2007-04-07 08:37:49 +00:00
skrll
d8db1d193c de-__P() and whitespace. 2007-04-07 08:36:49 +00:00
skrll
fe255bdc71 Whitespace. 2007-04-07 08:35:52 +00:00
skrll
101cbda361 Typo. From OpenBSD. 2007-04-07 08:35:13 +00:00
skrll
3581d4c55c Improve EXIT and add a BSS macro. From OpenBSD.
Implement WARN_REFERENCES.
2007-04-07 08:34:17 +00:00
matt
43a709f886 2006-08-24 Richard Guenther <rguenther@suse.de>
* builtins.c (fold_builtin_classify): Fix typo.
2007-04-07 06:13:15 +00:00
macallan
4cf8aa1d7f add genfb, a generic framebuffer console driver that's configured via
device properties - all it needs is width and height in pixels, stride in
bytes, depth in bits and the framebuffer address.
Features:
- unaccelerated fb console with colours and virtual consoles
- split into console handling and bus frontend
- so far there is only a PCI bus frontend which allows to mmap BARs belonging
  to the graphics controller, others should be easy to add.

TODO:
- find an opaque way to change the palette ( probably pass a function
  pointer as property ) since this would need to call some firmware interface
  which is pretty much always MD
- find a clean way to mmap the framebuffer, just returning the physical
  address works on macppc but not on other architectures. Problem is, that
  we cannot rely on the address being a bus address - on macppc it is,
  but for instance on sparc64 it's not.
2007-04-07 03:41:26 +00:00
matt
4fab8ae973 Fix addition of negative 64bit constants. Don't optimize the instructions
too much otherwise we might use some that don't affect the carry bit.  Make
sure we are using paired instructions (add/adwc, sub/sbwc).
2007-04-06 22:46:36 +00:00
gdt
8830bbca9f Disable mmap for coda. When copying a file from coda to normal ffs, I
got a panic in uvm_fault from ffs_write.  I believe this is because cp
used mmap, the container file page was not in core, and uvm_fault
objected to the container file vnode and the coda vnode not matching.
I have long been plagued by crashes on cp from coda, and this was the
first time I got and understood a backtrace.

Clean up old comments that are no longer accurate.

Document refcounting better.

Note some questionable behaviors with XXX.

Clean up PNBUF_PUT and SAVESTART.  Only do this where vnodeops(9) says
we should, and do it on error also.

In symlink, vput parent and free namebuf even in error cases.
2007-04-06 22:28:12 +00:00
matt
5db28f425f When mova[lq] to a push operand, do a pusha[lq] instead. 2007-04-06 20:50:33 +00:00
matt
4af7958221 Fix 64-bit negation. 2007-04-06 20:49:02 +00:00
cube
bfc250f292 Add some sanity checking in order to avoid some segfaults. There might be
other ways of producing a segfault, but keep in mind those happens when the
negation applies to an erroneous instance.
2007-04-06 19:21:09 +00:00
rumble
e0d3b63ac3 If we fail to attach, use the size determined by pci_mapreg_map() rather
than a constant, since this will be incorrect on some chips (MPI350) and
lead to a panic.
2007-04-06 18:16:29 +00:00
pooka
f7d8f11391 document the flush routines 2007-04-06 17:55:10 +00:00
pooka
6cc35b910e support page cache flushing 2007-04-06 17:49:11 +00:00
pooka
43c6ec1a06 support flushing pagecache 2007-04-06 17:48:44 +00:00
matt
d0ef60fca0 Fix boolean inversion and missing definition. 2007-04-06 17:48:06 +00:00
matt
802469c2c9 Change tstl/beql/clrl to bbcc in softintr_dispatch 2007-04-06 17:45:41 +00:00
plunky
844c714a45 rework ordering of error conditions for setopt, prefer to return EINVAL
rather than EBUSY.
2007-04-06 17:09:00 +00:00
pooka
1e9c4b7026 use range invalidation op also for invalidating entire page cache of a node 2007-04-06 17:06:39 +00:00
pooka
13fa815486 actually, we don't need a separate op for flushing the whole page cache
of a node, just use the range op with endoff = 0
2007-04-06 17:05:34 +00:00
wiz
166737735f Describe Lk and Mt. From Brad Harder in PR 36126. 2007-04-06 17:05:18 +00:00
pooka
622f8591d4 document puffs_inval_pagecache_node{,_range} 2007-04-06 16:44:01 +00:00
pooka
fa10fe8f9f implement puffs_inval_pagecache_node_range() 2007-04-06 16:38:03 +00:00
pooka
bd8d0a2ae0 * enable PUFFS_INVAL_PAGECACHE_NODE_RANGE
* add input parameter validation
2007-04-06 16:37:02 +00:00
plunky
f517728680 add const attribute to the CRC table 2007-04-06 16:27:52 +00:00
xtraeme
4c050d6958 Postfix 2.4.0 is out. 2007-04-06 15:48:13 +00:00
hannken
29ddf6065f Remove calls to now obsolete vn_start_write() and vn_finished_write(). 2007-04-06 14:28:28 +00:00
apb
31edfc6f0f * Add a stop_boot() function in rc.subr, to terminate a multi-user boot
by killing the parent process.  The parent's PID is saved in $RC_PID.
* In all rc.d/* scripts that previously tried to stop the boot,
  replace in-line code with "stop_boot".
* Document this.

This should fix PR 29822.
2007-04-06 14:20:08 +00:00
apb
04d90588c9 Use ".Fn" markup for the names of shell functions. 2007-04-06 13:57:08 +00:00
plunky
f03422c7ce use structure initializers for protocol switch table
(while here, delete unused entries)
2007-04-06 11:49:24 +00:00
pooka
20b95c5a2d note psshfs addition (it was only a bit over 3 months ago) 2007-04-05 21:41:43 +00:00
pooka
46bc932103 whooops, bump date also 2007-04-05 21:31:44 +00:00
pooka
278c207505 /proc/devices, not /proc/device 2007-04-05 21:30:16 +00:00
xtraeme
613ec69fb1 k8_powernow_destroy: free k8pnow_current_state rather than cstate,
and remove the global cstate struct.
2007-04-05 21:23:43 +00:00
plunky
b1afbe8d68 remove default setting of bluetooth_debug, since 'options BLUETOOTH_DEBUG'
causes it to fail
2007-04-05 19:22:18 +00:00
reed
dc2a382c22 Fix typo.
Fix some spaces to tabs.
Reorder a few items.

No real configuration changes -- just making this easier to diff with GENERIC.
2007-04-05 19:19:49 +00:00
reed
3230f51cb9 Add some tabs. Move one entry.
No real changes, just making it easier to diff with GENERIC_LAPTOP.
2007-04-05 19:17:41 +00:00
garbled
280f80fac0 Note via V-RAID addition 2007-04-05 18:39:04 +00:00
garbled
c11bc2d9fc Note that Via V-RAID is supported 2007-04-05 18:37:14 +00:00
liamjfoy
72a3be8fc7 use size_t for indexes
ok christos@
2007-04-05 18:12:49 +00:00
liamjfoy
39b3c7f047 use size_t for indexes
just pass a *ip to ipflow_hash instead of members

ok christos@
2007-04-05 18:11:47 +00:00
perseant
b196644e3b correct comment for lfs_putpages 2007-04-05 17:44:18 +00:00
njoly
a926b97a8e Enable stat/stat64 nsec time support, for amd64 compat linux/linux32. 2007-04-05 16:39:11 +00:00
christos
fc1f18e6ca kill clobbered warning from Tobias Nygren 2007-04-05 14:11:35 +00:00
tnn
b19e17d66f protectoin -> protection 2007-04-05 13:17:11 +00:00
gdt
23959b33e1 Improve conformance to vnode locking rules in coda_lookup, by doing
the unlock parent, lock child, lock parent in the ISDOTDOT case.

Clean up and rewrite comments to match more closely current reality.

Sprinkle XXX where I'm not sure the current rules are being followed.

Reviewed by wrstuden@, who agreed that this is an improvement over the
current code, with concerns about LK_RETRY and whether the ISDOTDOT
locking is done soon enough.
2007-04-05 12:48:51 +00:00