tnozaki
c1cfc49998
fix cursor position problem with the character wcwidth > 1.
...
discussed in tech-userlevel, ok'ed by jdc@ thanks!
2008-07-04 15:51:35 +00:00
ad
9d573e640e
Remove a bunch of conditional branches from the pool_cache fast path.
2008-07-04 13:28:08 +00:00
bsh
928b18eabf
fix slow TOD clock.
2008-07-04 11:59:45 +00:00
skrll
0e6408c2a9
Pull in harmony_round_buffersize fix from OpenBSD.
2008-07-04 11:18:02 +00:00
skrll
f73f03c598
Only process stuff if we're playing. This fixes panic if attempting to
...
record.
Part of PR/35239.
Progress is being made on getting recording working, but it's not quite
there yet.
2008-07-04 11:14:19 +00:00
matthias
1797e3b14b
make LINUX_TCSBRK work. The code is mostly copied from
...
sys/compat/ibcs2/ibcs2_ioctl.c.
2008-07-04 11:06:31 +00:00
ad
a9c686e81a
Scale the number of kernel reserve pages by the number of CPUs.
2008-07-04 10:56:59 +00:00
ad
ecddde33a2
Update a comment.
2008-07-04 10:22:35 +00:00
matthias
1b4ed9ea4e
make LINUX_TCSBRK work. The code is mostly copied from
...
sys/compat/ibcs2/ibcs2_ioctl.c.
2008-07-04 10:13:52 +00:00
cegger
7453f200da
struct device * -> device_t
...
struct cfdata * -> cfdata_t
2008-07-04 04:53:41 +00:00
cegger
1c3c0ccc58
make this build again after device_t/softc split
2008-07-04 04:49:36 +00:00
reinoud
ef780ea2df
Add node-rebuild flag to indicate that the node was rebuild up and thus the
...
allocation extents have changed.
2008-07-03 19:29:42 +00:00
drochner
02b7e019aa
split device/softc
...
Now I'm through - all my devices are split.
2008-07-03 19:07:43 +00:00
drochner
53afd93cba
minor cleanup so that it can cope with a futute split pcmcia device/softc
2008-07-03 18:57:52 +00:00
simonb
8c1b12db94
Fix previous - don't include email footer or bad #endif. Would help if
...
this were even compile tested (HELLO XTOS!).
2008-07-03 18:30:39 +00:00
drochner
363285ca02
split device/softc (tested with an@pcmcia)
2008-07-03 18:10:07 +00:00
reinoud
2cd20af057
Create new udf_verbose class.
2008-07-03 18:03:22 +00:00
reinoud
d3bf9c7bba
Fix rare allocation problem when a fragmented file is truncated to a
...
non-zero length and the last extent was allocated.
2008-07-03 18:03:01 +00:00
reinoud
0687ceb21e
Avoid panic when trying to mount a non existent block device like a
...
/dev/vnd0 that is not configured.
2008-07-03 18:01:08 +00:00
christos
b077640a6b
Add iteration convenience macros; from Alexander Shishkin
2008-07-03 17:41:54 +00:00
drochner
f5d73c7fd3
split device/softc
2008-07-03 17:36:44 +00:00
drochner
abec36fc7a
split device/softc for ioapic
2008-07-03 15:44:19 +00:00
ad
4c75eca868
syn_cache_get: remove new endpoint's socket from head's queue if aborting
...
the connection. Should fix KASSERT(so->so_head == NULL).
2008-07-03 15:35:28 +00:00
ad
f4ddfb5c59
lwp_lock: this can't be simplified for the UP case, as races still exist.
2008-07-03 15:15:40 +00:00
njoly
153124ee21
Fix SIOCGIFCONF ioctl for 64bit platforms. Add a new linux_ifreq
...
structure and linux_getifconf function (cleaned up version from
compat_ifconf).
While here, update linux_getifhwaddr to use the new structure.
Ok by christos.
2008-07-03 14:07:09 +00:00
drochner
54745077e8
Remove "struct device" from "struct pic", where it was only real
...
for ioapics and faked up for others. Add it to "struct ioapic_softc"
for now, until device/softc get split.
This required all typecasts between "struct pic" and "struct ioapic_softc"
to be replaced, I hope I got them all.
functionally tested on i386, compile-tested on xen, untested on amd64
2008-07-03 14:02:24 +00:00
drochner
81ae74c4eb
On cardbus configuration reads, check for a master abort in the cbb
...
and return all-ones explicitely.
Since pccbb.c rev. 1.151 the cbb is set to translate cardbus master
aborts which makes that the PCI configuration read on the primary bus
returns random junk. This can cause the probing code to get confused.
The issue was reported by KIYOHARA Takashi and Jonathan A. Kollasch,
the patch was tested by KIYOHARA Takashi.
2008-07-03 13:37:34 +00:00
hannken
773658bf7e
The Intel SCA backplane "ESG-SHV" does not support logical units.
2008-07-03 13:22:31 +00:00
matt
0b6e401be7
Use the same login in pmap_kenter_pa when removing an unmamanged mapping
...
as in pmap_kremove (otherwise kro_mappings will become incorrect).
2008-07-03 13:02:12 +00:00
ad
2526653044
vinvalbuf: broken assertion.
2008-07-03 12:37:09 +00:00
gson
9717620fd4
Revert the change of revision 1.37 - a driver must not blindly set the
...
mem/io enable bits of a PCI device as the BARs may not be correctly
configured. Fixes PR kern/38857.
2008-07-03 12:26:41 +00:00
mishka
bdb4f49309
The wscons.conf syntax is assuming all arguments on their own fields.
2008-07-03 11:19:34 +00:00
ad
c4d3520a6e
ufsdirhash_build: missing unlock in failure path.
2008-07-03 09:56:15 +00:00
matt
db24f36199
From: Andy Shevchenko <andy.shevchenko@teleca.com>
...
The OMAP2 ref timer providing a base for generic timecounting was configured
to reload at HZ similarly to the clock providing the tick interrupt at HZ.
This and the fact that the tc framework expected a full 32 bit counter range
resulted in time running ~40 times faster than normal.
Configure the ref timer as a full range counter to fix this.
2008-07-03 06:19:18 +00:00
matt
b2abaa8158
Nuke some debugging aprint's.
2008-07-03 06:18:01 +00:00
matt
74055e51f8
Nuke some remaining debug aprint
2008-07-03 06:17:24 +00:00
matt
45df48f8af
The performance counter based delay function depends on a correct frequency
...
setting, do this for H4, which runs on a known fixed core frequency.
Submitted by Irme Deak <imre.deak@teleca.com>
2008-07-03 06:16:17 +00:00
matt
6a96a3909c
For armv6(VIPT), change the rules for mapping via kenter_pa. Allow readonly
...
pages to be mapped by different cache color indexes.
2008-07-03 06:13:41 +00:00
matt
52956f334c
Fix a typo in the delay loop time delta calculation.
...
From Irme Desk <imre.deak@teleca.com>.
2008-07-03 06:12:02 +00:00
matt
c62a0ac493
Add AT91 support. (XXX need to finish timecounter support).
2008-07-03 01:15:38 +00:00
he
3cb806e403
Add dependencies on the input files + Makefile for the auto-generated
...
files rumpdefs.h, rumpnode_if.h, and rumpvnode_if.c. This is so that
an UPDATE build has a chance of succeeding.
Discussed with pooka@, and he wasn't totally against adding this...
2008-07-02 23:03:35 +00:00
he
b6ffc4250b
Don't rely on <sys/mutex.h> being implicitly included, because on
...
some ports (mvme68k for example) that's not happening.
2008-07-02 21:18:14 +00:00
rmind
7781a976a7
Avoid calling a syscall when argument to sbrk(2) is zero.
...
OK by <ad>.
2008-07-02 20:07:43 +00:00
rmind
b7cdc71cd2
mq_open: fix confusion of FREAD/FWRITE and VREAD/VWRITE.
2008-07-02 20:06:09 +00:00
rmind
2a94bd63c1
Move scheduling functions from librt to libc.
...
Fixes PR/38657.
2008-07-02 20:05:16 +00:00
rmind
30dfdb2897
lwp_migrate: if LWP is still on the CPU (LP_RUNNING), it must be handled
...
like LSONPROC. Should fix PR/38588. OK by <ad>.
2008-07-02 19:53:12 +00:00
rmind
160268aca6
Remove proc_representative_lwp(), use a simple LIST_FIRST() instead.
...
OK by <ad>.
2008-07-02 19:49:58 +00:00
rmind
73f3b7bb31
Remove outdated comments, and historical CCPU_SHIFT. Make resched_cpu static,
...
const-ify ccpu. Note: resched_cpu is not correct, should be revisited.
OK by <ad>.
2008-07-02 19:44:10 +00:00
rmind
61fc86b29b
Remove locking of p_stmutex from sched_pstats(), protect l_pctcpu with p_lock,
...
and make l_cpticks lock-less. Should fix PR/38296.
Reviewed (slightly different version) by <ad>.
2008-07-02 19:38:37 +00:00
drochner
14071b7c24
remove some obviously obsolete definitions
2008-07-02 19:18:52 +00:00