Commit Graph

203789 Commits

Author SHA1 Message Date
alnsn 5deb799841 New linux syscalls: fadvise64() and fadvise64_64(). 2011-08-07 20:44:32 +00:00
jakllsch 7b43667cb9 Another instance of REG_OFFSET that needs to be consistent with the rest. 2011-08-07 20:14:42 +00:00
jakllsch 87cbce368d Appease _LP64 build with GCC 4.5. 2011-08-07 20:05:08 +00:00
jakllsch 1d4d51395d Appease _LP64 build with GCC 4.5. 2011-08-07 19:46:22 +00:00
jakllsch c45b9d7c61 Make uhci_find_prev_qh() always 'static inline', just 'inline" leads to trouble. 2011-08-07 18:58:52 +00:00
bouyer 0eab8d73aa Guard against spurious xbdback_backend_changed() calls which would result
in the block device being opened twice. Fixes port-xen/45158,
although the underlying cause (multiple open of the same device not
properly handled any more) is not fixed.
2011-08-07 17:39:34 +00:00
bouyer d6cda51db2 Add a comment explaing why a flush workqueue is handled differently from
read/write workqueue requests.
2011-08-07 17:15:40 +00:00
bouyer 48ed379bb7 Several fixes to the continuation engine:
- make sure to enter the continuation loop at splbio(), and add some
  KASSERT() for this.
- When a flush operation is enqueued to the workqueue, make sure the
  continuation loop can't be restarted by a previous workqueue
  completion or an event. We can't restart it at this point because
  the flush even is still recorded as the current I/O.
  For this add a xbdback_co_cache_doflush_wait() which acts as a noop;
  the workqueue callback will restart the loop once the flush is complete.
Should fix "kernel diagnostic assertion xbd_io->xio_mapped == 0" panics
reported by Jeff Rizzo on port-xen@.
2011-08-07 17:10:35 +00:00
kiyohara e24714e44d Cleanup spin loop for 2nd cpu. 2011-08-07 15:44:59 +00:00
kiyohara 36f9c97e41 Try to attach 2nd CPU. But not support options MULTIPROCESSOR yet. 2011-08-07 15:31:35 +00:00
kiyohara 10e6e5f9c5 Cleanup headers and variables. 2011-08-07 15:22:19 +00:00
kiyohara a04d56d41e Not allow interrupt hear. 2011-08-07 15:16:35 +00:00
kiyohara f3244f97ee Use BEBOX_REG for mapped to BAT instead of bebox_mb_reg. 2011-08-07 15:04:45 +00:00
kiyohara be078a8d7f Set BeBox Mainboard Registers space to BAT register. 2011-08-07 14:47:05 +00:00
jakllsch ff30235729 Try to ensure no SSE instructions are generated for kernel code,
as is already done on amd64.
2011-08-07 14:39:15 +00:00
kiyohara 905a4ee388 Remove obsoleted headers. 2011-08-07 14:36:35 +00:00
rmind a0ffc02ab8 Rename slightly misleading KTHREAD_JOINABLE to KTHREAD_MUSTJOIN. 2011-08-07 14:03:15 +00:00
jakllsch bdc89f19e1 Trailing whitespace, what trailing whitespace? 2011-08-07 14:00:08 +00:00
rmind acd100f2ac Convert ppp_list_lock to mutex(9). 2011-08-07 13:51:37 +00:00
jmcneill 438d436d20 PR# kern/30398: panic in ohci_softintr
If the host controller has a TD that the driver doesn't know about, ignore it
instead of calling panic. Patch from Karl Janmar.
2011-08-07 13:45:46 +00:00
rmind 1293cee4bd Replace some wakeup_one(9) uses with mutex(9) or plain wakeup(9). 2011-08-07 13:39:23 +00:00
rmind 52b220e91d Add kcpuset(9) - a reworked dynamic CPU set implementation for kernel.
Suitable for use during the early boot.  MD and other implementations
should be replaced with this interface.

Discussed on: tech-kern@
2011-08-07 13:33:01 +00:00
jmcneill f398b121d3 add the -t option that modifies -l behaviour to recursively scan for
child devices and print them in tree format:

