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
dyoung
a5476e2169
Change rtcache_init()+rtcache_getrt() and
...
rtcache_init_noclone()+rtcache_getrt() to single rtcache_init()
and rtcache_init_clone() calls.
2008-01-14 17:14:21 +00:00
pooka
aa3b40df48
return -ret from statfs
2008-01-14 16:07:00 +00:00
joerg
1726e7b607
Ensure that non-primary CPUs save the FPU state on suspend.
2008-01-14 15:23:56 +00:00
martin
b99d735fcb
Fix register name typo/copy&pasto - %g6 is not %o6/%sp.
...
From OpenBSD.
2008-01-14 15:08:21 +00:00
pooka
d7412d56b1
Introduce PUFFS_STACKSIZE_MIN to avoid overloading 0 and getting
...
a warning from the library when really wanting to say "just the
minimum, please".
2008-01-14 13:57:26 +00:00
yamt
bfc70617c5
mbpr: fix a harmless bug. (sizeof pointer -> sizeof *pointer)
2008-01-14 12:56:05 +00:00
yamt
93d6e7a34f
update comments
2008-01-14 12:49:54 +00:00
yamt
b471ec2032
whitespace
2008-01-14 12:48:52 +00:00
yamt
c6345d661d
add a script to produce something like opannotate.
2008-01-14 12:47:59 +00:00
yamt
9a2ecb37c6
rename fmt.sh to tpfmt.sh
2008-01-14 12:42:02 +00:00
yamt
ea8e75911e
add a per-cpu storage allocator.
2008-01-14 12:40:02 +00:00
yamt
8c93baa802
constify
2008-01-14 08:53:42 +00:00
yamt
8a58f724e1
tabify
2008-01-14 08:52:16 +00:00
tsutsui
e88df705a1
Use htole32() to write parameters to DMA descriptors for big endian machines.
...
Tested on Pegasos by mrg@ on port-ofppc.
2008-01-14 06:32:10 +00:00
dyoung
b6c0385fe0
Use device_t, device_private().
2008-01-14 06:12:13 +00:00
dyoung
5624d2b7cd
Use rtcache_validate() instead of rtcache_getrt(). Delete rtcache_getrt().
...
In rtcache_lookup2(), use the return values of rtcache_validate()
and _rtcache_init() instead of looking at _ro_rt. Also, check the
return code of rtcache_setdst() for an error.
2008-01-14 05:00:18 +00:00
dyoung
2d4e7e5856
Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase
...
in in_losing().
2008-01-14 04:19:09 +00:00
dyoung
688ff775ce
Use rtcache_validate() instead of rtcache_getrt().
2008-01-14 04:17:35 +00:00
dyoung
19dd9ed4a7
Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase
...
in in6_losing().
2008-01-14 04:16:45 +00:00
dyoung
6a0b0c88d2
Use rtcache_lookup() instead of rtcache_lookup() + rtcache_getrt().
2008-01-14 04:14:37 +00:00
dyoung
9e32c93d1d
Use rtcache_validate() instead of rtcache_getrt().
2008-01-14 04:12:40 +00:00
dholland
130a8172b6
ANSIfy. Remove unnecessary casts. Clean up for -Wsign-compare. Make more
...
things file-static. Other minor tidyups, and fix a couple minor bugs found
along the way.
2008-01-14 03:50:01 +00:00