163434 Commits

Author SHA1 Message Date
pooka
70981e62b1 Move putter code from directly under dev/ to dev/putter/
no functional change
2007-11-12 14:30:55 +00:00
ad
9bf7522dd1 Call ttwakeup() with tty_lock held. 2007-11-12 14:20:40 +00:00
ad
ad89ae5a21 Revision 1.42 was lost. Pointed out by Nicolas Joly:
This was using mutex_exit where mutex_enter was required.
2007-11-12 14:11:47 +00:00
nisimura
2820af119e - fix initblk tlen/rlen field values.
- fix pcn_send() txd xd1 member.
2007-11-12 14:03:35 +00:00
skrll
c1e4ee94be Fix kernel profiling on HPPA.
- stop gcc emitting stuff that HPUX requires
- don't use splhigh() in MCOUNT_ENTER as a call to _mcount will be
  generated at the moment. Disable interrupts in hardware instead.
- Fix _PROF_PROLOGUE to save/restore all the register args when calling
  _mcount.
- Fixup LEAF_ENTRY to dtrt (I think) in the GPROF case.
- Provide LEAF_ENTRY_NOPROFILE and sprinkle its use where i) profiling
  causes problems, e.g. trap handlers, and ii) where it just doesn't
  make sense, e.g. start.