$ drvctl -lt usb0
uhub0
  uhub6
    uhidev0
      ukbd0
        wskbd1
    uhidev1
      ums0
        wsmouse1
      uhid0
    ubt0
2011-08-07 13:00:35 +00:00
rmind 83fa217ed7 Fix .Xr to membar_ops(3), not membar(9). Spotted by wiz@. 2011-08-07 12:29:24 +00:00
mrg 46d22e869d re-run mknative for hppa. 2011-08-07 12:20:10 +00:00
jmcneill 3b8212e891 add an optional argument to the -p flag that lets you extract specific
property values from the command-line:

  $ drvctl -p wd0 disk-info/geometry/cylinders-per-unit
  620181
  $ drvctl -p wd0 device-driver device-unit
  wd
  0
  $ drvctl -p wd0 nonexistent || echo "not found"
  not found
2011-08-07 12:00:11 +00:00
mrg c58b16c3fc after all the recent fixes, let's call this "NetBSD nb2 20110806" 2011-08-07 11:41:50 +00:00
wiz 495abc41ce Add serial comma, remove trailing whitespace, bump date for previous. 2011-08-07 11:37:06 +00:00
jmcneill 2cfa4ad9b3 prop_dictionary_get_dict: last argument is prop_dictionary_t *, not bool * 2011-08-07 11:33:03 +00:00
blymn f23e1d9ef1 Merge the attributes into the returned characters. 2011-08-07 10:57:10 +00:00
blymn 9202e9d5c9 Document the return values for innstr and friends. 2011-08-07 10:55:59 +00:00
blymn 27325b933f Fix a bug that prevented instr and friends returning OK. 2011-08-07 10:54:53 +00:00
blymn 12654ca858 flush the output after writing the meta sequence. 2011-08-07 10:52:18 +00:00
tron d8b8a5c188 Add commented out entries for V7FS and V7FS Endian Independent support. 2011-08-07 10:04:41 +00:00
mrg d03772c2d1 note switch to GCC 4.5 on x86 2011-08-07 08:15:56 +00:00
mrg f2baad49fd switch x86 to GCC 4.5. 2011-08-07 08:15:02 +00:00
dholland d5b021c7ed Fix up some lint. 2011-08-07 06:03:45 +00:00
hannken 342315ffad Change union rmdir semantics to fail directory removal for
non-empty directories like all other file systems do.

Change test accordingly.
2011-08-07 06:01:51 +00:00
hannken 2a24cc6572 Allow removal of a directory containing only whiteouts and free them first. 2011-08-07 05:56:32 +00:00
mrg 5fab666e92 add gcc-4.5/tgmath.h 2011-08-07 02:18:56 +00:00
mrg baa3508234 add a weak alias to __ffssi2, needed for hppa gcc 4.5. 2011-08-07 01:52:47 +00:00
mrg c96a09b60c add gcc-4.5/tgmath.h 2011-08-07 01:49:12 +00:00
mrg c37220dd3d whoops, properly copy the old libgcc spec. fixes libGLU on sh3. 2011-08-07 00:07:15 +00:00
christos b166834bb8 PR/45217: Martin Matuska: Use proper lengths to space pad fields and don't
overwrite them according to the spec.
2011-08-06 23:25:19 +00:00
mrg 2f34a216cb add a note about cleaning the tree for GCC 4.5. 2011-08-06 23:07:14 +00:00
dholland 4804dbd307 Add wrapper functions around hash algorithm operations to avoid
undefined behavior arising from illegal function casts. As a side
effect, no longer need -Wno-pointer-sign either.
2011-08-06 20:46:42 +00:00
dholland 2c0ecb1ab6 Fix up still more casts; use NULL instead of (char *)0. 2011-08-06 20:42:43 +00:00
dholland 8041af98f6 Remove *another* set of useless casts. sheesh 2011-08-06 20:32:25 +00:00
dholland 8e73b3ad76 Remove more silly casts. 2011-08-06 20:29:37 +00:00
dholland 5aa2a843dc drop private (and wrong) definition of NULL 2011-08-06 20:24:35 +00:00