dyoung
609d13b264
Create tags for mca, too.
2008-01-15 22:26:02 +00:00
dyoung
7b2bde237b
Change software interrupts initialization, and add an #include, to
...
help ADM5120 support compile in -current again.
2008-01-15 22:22:37 +00:00
drochner
c8ecc0ca60
vga_post_init(): allow the memory mapped to the emulator VM to be
...
physically non-contiguous, and do some cosmetics
approved by joerg
2008-01-15 22:15:13 +00:00
yamt
c9192ec6fc
update comments
2008-01-15 22:08:33 +00:00
christos
9d6619f2e6
Remove ricoh hack; FreeBSD does not seem to do it, and it was a remnant from
...
the branch. Things should work properly now.
2008-01-15 21:55:24 +00:00
christos
20f21ddc4a
fix locking botch; vunmark() needs the mountvnode lock, and the loop invariant
...
is to exit with the mountvnode lock held.
2008-01-15 21:30:46 +00:00
macallan
142b38d84e
work around yet another PGX32/Raptor firmware bug
...
from Peter Bex
2008-01-15 21:02:27 +00:00
christos
e451ddaaa8
- Make the msdos and non-msdos cpp handling use the same variable $RPCGEN_CPP
...
instead of one using $CPP and the other using $RPCGENCPP, following suit with
RDIST_RSH, CVS_RSH, etc. and document it.
- make the msdos environment variable take precedence over path search.
2008-01-15 20:04:48 +00:00
bouyer
3fcec0e820
Allocate one more L2 slot in xen_pmap_bootstrap() for i386.
...
pmap_bootstrap()/init386() wants to map a few additionnal things after
first_avail that we didn't account for, before pmap_growkernel() is
used/functionnal, and if the loaded kernel is close to the end of
the last L2 slot we loose. Should fix port-xen/37761 by YAMAMOTO Takashi.
Fix a XENPRINTF() so that low debug builds again.
2008-01-15 19:55:53 +00:00
jmcneill
379c0e1a15
Workaround potential crash in acpidump, from Yorick Hardy.
2008-01-15 19:08:00 +00:00
ad
af6be237a6
Use vp->v_rdev.
2008-01-15 18:51:43 +00:00
ad
b2b4fb0d7d
pmap_do_tlb_shootdown: simplify queue management.
2008-01-15 18:48:51 +00:00
ad
da388edb64
Make it compile.
2008-01-15 18:46:23 +00:00
rmind
855e8f35f6
sched_slept: Revert inclusion of PRI_HIGHEST_TS into the range.
...
Reported by <drochner>.
2008-01-15 18:41:37 +00:00
ad
02098ba8d6
Use vp->v_rdev, don't look at the union.
2008-01-15 18:11:25 +00:00
njoly
88ba2df42e
Add schedctl.debug
2008-01-15 16:33:48 +00:00
rmind
78e6c5f3f6
Remove PRI_DEFAULT, which was left previously..
...
Note: nice(1) is only for historical purposes, schedctl(8) should be used.
2008-01-15 16:14:19 +00:00
ad
d7ea82e9f0
Fix i486 support which has been broken for the last 9 months.
2008-01-15 16:11:29 +00:00
joerg
0c3d816871
Introduce optional cpu_offline_md to execute MD actions at the end of
...
cpu_offline. Use this on amd64/i386 to force a FPU save. As this was
triggered by npxsave_cpu/fpusave_cpu not working for a different CPU,
remove the cpu_info argument and adjust npxsave_*/fpusave_* to use bool
for the save.
OK ad@
2008-01-15 14:50:07 +00:00
ad
73e694f404
Don't use the block device to read crashdumps, if possible.
2008-01-15 14:26:41 +00:00
chs
416c26d3b8
enable the code to compute the HPT size from totalphysmem
...
(instead of always using just 1 page).
this gives a hefty performance boost.
2008-01-15 14:25:21 +00:00
ad
eba222df68
... and make kvm_dump_inval() work on the raw device.
2008-01-15 14:16:30 +00:00
ad
a7a2d171df
Handle reading from raw disk devices.
2008-01-15 13:57:41 +00:00
joerg
622b391c8f
Revert last and explicitly cast to paddr_t instead to fix the warning.
2008-01-15 13:57:32 +00:00
hubertf
5e527e9f98
Create /cdrom and add an entry to fstab
...
Discussed & OK'd in October 2007 on tech-install
2008-01-15 12:09:24 +00:00
yamt
62982e0e06
pmap_unmap_ptp: save some hypercalls for xen.
2008-01-15 12:00:01 +00:00
yamt
1788a8e60c
- use cpu-local temporary mapping for P->V operations and kill pmap_main_lock.
...
fixes a part of PR/37193 from Andrew Doran.
- use pmap_stats_update_bypte in some more places.
some comments and fixes from Andrew Doran and Manuel Bouyer.
2008-01-15 11:12:03 +00:00
martin
8409a2d11e
Rename cpuset_t for now to sparc64_cpuset_t, to avoid a name clash with
...
<sys/pset.h>. Mid-term we should probably convert to the MI cpuset_t.
2008-01-15 10:35:33 +00:00
skrll
916073a231
Store a sensbile PCB_PC value in snapshot - the return point.
...
This helps gdb somewhat.
OK'd by martin.
2008-01-15 10:04:39 +00:00
martin
1ae6b7fd19
#ifdef COMPAT_20 the ioctls only available conditionally. Patch from
...
Geoff Wing.
2008-01-15 09:25:26 +00:00
martin
ba6b42e583
avoid warning on a too large constant
2008-01-15 09:14:43 +00:00
yamt
183f0fa9f2
sys__pset_bind: don't leave pset busy.
2008-01-15 09:11:29 +00:00
rmind
f5c269bd3e
- Estimate cache-hotness in all states, except LSIDL;
...
- Include PRI_HIGHEST_TS value into the increasion range,
it was missed previously by mistake;
- More KASSERTs to handle invalid priorities of threads;
- Remove PRI_DEFAULT;
- Misc;
2008-01-15 04:16:27 +00:00
rmind
15b5efefb3
Regen syscalls.
2008-01-15 03:44:57 +00:00
rmind
5c71a4d49f
Implementation of processor-sets, affinity and POSIX real-time extensions.
...
Add schedctl(8) - a program to control scheduling of processes and threads.
Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;
Proposed on: <tech-kern>. Reviewed by: <ad>.
2008-01-15 03:37:10 +00:00
jmcneill
cdd511a2fb
For WSDISPLAY_GINFO, depth should be sc->bits_per_pixel, not
...
sc->color_depth. While we're here, implement WSDISPLAYIO_LINEBYTES.
2008-01-15 02:00:49 +00:00
drochner
69ac8d9d9e
fix some PCI config space offsets to be 32-bit aligned, the code
...
did already do the right bit shifting
2008-01-15 00:27:58 +00:00
drochner
98da2f9c50
fix some unaligned PCI config space accesses in suspend/resume functions
2008-01-15 00:24:47 +00:00
yamt
488b0bc13e
wrap mp_online with #ifdef _KERNEL.
...
should fix an ndiscvt build failure reported by Greg Troxel on current-users@.
2008-01-14 22:47:22 +00:00
martin
a5134c7940
Add net80211 ioctls that I apparently ovelooked when grepping for ioctls
...
that need "struct ifreq" compat treatment.
This makes for example old (like 4.0) wpa_supplicant work with -current
kernels.
2008-01-14 21:38:55 +00:00
drochner
84c211c56c
On suspend/resume, just detach/attach the X server (or whatever might
...
be using the "syncops" protocol) rather than doing a full switch
to virtual screen 1. The latter doesn't have the expected result if
the X server is running on screen 1, and is too much policy for inside
the kernel anyway.
Introduce a mutex+condvar to synchronize these operations, to replace
the spltty()/tsleep(). (for now only used by the new functions,
should be extended to the normal vt switching code)
2008-01-14 21:38:50 +00:00
martin
e91d982a78
Make sure pci config space access only happens on 32bit aligned addresses.
2008-01-14 21:33:04 +00:00
drochner
8644062c1c
restructure things a bit so that proclist_mutex is held between the
...
p_find() and the psignal() which is its purpose after all
2008-01-14 21:17:00 +00:00
pooka
86499e8154
Remove puffs_ops from fuse_operations, no reason for it to be there.
2008-01-14 20:46:11 +00:00
xtraeme
7e8220d319
Fix the BARs on nForce 430, which failed to attach. Reported by
...
atsushi fukumoto in PR kern/37756.
2008-01-14 20:30:10 +00:00
xtraeme
1a8fd528b1
Missing __KERNEL_RCSID().
2008-01-14 20:20:31 +00:00
joerg
31a2e1f6f0
Allocate 64KB as low memory for the BIOS to write to. Copy the interrupt
...
table and the BIOS data area before each POST. Allows the Dell of Martin
Husemann to use VGA_POST.
2008-01-14 19:28:13 +00:00
dyoung
47e8740d49
KASSERT() that reads/writes from/to PCI configuration space are
...
aligned on 32-bit boundaries.
2008-01-14 18:44:17 +00:00
ad
7f75548e50
vp->v_rdev, not vp->v_un.vu_specinfo->si_rdev.
2008-01-14 17:56:21 +00:00
dyoung
ffd53445a3
Convert rtcache_init()+rtcache_getrt() to single rtcache_init()
...
calls.
2008-01-14 17:17:19 +00:00