2007-11-12 12:58:10 +00:00
pooka
78a22b918c No more puffs_transport.c, as noted by Kurt Schreiner on current-users.
(this lkm doesn't work for now, but at least MKPUFFS=yes builds
won't fail)
2007-11-12 12:31:15 +00:00
njoly
2ef45bfade Add missing hpet@acpi. 2007-11-12 08:42:40 +00:00
matt
2cab8950e4 Don't static init simplelock (back out those changes). 2007-11-12 06:14:57 +00:00
matt
90ef495f4d use __SIMPLELOCK_UNLOCKED, not SIMPLELOCK_INITIALIZER 2007-11-12 06:07:43 +00:00
nisimura
aca73b663f - cache insns accept unaligned addresses to go.
- correct dcache_line_size range detect errors in inv()/wbinv().
- make inv() unaligned case friendly.
2007-11-12 05:29:22 +00:00
jmcneill
1869ce861e Add pad(4) 2007-11-12 02:22:11 +00:00
matt
11910619f7 Change some initialization of static queues to compile time.
(xxx_INIT to xxx_HEAD_INITIALIZER).  Drop code which inits
non-auto (global or static) variables to 0 since that's
already implied by being non-auto.  Init some static/global
cpu_simple_locks at compile time.
2007-11-11 23:22:23 +00:00
christos
f4f95f573f simplify and fix the combination code. Hi pooka. 2007-11-11 22:44:12 +00:00
macallan
6a8b9d03fb mention r128fb 2007-11-11 22:11:28 +00:00
jmcneill
b6ed7a1236 Implement volume controls for pseudo audio device. 2007-11-11 19:53:38 +00:00
pooka
96689562e7 * include puffs msgif instead of internal sys header (yea, still not
correct, but at least better)
* minor cleanup
2007-11-11 19:49:11 +00:00
christos
dfdca25ef7 report the proper stack size on 32 bit emulations. 2007-11-11 18:29:03 +00:00
christos
2e3ee66dc7 regen 2007-11-11 18:28:18 +00:00
pooka
b0106b7eaf Don't overload "attributes last read" for the symlink cache,
use a separate variable.
2007-11-11 18:06:35 +00:00
jmcneill
0994f0a98c Enable pad(4) 2007-11-11 18:06:24 +00:00
bouyer
d64cd0dda9 Move a delay() inside a loop, so that the 1s delay is really 1s. 2007-11-11 18:03:46 +00:00
jmcneill
7d666065e7 Enable pad(4) 2007-11-11 17:56:10 +00:00
jmcneill
a5bfefb1b0 Add support for /dev/padN devices 2007-11-11 17:54:47 +00:00
jmcneill
8a1105f670 Note addition of pad(4) 2007-11-11 17:50:23 +00:00
dsl
ab78fc54c0 Don't include opt_xxx when _LKM is defined.
Should fix build of netbsd32 as a lkm
2007-11-11 17:48:51 +00:00
jmcneill
77deea4733 Add man page for pseudo-audio device driver. 2007-11-11 17:45:18 +00:00
jmcneill
23526fe3a9 Add pseudo audio device driver. With this pseudo-device, audio played back
via the standard audio interfaces is redirected back to userland as raw
PCM data on /dev/padN.

One example usage is to stream audio to an AirTunes compatible device using
rtunes (http://www.nazgul.ch/dev_rtunes.html), ie:

	$ rtunes - < /dev/pad0
	$ mpg123 -a /dev/sound1 blah.mp3

Another option is to capture audio output from eg. Real Player, by simply
instructing Real Player to output to /dev/sound1, and running:

	$ cat /dev/pad0 > blah.pcm
2007-11-11 17:37:45 +00:00
cube
66a59dcc4f Don't defattr machinearch if it's NULL. Pointed out by
Juergen Hannken-Illjes.
2007-11-11 17:35:27 +00:00
pooka
f48aa71ad4 fix build (hi rmind!) 2007-11-11 17:18:47 +00:00
pooka
db2e7d6a05 include putter only if it's actually defined 2007-11-11 16:58:02 +00:00
pooka
7744bdf5d3 default to no debug 2007-11-11 16:57:36 +00:00
isaki
3a7a8e72de x68k's floppy is 8*2 sect/cyl, not 18*2 sect/cyl. 2007-11-11 13:23:07 +00:00
plunky
7cca9485cc convert device printf() usages to aprint_xxxx() 2007-11-11 12:59:02 +00:00
plunky
8658057a5d bluetooth stack now keeps a device_t and passes it to device callbacks,
update bcsp to new reality
2007-11-11 12:54:23 +00:00
agc
f2e9f627b5 Only use the bottom 20bits for an inode number to prevent the inode number creeping out of range for fts 2007-11-11 09:31:31 +00:00
agc
762d3dee18 Use the new virtual inode number, which is calculated at directory entry
insertion time, to prevent fts thinking that we have directory cycles.
2007-11-11 09:25:37 +00:00
agc
8abe1b3c75 Include a (random) inode number in the virtual directory information that
is held. Return this as part of the virtual entry information.

Prevents problems with fts code thinking that some directories create
a cycle.
2007-11-11 09:23:29 +00:00
isaki
61510aae55 ${PROG} depends on libsa and libiocs. 2007-11-11 05:33:12 +00:00
isaki
eaf7a401b6 Style fix. 2007-11-11 05:20:26 +00:00
reed
dc638c10e7 Fix typo, merge sentences. From Adrian S. in PR #37357. 2007-11-11 05:17:59 +00:00
ad
7d979d5024 pmap_load: pmap_reference() can no longer block. 2007-11-11 01:30:55 +00:00
ad
39a25a40ee Make xen build again. 2007-11-11 01:27:43 +00:00
wiz
8129917e9b cron-4.3 out. 2007-11-11 00:36:54 +00:00
plunky
0b799668fb use more device_t and device_xxx() accessors
make bluetooth stack keep device_t instead of softc pointer as
device is not necessarily part of softc, and pass device_t to
driver callbacks. hci_devname is no longer required.
2007-11-10 23:12:22 +00:00
ad
7aaa70d105 fsbase/gsbase:
- Fix a few bugs with it, in particular fork/exec handling.
- Store the descriptors in the PCB, not in the LWP.
2007-11-10 23:04:28 +00:00
pooka
b79e72eb16 add pseudo-device putter 2007-11-10 21:45:47 +00:00
pooka
f2031ea28b Part 2/n of extensive changes to request transport to/from userspace:
Rip the transport code completely out of puffs and generalize it
into an independent module which will be used for multiple purposes
in the future.  This module is called the Pass-to-Userspace
Transporter (known as "putter" among friends).

This is very much work-in-progress and one dependency with puffs
remains: the request framing format.

The device name is still /dev/puffs, but that will change soon.

Users of puffs need the following in their kernel configs now:
pseudo-device   putter
2007-11-10 21:45:04 +00:00
jmcneill
7eb0882f87 Wups, bump date. 2007-11-10 20:55:33 +00:00
jmcneill
70e507c576 It's mixer_ctrl_t, not mixer_ctl_t. 2007-11-10 20:54:56 +00:00
ad
7135f4bde9 - When computing the TSC frequency, call i8254_delay() and not DELAY().
- Use atomics to adjust the pmap reference count, instead of taking locks.
- Implement I386_{SET,GET}_{FS,GS}BASE, allowing %fs and %gs to be used
  as per-thread registers. This is compatible with FreeBSD.
- Run patches after we have attached CPUs, since we then know if the
  system is uniprocessor or not. Eliminates a lot of #ifdef MULTIPROCESSOR
  and makes running MP kernels on UP systems cheaper.
- Patch out many of the 'lock' prefixes to nops if uniprocessor.
- Do a wbinvd after patching to ensure that the trace/instruction cache
  is up to date.
2007-11-10 20:06:23 +00:00