phk
940016a112
remove old CCD module
2003-06-09 21:48:12 +00:00
jhb
dc1245470e
Wait for the real interval timer callout handler to finish executing if it
...
is currently executing when we try to remove it in exit1(). Without this,
it was possible for the callout to bogusly rearm itself and eventually
refire after the process had been free'd resulting in a panic.
PR: kern/51964
Reported by: Jilles Tjoelker <jilles@stack.nl>
Reviewed by: tegge, bde
2003-06-09 21:46:22 +00:00
jhb
734fc8d52e
The issetugid() function is MPSAFE.
2003-06-09 21:34:19 +00:00
scottl
f99b05da88
Track the resource id of the memory port instead of just assuming that
...
it is 0x0. Cardbus-based sio/modem cards can now be ejected without
panic'ing.
2003-06-09 21:25:14 +00:00
phk
5411462454
A white-space nit I noticed.
2003-06-09 19:40:34 +00:00
alc
99e4660fa8
Update the vm object and page locking in exec_map_first_page(). Mark the
...
one still anticipated change with XXX. Otherwise, this function is done.
2003-06-09 19:37:14 +00:00
phk
3bba46e45a
GEOMification of CCD.
...
You need your kernel and ccdconfig(8) to be in sync, particularly if your
source tree is on a ccd device.
2003-06-09 19:25:07 +00:00
alc
00063a54b2
- Add vm object locking to vm_pgmoveco().
...
- Add a comment to vm_pgmoveco() describing what remains to be done
for vm locking.
2003-06-09 19:23:03 +00:00
fjoe
5cbf9aa68d
Merge NetBSD bktr_core.c rev. 1.26:
...
Fix broken programming of VSCALE_HI registers in yuv422_prog().
PR: 46521
Obtained from: NetBSD
MFC after: 3 days
2003-06-09 19:13:38 +00:00
phk
96300d6f8f
Fix error handling for ENOMEM style issues.
2003-06-09 19:12:19 +00:00
fjoe
46b60f7688
Add two more Vendor ID's for Leadtek Winfast TV 2000
...
PR: 47453
Obtained from: NetBSD (partially)
2003-06-09 19:11:01 +00:00
jmallett
2f59062691
Attempt to fix Alpha build by renaming ident[] to kern_ident[].
2003-06-09 18:19:33 +00:00
jhb
ccd243b6da
When we re-route a PCI interrupt, write the new IRQ value into the intline
...
register.
Reviewed by: imp
2003-06-09 18:08:46 +00:00
jhb
ae45522340
- Add a td_pflags field to struct thread for private flags accessed only by
...
curthread. Unlike td_flags, this field does not need any locking.
- Replace the td_inktr and td_inktrace variables with equivalent private
thread flags.
- Move TDF_OLDMASK over to the private flags field so it no longer requires
sched_lock.
2003-06-09 17:38:32 +00:00
hmp
03932d8580
Add a comment to de-obfuscate the meaning of the PQ_CACHESIZE
...
kernel configuration option. This created confusion resulting
into a PR.
PR: docs/45294
Approved by: des (mentor)
Discussed with: bmilekic
2003-06-09 17:09:51 +00:00
jmallett
05e817b7af
Expose kern.ident by way of OID_AUTO.
...
Requested by: phk
2003-06-09 10:54:23 +00:00
jmallett
f315e03eaf
Make kernel identification (`ident' in the config(8) driver) available to
...
userland, and the kernel. In the kernel by way of the 'ident[]' variable
akin to all the other stuff generated by newvers.sh. In userland it is
available to sysctl consumers via KERN_IDENT or 'kern.ident'. It is exported
by uname(1) by the -i flag.
Reviewed by: hackers@
2003-06-09 09:38:20 +00:00
alc
f13256329b
Hold the vm object's lock when performing vm_page_lookup().
2003-06-09 07:01:05 +00:00
alc
fd950733b7
Don't use vm_object_set_flag() to initialize the vm object's flags.
2003-06-09 06:50:02 +00:00
hsu
d5ee1a976b
On a socket creation error, don't close the socket.
2003-06-09 03:44:34 +00:00
jeff
64dd44ce61
- Add a simple CPU load balancing algorithm. This works by executing once a
...
second and equalizing the load between the two most imbalanced CPU. This
is intended to clear up long term load imbalances that would not be handled
by the 'pull' method in sched_choose().
- Pull out some bits of sched_choose() into a kseq_move() function that moves
an arbitrary thread from one kseq to another.
2003-06-09 00:39:09 +00:00
alc
6a3f0ec4b1
- Properly handle the paging_in_progress case on two vm objects in
...
vm_object_deallocate().
- Remove vm_object_pip_sleep().
2003-06-08 23:01:24 +00:00
des
0f6d6f6533
Revert part of rev 1.43. We want to fail gracefully if there is no packet
...
waiting in the interface queue.
Submitted by: Yeasah Pell <yeasah@apocalypse.org>
2003-06-08 18:35:25 +00:00
nyan
0d959a1a25
Don't route PCI irq on pc98.
2003-06-08 11:18:35 +00:00
mbr
dbdacbc9a6
Add ADMtek ADM9511 and ADM9513 device ID's.
...
PR: PR51823
Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
Reviewed by: phk
MFC after: 2 days
2003-06-08 10:11:55 +00:00
charnier
0d5348f9ea
The .Fn function
2003-06-08 09:53:08 +00:00
alc
cc48080643
Lock the vm object when performing vm_page_grab().
2003-06-08 07:14:30 +00:00
nyan
bb19d0fd54
Add help file for pc98.
2003-06-08 03:34:49 +00:00
nyan
0f3c3b73b2
Enable new boot menu.
2003-06-08 03:20:35 +00:00
nyan
a4b26f9df8
Don't load the acpi module.
2003-06-08 03:16:59 +00:00
nyan
daa0f782b2
Set arch-pc98 env to true for pc98.
2003-06-08 03:11:16 +00:00
jmallett
9e0997a080
Note that scbus is required for SCSI, not just "required" in general.
...
Submitted by: Edward Kaplan (tmbg37 on IRC)
Reviewed by: rwatson (in principle)
2003-06-08 02:03:02 +00:00
jeff
e1588d6299
- When a new thread is added to a kseq the load is incremented prior to
...
adding it to the nice tables. Therefore, in kseq_add_nice, we should
keep in mind that the load will be 1 if we are the only thread, and not
0.
- Assert that the sched lock is held in all the appropriate places.
- Increase the scope of the sched lock in sched_pctcpu_update().
- Hold the sched lock in sched_runnable(). It is not held by the caller.
2003-06-08 00:47:33 +00:00
alc
3812b42f43
Lock the kernel object in kmem_alloc().
2003-06-07 23:24:10 +00:00
alc
e448f32b52
Teach vm_page_grab() how to handle the vm object's lock.
2003-06-07 23:22:04 +00:00
obrien
089df92b42
This commit was generated by cvs2svn to compensate for changes in r115990,
...
which included commits to RCS files with non-trunk default branches.
2003-06-07 20:54:30 +00:00
obrien
3d5dc30c69
Vendor import emu10k1.h from version 0.9.4 of the ALSA driver (which
...
includes some needed Audigy support). This can be found at
ftp://ftp.alsa-project.org/pub/driver/alsa-driver-0.9.4.tar.bz2
and http://www.alsa-project.org/alsa/cvs/alsa-kernel/include/emu10k1.h
2003-06-07 20:54:30 +00:00
imp
44feb446a7
MFp4:
...
Migrate some common pccard code into exca.
2003-06-07 20:47:35 +00:00
imp
6fe75065ed
MFP4:
...
Merge some common code from cbb into exca.
2003-06-07 20:46:39 +00:00
alc
c57f179395
Assert that the vm object is locked on entry to swap_pager_freespace().
2003-06-07 20:43:16 +00:00
imp
38a52d3b54
Simplify the power code somewhat (this makes the module about 100
...
bytes smaller).
2003-06-07 20:18:45 +00:00
jake
b5d362bc53
Implement OF_interpret.
...
Obtained from: netbsd
2003-06-07 18:34:04 +00:00
jake
e39ac46db4
- Declare sparc64_memreg and sparc64_nmemreg in machine/ofw_mem.h.
...
- On startup print the total physical memory, instead of what we're told is
free by the firmware, to avoid astonishing users.
2003-06-07 18:29:29 +00:00
jake
2a43cda9e8
BKPT_INST is supposed to be a breakpoint, not 0.
2003-06-07 18:24:37 +00:00
jake
027cd7bb84
Use the same SEARCH_DIR as other platforms.
2003-06-07 18:23:50 +00:00
obrien
1b5ff95b09
Add ${AFLAGS} to 'as' invocation.
2003-06-07 17:42:26 +00:00
phk
8d105bca1c
Improve the root-dev prompt facility for printing devices which could
...
possibly be a root filesystem.
2003-06-07 15:46:53 +00:00
phk
c9fca2ba58
Wait for everything to settle before we try to print the list of
...
geom devices.
2003-06-07 15:32:09 +00:00
phk
01274259b9
Make sure we return an error message if the geom parameter is not
...
located.
2003-06-07 15:31:44 +00:00
sos
2bd32bb6f3
Fix the setup of old Promise controllers, clocks was not setup right
...
causing way too low transfer rates.
Enable interrupts on old CMD64[89] chips, apparently some bogus BIOS's
doesn't get this right.
2003-06-07 15:19:16 +00:00